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
- We onboard you and issue an API key (contact us — see below).
- 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.
Authentication
Every request needs an x-api-key header with the key we issue you. There is no self-serve signup — email us to get set up.
Endpoints
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
This is a server-to-server API for partner businesses — write to us and we'll set you up with a key.
ops@helloflight.in