Apace will notify the merchant after we sent a successful refund
When the customer successfully receives the refund, Apace will notify the merchant via POST to the endpoint specified by the merchant.
To avoid duplicate orders, you should set up your server to process this data, and update your database to reflect that Apace refunded this order.
The webhook body will look like this
{
"refund_success":true,
"refund_id":"68582147-8230-4470-939a-877b111e9bae",
"date_created":"2022-06-02T21:35:51.758Z",
"datetime_refund_sent":"2022-06-02T21:38:42.013Z",
"apace_refund_link":"https://merchant.apacepayments.com/app/refund/68582147-8230-4470-939a-877b111e9bae",
"order_id":"5448-556544-5425",
"item_ids":["123456"],
"refund_card":"**** **** ***** 7001",
"network":"VISA",
"network_transaction_id":"zfu7mmygw0-0079-vk2jfiggh66stqu2w80rukqu"
}
Attribute | Type | Description |
---|---|---|
refund_success | bool | The refund status |
refund_id | string | The unique identifier of the refund |
date_created | datetime | The date and time the refund offer was created |
datetime_refund_sent | datetime | The date and time the refund was sent by Apace |
apace_refund_link | string | The unique link to the Apace merchant portal to access a full overview of the refund |
order_id | string | The merchant ID of the refunded order |
item_ids | array | The merchant IDs of the refunded items |
refund_card | string | The card that Apace sent the refund to |
network | string | The network that was used to send the refund |
network_transaction_id | string | The unique transaction identifier of the network referencing the successful transaction |