Webhook notification that will be sent to your defined webhook url for updates to refund status.
Your Xendit unique webhook token to verify the origin of the webhook. It is highly recommended for your integration to verify this value.
Refund status callback
{
"refundSucceeded": {
"value": {
"event": "refund.succeeded",
"business_id": "6094fa76c2fd53701b8e079c",
"created": "2021-12-02T14:52:21.566Z",
"data": {
"event": "refund.succeeded",
"business_id": "5f27a14a9bf05c73dd040bc8",
"created": "2020-08-29T09:12:33.001Z",
"data": {
"id": "rfd-6f4a377d-a201-437f-9119-f8b00cbbe857",
"payment_id": "ddpy-3cd658ae-25b9-4659-aa36-596ae41a809f",
"invoice_id": null,
"amount": 10000,
"payment_method_type": "DIRECT_DEBIT",
"channel_code": "BPI",
"currency": "PHP",
"status": "SUCCEEDED",
"reason": "CANCELLATION",
"reference_id": "b2756a1e-e6cd-4352-9a68-0483aa2b6a2",
"failure_code": null,
"refund_fee_amount": null,
"created": "2020-08-30T09:12:33.001Z",
"updated": "2020-08-30T09:12:33.001Z",
"metadata": null
}
}
}
},
"refundFailed": {
"value": {
"event": "refund.failed",
"business_id": "6094fa76c2fd53701b8e079c",
"created": "2021-12-02T14:52:21.566Z",
"data": {
"event": "refund.failed",
"business_id": "5f27a14a9bf05c73dd040bc8",
"created": "2020-08-29T09:12:33.001Z",
"data": {
"id": "rfd-fca8d8bc-497c-42a5-b16f-97825323502a",
"payment_id": "ddpy-3cd658ae-25b9-4659-aa36-596ae41a809f",
"invoice_id": null,
"amount": 10000,
"payment_method_type": "DIRECT_DEBIT",
"channel_code": "BPI",
"currency": "PHP",
"status": "FAILED",
"reason": "CANCELLATION",
"reference_id": "b2756a1e-e6cd-4352-9a68-0483aa2b6a2",
"failure_code": "DUPLICATE_ERROR",
"refund_fee_amount": null,
"created": "2020-08-30T09:12:33.001Z",
"updated": "2020-08-30T09:12:33.001Z",
"metadata": null
}
}
}
}
}
Refund status callback for refund
Webhook event names for payment capture status updates.
Xendit-generated identifier for the business that owns the transaction
Timestamp of webhook delivery attempt in ISO 8601 date-time format.
Refund object
Xendit unique Refund ID generated as reference after creation of refund.
Xendit unique Payment Request ID generated as reference after creation of payment request.
To be deprecated. Xendit unique Payment ID generated as reference for a payment.
To be deprecated. Xendit unique Invoice ID generated as reference after creation of an invoice or payment link.
To be deprecated. Type of the payment method used in the original payment.'
A Reference ID from merchants to identify their request.
Channel code used to select the payment method provider. Use routing payment channels mapping for full list of channel codes.
ISO 4217 three-letter currency code for the payment.
The intended payment amount to be refunded to the end user.
Status of the refund.
Status of the refund.
Reasons of the refund failure.
Fee for processing the refund
Key-value entries for your custom data. You can specify up to 50 keys, with key names up to 40 characters and values up to 500 characters. This is for your convenience. Xendit will not use this data for any processing.
ISO 8601 date-time format.
ISO 8601 date-time format.
OK