Developers
Payments you can build on.
A clean, predictable REST API for prices, payments, status and balances. Every request is authenticated, every amount is in paise and every payment happens exactly once.
curl -X POST https://api.bonpay.in/v1/txns \
-H "Authorization: Bearer $TOKEN" \
-H "Idempotency-Key: order-10492" \
-H "X-TPIN: $TPIN" \
-H "Content-Type: application/json" \
-d '{"service":"RECHARGE","amount_paise":29900,"params":{"mobile":"9876543210","operator":"JIO"}}'Response201 Created
{
"id": "b3f1c2e4-7a9d-4c1e-9f27-5d8e0a6c4b21",
"txn_no": 104921,
"service": "RECHARGE",
"amount_paise": 29900,
"fee_paise": 0,
"state": "SUCCESS",
"created_at": "2026-09-30T10:42:07+05:30"
}Developers
The guarantees our own apps rely on.
Exactly once
Every payment carries an Idempotency-Key. Repeat a request and you get the original back, never a second charge.
Always a final answer
Pending payments are polled and reconciled until they succeed or fail. Failures return the money to the wallet.
Priced before you pay
Ask for a quote first: amount, fee, GST on the fee and total, exactly as they will be charged.
Integer money
All amounts are integer paise, end to end. No floating-point rounding, ever.
API
Try the API.
Real endpoints and response shapes. Change the values and see the request your code would send.
/v1/txnscurl -X POST "https://api.bonpay.in/v1/txns" \
-H "Authorization: Bearer $BONPAY_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-10492" \
-H "X-TPIN: ••••" \
-d '{"service":"RECHARGE","amount_paise":29900,"params":{"mobile":"9876543210","operator":"JIO"}}'// The response will appear hereSending the same Idempotency-Key again returns the original payment (200), never a second charge. Sample data; no real request is sent.
How it works
The life of a transaction.
Every payment moves through the same states, whichever service it belongs to.
- PROCESSING
Validated, priced and the wallet debited in one step, then sent to the operator or bank.
- PENDING
Waiting on the other side. The platform keeps asking until there is a final answer.
- SUCCESS
Confirmed. Commission is recorded against the payment.
- FAILED → REVERSED
Declined. The full amount returns to the wallet, and both entries are on the statement.
Developers
APIs by service
Recharge API
Jio, Airtel, Vi and BSNL through one endpoint.
View the APIBBPS bill payment API
Bills through BBPS, on the same transaction model.
View the APIMoney transfer API
Domestic transfers with checks and live status.
View the APIPayout API
Bulk payouts with maker-checker, by API.
View the APIFAQ
Questions, answered.
A clean, predictable REST API for prices, payments, status and balances. Every request is authenticated, every amount is in paise and every payment happens exactly once.
How do I get API access?
The API is available to approved partners. Tell us about your use case and we will set up your account and credentials.
How do I authenticate?
Sign in to receive a bearer token and send it with every request. Payments also need your transaction PIN in the X-TPIN header.
What if my request times out?
Send the same request again with the same Idempotency-Key. You will receive the original payment, never a second one.
Which services can I use through the API?
Every service uses the same transaction endpoint. Services are enabled per partner account, and your account manager confirms which ones are active for you.
How are amounts represented?
As integers in paise. ₹299 is sent as 29900. There are no decimals anywhere in the API.
Ready to integrate?
Tell us what you are building and we will set up your API access.
