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 Name | Type | Description |
---|---|---|
eventType | string | Webhook event type |
eventId | string | Webhook event ID |
webhookSubscribeId | string | Webhook subscription ID |
+data | object | Returned event object data |
└userId | string | User ID |
└cardId | string | Card ID |
└reason | string | Reason |
└type | string | USER_DELETE/RISK_CONTROL_DELETE |
└refundAmount | string | If 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
}
}
Updated 4 months ago