Skip to content

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.

01

The same transaction model

Payouts use POST /v1/txns with PAYOUT as the service.

02

Maker-checker

Approvals stay in place, whether payouts come from the console or the API.

03

Idempotent

A retry with the same key never pays anyone twice.

04

Status per payout

Every payout followed until it settles or returns.

05

Returns credited

Failed payouts return to your balance automatically.

06

Audit trail

Who created, approved and released every payout.

How it works

Integrate in four calls.

  1. 01

    Sign in

    POST/v1/auth/login returns a bearer token.

  2. 02

    Quote

    GET/v1/pricing/quote with service PAYOUT and the amount.

  3. 03

    Create

    POST/v1/txns with service PAYOUT, an Idempotency-Key and X-TPIN.

  4. 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.

  1. PROCESSING

    Validated, priced and the wallet debited in one step, then sent to the operator or bank.

  2. PENDING

    Waiting on the other side. The platform keeps asking until there is a final answer.

  3. SUCCESS

    Confirmed. Commission is recorded against the payment.

  4. 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"
}
  1. 10:42:07.114PROCESSINGwallet debited, sent
  2. 10:42:07.902PENDINGawaiting confirmation
  3. 10:42:09.021SUCCESSconfirmed, commission recorded

FAQ

Questions, answered.

Bulk payouts with maker-checker, by API.

What 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.

Automate payouts safely.

Tell us about your payout volumes.