Create a payout
POST
/v1/payouts请求参数
Three-letter ISO currency code, in lowercase.
Conditional required. Amount (in cents) to be transferred to your bank account or debit card.
Source currency, i.e. the currency that the Payer uses to fund the payment
Conditional required. Source amount in source_currency
An arbitrary string attached to the object. Often useful for displaying to users.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
ID of the beneficiary the payout was sent to. Conditional required: one of beneficiary and beneficiary_data are required.
Beneficiary details of the payout are added if there is no existing one. Conditional required: one of beneficiary and beneficiary_data are required.
{
"payment_amount": 124000,
"source_amount": 10000,
"payment_currency": "INR",
"source_currency": "INR",
"beneficiary_data": {
"nickname": "test1",
"destination_data": {
"destination_type": "upi",
"upi": {
"vpa": "8276831583@axl",
"phone_number": "91-8276831583"
}
}
}
}
示例代码
Responses
{
"id": "po_1854715844924276736",
"object": "payout",
"created": 1731033692000,
"livemode": false,
"status": "pending",
"beneficiary_data": {
"id": "bf_1854477747879936000",
"object": "beneficiary",
"created": 1731033691000,
"livemode": false,
"nickname": "test1",
"destination_data": {
"imps": {
"vpa": "8276831583@axl",
"phone_number": "91-8276831583"
},
"destination_type": "upi"
}
},
"payment_amount": 124000,
"payment_currency": "INR",
"source_amount": 124000,
"source_currency": "INR"
}