Payment Refund Notification
Notifies the partner when a payment order changes status and provides the settlement, fee, refund, and error details required for reconciliation.
Notifies the partner when funds are returned for a payment order.
Notification delivery
Pagsmile sends an HTTP POST request to your configured webhook URL.
Content-Type: application/json; charset=UTF-8
The notification uses the Webhook Common envelope. The fields below describe the decrypted biz_data object.
Webhook notify_type: 211.
Notification body
The following fields describe the decrypted biz_data object.
merchant_id
long
M
Pagsmile-assigned unique identifier of the merchant.
payment_id
long
M
Pagsmile-assigned unique identifier of the original payment order.
payment_amount
string
M
Original payment amount, expressed in payment_currency.
payment_currency
string
M
Three-letter ISO 4217 code of the original payment order currency.
refund_transaction_id
long
M
Pagsmile-assigned unique identifier of the accounting transaction created for the payment refund.
refund_amount
string
M
Amount returned for the payment, expressed in refund_currency.
refund_currency
string
M
Three-letter ISO 4217 code of the refund currency.
return_fee
string
O
Fee returned as part of the payment refund, expressed in refund_currency.
refunded_at
string
M
Date and time when the payment refund was completed. Format: yyyy-MM-dd HH:mm:ss.
refund_reason
string
O
Reason provided for the payment refund.
Plaintext biz_data example
Acknowledgement
Return any HTTP 2xx status code after the notification is safely recorded. Process repeated notifications idempotently using the webhook request_id. For delivery, retries, and signature handling, refer to Webhook Common.
Last updated