Webhook For Delete Card

Description

  • Deletion card successful callback
  • After receiving the Webhook message, if you receive HTTP CODE 200, it means you have successfully received the webhook message. Otherwise, it will be retried.

Parameter

Parameter NameTypeDescription
eventTypestringWebhook event type
eventIdstringWebhook event ID
webhookSubscribeIdstringWebhook subscription ID
+dataobjectReturned event object data
  └userIdstringUser ID
  └cardIdstringCard ID
  └reasonstringReason
  └typestringUSER_DELETE/RISK_CONTROL_DELETE
  └refundAmountstringIf the amount is positive, it means deleting the card and returning it to the main account. If the amount is negative, it means the card is overdrawn, and the amount will be automatically corrected from the main account.

Request Example

{
    "eventType":"DELETE_CARD_SUCCESS",
    "eventId":"ev_fad164a369f642a78fe3ac9e8cf81750",
    "webhookSubscribeId":"wsb_8b5a3111d5bc4bbf8cc0",
    "data":{
        "cardId":"c_d66e717c70744c14bc53",
        "userId":"u_0dac12847a7",
        "type": "USER_DELETE",
        "reason": "User Delete",
        "refundAmount": 1200
    }
}