Partner API
Resell Helloflight's Study products — DGCA CPL/ATPL subject passes, bundles, and exam credits — on your own site. Our price per item never changes; you set your own markup and keep it.
How it works
- You sign up below and confirm your email — your API key is issued instantly.
- You top up a prepaid wallet with us, once, via a normal payment.
- Your customer pays you directly, on your own site, at whatever price you choose.
- You call our API to grant them the product — we debit your wallet by our unchanged base price only.
- Your customer signs in at helloflight.in with the email you provided to read their content.
Base URL
The API is served from its own host, not from this website. Every path listed below is relative to:
https://api.helloflight.inCalling these paths on www.helloflight.in returns a 404. That host serves the website; it does not serve the API.
Authentication
Every request needs an x-api-key header with the key issued to you when you sign up below.
curl -H "x-api-key: YOUR_API_KEY" https://api.helloflight.in/api/partner/study/productsEndpoints
GET /api/partner/study/products
List active products with their price and your configured markup (informational — we never charge your marked-up price).
PUT /api/partner/study/products/:slug/markup
Set your suggested markup percentage for a product.
GET /api/partner/study/wallet
Check your current balance and recent ledger activity.
POST /api/partner/study/topups
Start a wallet top-up — returns a Razorpay order to pay into.
POST /api/partner/study/grants
Grant a product to a customer by email. Body: productSlug, customerEmail, idempotencyKey. Debits your wallet the unchanged base price.
GET /api/partner/study/grants
Your own grant history, paginated.
Get access
Sign up below and confirm your email — your API key is issued automatically, no waiting on us.
Questions first? Write to chiefpilot@helloflight.in.