API integration
Quick start, authentication, requests, webhooks and error codes for our APIs.
- API quick start: how do I make my first API call?Go from a new account to your first successful API response: create keys, whitelist your IP, add test balance and send a request.
- Which authentication headers do I send with API requests?Every API request must carry your API key in the right header, over HTTPS, from a whitelisted IP. This article explains each header and common mistakes.
- What is the difference between test and live API keys?Test keys let you build and test without moving real money; live keys process real transactions. Learn how each works and how to switch safely.
- How does IP whitelisting work for API access?Only whitelisted server IPs can call our APIs. Adding an IP also allows it through our network firewall automatically. Here is how to manage your list.
- How do I add money to my API wallet and check the balance?API transactions are paid from your prepaid wallet. Learn how to top up, check your balance by API, set low-balance alerts and read your wallet statement.
- Mobile recharge API: what does a request look like?A worked example of a prepaid mobile recharge through our API, including operator lookup, the request, possible responses and how to handle each one.
- BBPS API: how do I fetch and pay a bill?Bharat BillPay payments usually take two calls: fetch the bill, then pay it. This guide explains billers, customer parameters, the fetch and pay requests and receipts.
- KYC verification API: what does a request look like?Examples of PAN, bank account and UPI ID verification requests, how to read the results, and the consent and data-handling rules to follow.
- How do I send OTPs with the OTP SMS API?Send one-time passwords by SMS for logins and confirmations. Learn about sender IDs and templates, a sample request, OTP security and delivery tips.
- How does the payout API work?Send money to bank accounts and UPI IDs from your wallet. This guide covers beneficiary checks, a sample payout request, status handling and safety controls.
- How do webhooks work and how do I verify the signature?Webhooks tell your system when a transaction reaches its final status. Learn how to set up your endpoint, verify the signature and process events safely.
- How do I check the status of a transaction?Use the status check API to confirm the final result of a recharge, bill payment or payout, especially after a timeout or a missing webhook.
- What do API error codes mean and how should I handle them?Understand HTTP status codes and error codes returned by our APIs, which errors are safe to retry, and how to show helpful messages to your customers.
- Why is my transaction pending and what should I do?Pending means the operator, biller or bank has not confirmed yet. Learn why it happens, how long to wait, how to inform customers and when to contact us.
- What are the API rate limits and best practices?Rate limits keep the API fast and fair for everyone. Learn how they work, how to respond to a 429 error and the integration habits that keep your service reliable.