Overviewβ
Withdraw funds from your card account.
Payoutβ
- Resquest
cURL -X POST /card-api/v1/payouts/create
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"amount": 0.1,
"currency": "USD",
"program_value": 2,
"account_id": "1016X10034796020144"
}'
| Parameter | Type | Length | Required | Description | Example |
|---|---|---|---|---|---|
amount | string | 1-11 | Required | Withdrawal amount | 0.1 |
currency | string | 3 | Required | Currency | USD |
program_value | int | 1-10 | Required | Account card type | 2 |
account_id | string | 0-20 | Optional | The unique identifier of the merchant account. Funds will be credited to the specified account_id.
| 1016X10034796020144 |
- Response
{
"code": "200",
"msg": "Success",
"trace_id": "9028b56cbc3d4512a3a7bc572338b251",
"data": {
"batch_no": "103955",
"account_id": "1016X10034767280883"
}
}
| Parameter | Description |
|---|---|
batch_no | Use the batch number to query the payout record |
account_id | The unique identifier of the merchant account |