Payouts API (UPI / IMPS / NEFT)
Sends money to a bank account or UPI ID from your funded payout account and returns a payout ID, then the status and UTR by webhook.
- Source
- Licensed partner banks over NPCI IMPS and UPI, and RBI NEFT and RTGS
- Turnaround
- IMPS and UPI usually within seconds; NEFT in batches; RTGS during RTGS hours
- Endpoint
- POST /v1/payouts/transfer
- Who can use it
- Registered businesses that complete the partner bank's onboarding and KYC.
Overview
Once you've verified who you're paying, pay them from the same platform. The Payouts API sends money to a bank account or UPI ID from a funded account with our partner bank. You get a payout ID straight away, a webhook when it succeeds or fails, and the UTR for your reconciliation. A reference ID on every request stops the same payout going out twice.
Good to know
A payout only goes where you send it. Verify the account or UPI ID first, because recovering money from the wrong account is slow and not guaranteed.
What you get
- All the usual railsIMPS for instant transfers, NEFT and RTGS for larger amounts, UPI for gig and consumer payouts.
- No double paymentsYour reference_id is an idempotency key. Retrying a timed-out request won't send the money again.
- UTR on every successThe bank reference comes back by webhook, ready for your ledger.
- Clear failure reasonsClosed account, invalid IFSC, beneficiary bank down and similar reasons are returned in plain terms.
Request
POST https://api.ampletrails.com/v1/payouts/transfer
| Field | Type | Status | Description |
|---|---|---|---|
amount | number | Required | Amount in ₹ |
mode | string | Required | upi, imps, neft or rtgs |
account_number | string | Optional | Beneficiary account number (bank modes) |
ifsc | string | Optional | Beneficiary IFSC (bank modes) |
vpa | string | Optional | Beneficiary UPI ID (UPI mode) |
name | string | Required | Beneficiary name |
reference_id | string | Required | Your unique ID for this payout (idempotency key) |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
payout_id | Payout identifier | po_71c3aa |
status | queued, processing, success, failed or reversed | processing |
utr | Bank reference number once processed | null |
mode | Rail used | imps |
failure_reason | Reason if the payout failed | null |
Example
curl -X POST https://api.ampletrails.com/v1/payouts/transfer \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 2500, "mode": "imps", "account_number": "123456789012", "ifsc": "HDFC0001234", "vpa": "ravi@okbank", "name": "Ravi Kumar", "reference_id": "PO-2026-000981"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/payouts/transfer",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"amount": 2500,
"mode": "imps",
"account_number": "123456789012",
"ifsc": "HDFC0001234",
"vpa": "ravi@okbank",
"name": "Ravi Kumar",
"reference_id": "PO-2026-000981"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/payouts/transfer", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"amount": 2500,
"mode": "imps",
"account_number": "123456789012",
"ifsc": "HDFC0001234",
"vpa": "ravi@okbank",
"name": "Ravi Kumar",
"reference_id": "PO-2026-000981"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/payouts/transfer");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["amount" => 2500, "mode" => "imps", "account_number" => "123456789012", "ifsc" => "HDFC0001234", "vpa" => "ravi@okbank", "name" => "Ravi Kumar", "reference_id" => "PO-2026-000981"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"payout_id": "po_71c3aa",
"status": "processing",
"utr": null,
"mode": "imps",
"failure_reason": null
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Gig and partner payouts
Pay delivery partners, drivers and agents daily or weekly.
Loan disbursal
Disburse straight to the verified borrower account at the end of your journey.
Refunds and claims
Send refunds and insurance claim payments without manual bank uploads.
Questions about this API
Who actually moves the money?
Payouts run through licensed banking partners. Your funds sit in an account with the partner bank, and AmpleTrails provides the API and the dashboard on top.
How do we fund payouts?
You top up a payout account by bank transfer. Payouts are made from that balance.
What happens if a payout fails after success?
It occasionally happens, for example when the beneficiary bank reverses a credit. You get a reversed status by webhook and the money comes back to your balance.
Are there per-transaction limits?
IMPS and UPI have per-transaction limits set by NPCI and the banks. For larger amounts use NEFT or RTGS.
Try the Payouts API (UPI / IMPS / NEFT) API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.