To compare gift card APIs in India, put every provider through the same questions and the same test. Compare four things: the catalogue and its discount, how orders and failures are handled, how you pay and settle, and how the API behaves when you test it.
It covers the API itself. For the wider questions about a provider, such as support for your users, security, the contract and leaving, use how to choose a rewards provider.
What to compare
Four areas separate one gift card API from another.
| Area | The question | How to check it |
|---|---|---|
| Catalogue | Are the brands your users want live, with the amounts and terms you need? | Pull the full catalogue in staging and filter it |
| Discount | What do you earn on each brand, and how do you hear when it changes? | Written rates for your top brands, and the change notice |
| Orders and failures | What happens when an order fails, stalls or times out? | Place those orders in staging |
| Settlement and credit | How are orders paid for, and what does finance get? | A sample statement and reconciliation report |
Catalogue size and discount
A catalogue’s size matters less than whether it holds your users’ brands on usable terms. Ask for the brands live today, not the total ever listed, and check each brand you care about for:
- Status. Active, or paused so that no card can be issued.
- Amounts. A fixed list, or any amount within a range.
- Limits. The smallest and largest order, and the most cards per order.
- Where it works. Online, in store or both, with how to redeem and the full terms in the data, so your screens can show them.
- Validity. How long a card lasts once issued.
Then ask how the catalogue stays current. A full list you can refresh every day, plus a webhook when a brand pauses or changes its amounts, keeps users from ordering cards that cannot be issued. Ask too which changes the webhook does not cover, such as new brands or categories.
Discount is the other half. Gift card discounts differ by brand and change over time, so compare rates for the brands that make up most of your expected orders, not an average. Ask three things: is the rate fixed in the contract or variable, how will you hear of a change, and is it taken off each order or paid back later. Some APIs keep discounts out of the API entirely, because they are set by your agreement, and send a webhook when one changes.
How orders and failures are handled
This is where a weak API turns into support tickets. Ask for each of these in writing, then test them.
- Order outcomes. Does an order return a clear status, such as success, failed or processing, with a reason on failure?
- Money on failure. Is a failed order’s charge reversed on its own, and how soon?
- Repeat orders. Do you send your own reference number with each order, and does the API keep one order per reference?
- Timeouts. If your call times out, can you look the order up by your reference to see if it was created?
- Slow orders. When a card takes longer to issue, how do you hear it has finished, and after how long should you treat it as failed?
- Webhooks. Are they signed so you can verify them? Are failed deliveries retried, how many times, and can a missed one be replayed?
- Error codes. Does each error have a stable code you can act on, and does the documentation say which errors are safe to retry?
- Limits. What caps apply to order value and count, per hour, day or month, and do you hit them as an HTTP error or as a failure reason in the response?
Settlement and credit
How you pay for orders decides how much cash you lock up and how finance books every card. Providers differ, so ask each one:
- Prepaid, invoice or credit. Do you load a balance before ordering, pay invoices after, or get a credit limit? If credit, on what terms and from when?
- Full value or net. Is each order debited at the card’s full value, or after your discount? If full, how does the discount come back to you?
- Top-ups. How do you add money, how quickly does it show, and can it be done outside office hours before a campaign?
- Low balance. Is there an alert before the balance runs out, and what threshold can you set?
- Reconciliation. What report do you get, how often, and does every line carry your reference number?
- Invoices. Which documents come with each order or top-up, for your finance team’s GST records? For the tax side, see GST and tax on corporate gifting and ask your own adviser.
A comparison sheet you can copy
Copy this table into a spreadsheet, send the questions to every provider, and fill in one column each. Mark answers you have tested yourself.
| Question | Provider A | Provider B | Provider C |
|---|---|---|---|
| Brands live today (from the catalogue, not the slide) | |||
| Your top 20 brands: how many are live | |||
| Brands with a flexible amount | |||
| Redeem instructions and terms in the data | |||
| Catalogue change webhook, and what it covers | |||
| Discount on your top brands, fixed or variable | |||
| How a discount change is announced | |||
| Order statuses returned | |||
| Failed order: charge reversed on its own | |||
| One order per reference number | |||
| Look up an order by your reference | |||
| Slow order: notice when done, and time limit | |||
| Webhooks signed, and retries on failure | |||
| Stable error codes, with retry guidance | |||
| Order limits, and how to raise them | |||
| Prepaid, invoice or credit | |||
| Debited at full value or net of discount | |||
| How to top up, and how fast | |||
| Low balance alert | |||
| Reconciliation report, and how often | |||
| Staging environment with test brands for each outcome | |||
| Code delivery by SMS, WhatsApp or email, and its cost | |||
| Public version history for API changes |
How to test one in a day
You can test the parts of a gift card API that matter in one working day, in its staging environment. Ask the provider in advance for staging keys, a test balance, and which brands or amounts are set to fail or stall.
Morning: connect and read the catalogue
- Sign in with the staging keys and confirm the token’s expiry.
- Pull the full catalogue. Count the active brands and check your top brands’ amounts, limits and terms.
- Place one successful order. Note how long it takes and what the response carries.
Midday: break it on purpose
- Place an order on a brand set to fail. Check the reason, and that the test balance is restored.
- Place an order on a brand set to stall. Check the processing status and when it finishes.
- Send the same reference number twice. The second call should not create a second order.
- Cut your connection mid-order, then look the order up by its reference.
- Send an amount outside a brand’s limits, and an order larger than your balance. Note the error codes.
Afternoon: notices and money
- Point the webhooks at a test endpoint. Verify the signature on each, and return an error once to see the retry.
- Run the balance down and check for the low-balance notice.
- Ask for the day’s reconciliation report and match it against your own log of the orders you placed.
End of day: fill in the sheet
Mark which answers you tested and which you were told. Repeat the day for each provider and compare columns.
If Hubble’s API is on your list, staging keys come from its integration portal and the API docs name the test brands for each outcome. For what a rewards API does in the first place, see what a rewards API is. To ask us anything on the sheet, get in touch.