Payout API
Automate payouts. Keep every control.
Create payouts from your own systems while keeping maker-checker approval, a full audit trail and a status for every payout.
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":"PAYOUT","amount_paise":250000,"params":{ … }}'Response201 Created
{
"id": "b3f1c2e4-7a9d-4c1e-9f27-5d8e0a6c4b21",
"txn_no": 104921,
"service": "PAYOUT",
"amount_paise": 250000,
"fee_paise": 0,
"state": "SUCCESS",
"created_at": "2026-09-30T10:42:07+05:30"
}Payout API
What the API gives you.
The same transaction model
Payouts use POST /v1/txns with PAYOUT as the service.
Maker-checker
Approvals stay in place, whether payouts come from the console or the API.
Idempotent
A retry with the same key never pays anyone twice.
Status per payout
Every payout followed until it settles or returns.
Returns credited
Failed payouts return to your balance automatically.
Audit trail
Who created, approved and released every payout.
How it works
Integrate in four calls.
- 01
Sign in
POST/v1/auth/login returns a bearer token.
- 02
Quote
GET/v1/pricing/quote with service PAYOUT and the amount.
- 03
Create
POST/v1/txns with service PAYOUT, an Idempotency-Key and X-TPIN.
- 04
Track
GET/v1/txns/{id} until the payout settles or returns.
Request shape
The life of a transaction.
Beneficiary parameters are shared with approved partners during onboarding. Every payout uses the common transaction format below.
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.
Response
GET https://api.bonpay.in/v1/txns/b3f1c2e4-7a9d-4c1e-9f27-5d8e0a6c4b21
{
"id": "b3f1c2e4-7a9d-4c1e-9f27-5d8e0a6c4b21",
"txn_no": 104921,
"service": "PAYOUT",
"amount_paise": 250000,
"state": "SUCCESS",
"error_code": null,
"updated_at": "2026-09-30T10:42:09+05:30"
}- 10:42:07.114PROCESSINGwallet debited, sent
- 10:42:07.902PENDINGawaiting confirmation
- 10:42:09.021SUCCESSconfirmed, commission recorded
Developers
APIs by service
Pay vendors, agents and customers in bulk.
PayoutsWhat is a payout API?
An API that lets your systems send money to vendors, agents, partners or customers automatically, instead of making transfers by hand.
Do approvals still apply to API payouts?
Yes. Maker-checker controls and the audit trail apply to payouts created through the API.
How do I avoid paying someone twice?
Send a unique Idempotency-Key with every payout. Retrying with the same key returns the original payout.
How do I get access?
The API is available to approved partners. Contact us with your use case.
