Payouts
Generated from the OpenAPI document, API version 2026-12-01. Money is always a decimal string with a currency code.
- POST
/v1/payoutsCreate a payout - GET
/v1/payoutsList payouts - GET
/v1/payouts/{id}Retrieve a payout - POST
/v1/payouts/{id}/cancelCancel a queued payout
Create a payout
POST /v1/payouts
- Scope:
payouts:write Idempotency-Keyrequired — use your own id- SDK:
createPayout() - Success: HTTP 201
Body
| Field | Type | Required | Notes |
|---|---|---|---|
merchant_payout_id | string | yes | pattern ^[A-Za-z0-9_.:-]{1,64}$ |
amount | money string | yes | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | yes | one of INR USDT |
method | enum | yes | one of upi bank_transfer usdt_trc20 usdt_bep20 |
destination | object | yes | |
destination.account_number | string | yes | at most 40 characters |
destination.ifsc | string | yes | at most 20 characters |
destination.holder_name | string | yes | at most 100 characters |
destination (form 1).account_number | string | yes | at most 40 characters |
destination (form 1).ifsc | string | yes | at most 20 characters |
destination (form 1).holder_name | string | yes | at most 100 characters |
destination (form 2).vpa | string | yes | at most 100 characters |
destination (form 2).holder_name | string | yes | at most 100 characters |
destination (form 3).address | string | yes | at most 64 characters |
customer | object | ||
customer.ref | string | yes | pattern ^[A-Za-z0-9_.:-]{1,64}$ |
risk_hints | object | ||
risk_hints.customer_age_days | integer | min 0; max 36500 | |
risk_hints.lifetime_deposits | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" | |
risk_hints.lifetime_withdrawals | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" | |
risk_hints.kyc_level | integer | min 0; max 3 | |
risk_hints.flags | array of string | at most 10 items | |
metadata | map | default {} |
Example
const result = await nicepay.createPayout({
"merchant_payout_id": "merchant-payout-id-1",
"amount": "10000.00",
"currency": "INR",
"method": "upi",
"destination": {
"account_number": "account_number",
"ifsc": "ifsc",
"holder_name": "holder_name"
}
}, { idempotencyKey: "your-own-id" });$result = $nicepay->createPayout([
'merchant_payout_id' => 'merchant-payout-id-1',
'amount' => '10000.00',
'currency' => 'INR',
'method' => 'upi',
'destination' => [
'account_number' => 'account_number',
'ifsc' => 'ifsc',
'holder_name' => 'holder_name',
],
], ['idempotency_key' => 'your-own-id']);Response — the Payout object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "payout" | |
livemode | boolean | |
merchant_payout_id | string | |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | one of INR USDT |
status | enum | one of queued processing sent succeeded failed cancelled reversed |
under_review | boolean | |
method | enum | one of upi bank_transfer usdt_trc20 usdt_bep20 |
destination | object | |
destination.masked | string | |
reference | string | null | |
customer | object | |
customer.ref | string | null | |
created_at | timestamp | |
completed_at | timestamp or null | may be null |
metadata | map |
Example response
{
"id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "payout",
"livemode": true,
"merchant_payout_id": "merchant_payout_id",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"status": "queued",
"under_review": true,
"method": "upi",
"destination": {
"masked": "masked"
},
"reference": "reference",
"customer": {
"ref": "ref"
},
"created_at": "2026-11-23T10:00:00.000Z",
"completed_at": "2026-11-23T10:00:00.000Z",
"metadata": {}
}List payouts
GET /v1/payouts
- Scope:
payouts:read - SDK:
listPayouts() - Success: HTTP 200
Query
| Field | Type | Notes |
|---|---|---|
limit | integer | min 1; max 100; default 20 |
starting_after | string | at most 40 characters |
ending_before | string | at most 40 characters |
merchant_payout_id | string | pattern ^[A-Za-z0-9_.:-]{1,64}$ |
status | enum | one of queued processing sent succeeded failed cancelled reversed |
Example
const result = await nicepay.listPayouts();$result = $nicepay->listPayouts();Response — a list of Payout objects
| Field | Type | Notes |
|---|---|---|
object | "list" | |
data | array of object | |
data[].id | string | |
data[].object | "payout" | |
data[].livemode | boolean | |
data[].merchant_payout_id | string | |
data[].amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
data[].currency | enum | one of INR USDT |
data[].status | enum | one of queued processing sent succeeded failed cancelled reversed |
data[].under_review | boolean | |
data[].method | enum | one of upi bank_transfer usdt_trc20 usdt_bep20 |
data[].destination | object | |
data[].destination.masked | string | |
data[].reference | string | null | |
data[].customer | object | |
data[].customer.ref | string | null | |
data[].created_at | timestamp | |
data[].completed_at | timestamp or null | may be null |
data[].metadata | map | |
has_more | boolean |
Example response
{
"object": "list",
"data": [
{
"id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "payout",
"livemode": true,
"merchant_payout_id": "merchant_payout_id",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"status": "queued",
"under_review": true,
"method": "upi",
"destination": {
"masked": "masked"
},
"reference": "reference",
"customer": {
"ref": "ref"
},
"created_at": "2026-11-23T10:00:00.000Z",
"completed_at": "2026-11-23T10:00:00.000Z",
"metadata": {}
}
],
"has_more": true
}Retrieve a payout
GET /v1/payouts/{id}
- Scope:
payouts:read - SDK:
getPayout() - Success: HTTP 200
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Example
const result = await nicepay.getPayout("<id>");$result = $nicepay->getPayout('<id>');Response — the Payout object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "payout" | |
livemode | boolean | |
merchant_payout_id | string | |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | one of INR USDT |
status | enum | one of queued processing sent succeeded failed cancelled reversed |
under_review | boolean | |
method | enum | one of upi bank_transfer usdt_trc20 usdt_bep20 |
destination | object | |
destination.masked | string | |
reference | string | null | |
customer | object | |
customer.ref | string | null | |
created_at | timestamp | |
completed_at | timestamp or null | may be null |
metadata | map |
Example response
{
"id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "payout",
"livemode": true,
"merchant_payout_id": "merchant_payout_id",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"status": "queued",
"under_review": true,
"method": "upi",
"destination": {
"masked": "masked"
},
"reference": "reference",
"customer": {
"ref": "ref"
},
"created_at": "2026-11-23T10:00:00.000Z",
"completed_at": "2026-11-23T10:00:00.000Z",
"metadata": {}
}Cancel a queued payout
POST /v1/payouts/{id}/cancel
- Scope:
payouts:write - SDK:
cancelPayout() - Success: HTTP 200
Path
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Example
const result = await nicepay.cancelPayout("<id>");$result = $nicepay->cancelPayout('<id>');Response — the Payout object
| Field | Type | Notes |
|---|---|---|
id | string | |
object | "payout" | |
livemode | boolean | |
merchant_payout_id | string | |
amount | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
fee | money string | decimal string with its currency's decimal places (INR 2, USDT 6), e.g. "10000.00" |
currency | enum | one of INR USDT |
status | enum | one of queued processing sent succeeded failed cancelled reversed |
under_review | boolean | |
method | enum | one of upi bank_transfer usdt_trc20 usdt_bep20 |
destination | object | |
destination.masked | string | |
reference | string | null | |
customer | object | |
customer.ref | string | null | |
created_at | timestamp | |
completed_at | timestamp or null | may be null |
metadata | map |
Example response
{
"id": "po_01JD3QH2Y8ZKX4M9T6V0R1B2C3",
"object": "payout",
"livemode": true,
"merchant_payout_id": "merchant_payout_id",
"amount": "10000.00",
"fee": "10000.00",
"currency": "INR",
"status": "queued",
"under_review": true,
"method": "upi",
"destination": {
"masked": "masked"
},
"reference": "reference",
"customer": {
"ref": "ref"
},
"created_at": "2026-11-23T10:00:00.000Z",
"completed_at": "2026-11-23T10:00:00.000Z",
"metadata": {}
}