API For Deleting Card

Description

Delete Card

🚧

Deleting a card is an asynchronous operation. Success returned by this interface only indicates the successful receipt of the request; the actual deletion result depends on the Webhook For Delete Card

Request URL

/open/api/card/cancel

Request Method

POST

Request Parameter

ParameterMandatoryTypeDescription
cardIdYstringVirtual Card ID
orderNoYstringCustom customer transaction flow ID
callbackUrlYstringDeletion card successful callback address

Request Example

{
    "cardId": "c_xxxxxxxxxxx",
    "orderNo": "99999",
    "callbackUrl": "https://jksds.com/callback"

}

Response Parameter

ParameterTypeDescription
modelbooleanIs the operation successful

Response Example

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