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

ParameterMandatoryTypeDescription
cardIdYstringVirtual Card ID
amountYstringWithdrawal amount, 1000 represents $10.00. At least 1 USD must be retained in the card
orderNoYstringCustom customer transaction flow ID

Request Example

{
    "cardId": "c_xxxxxxxxxx",
    "amount": "1000",
    "orderNo": "1000"
}

Response Parameter

ParameterTypeDescription
modelbooleanIs the operation successful

Response Example

{
    "success": true,
    "error":false,
    "msg": "success",
    "code": 0,
    "model": true,
    "traceId": 1646651934238
}