API For Card Withdrawal
Description
The API supports transferring the remaining balance from the user’s account back to the merchant’s account, and the merchant handles the withdrawal to the user.
Request URL
/open/api/card/withdraw/refund
Request Method
POST
Request Parameter
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| cardId | Y | string | Virtual Card ID |
| amount | Y | string | Withdrawal amount, 1000 represents $10.00. At least 1 USD must be retained in the card |
| orderNo | Y | string | Custom customer transaction flow ID |
Request Example
{
"cardId": "c_xxxxxxxxxx",
"amount": "1000",
"orderNo": "1000"
}Response Parameter
| Parameter | Type | Description |
|---|---|---|
| model | boolean | Is the operation successful |
Response Example
{
"success": true,
"error":false,
"msg": "success",
"code": 0,
"model": true,
"traceId": 1646651934238
}Updated 14 days ago