Refunds
When payments are refunded we send additional exchange calls to the configured exchange location.
Action | Moment |
---|---|
refund:add | This notification is sent when a refund request is created (through an API call or through a refund in the my.pay.nl environment) |
refund:received | This notification is sent when the payment is actually refunded. For buy now pay later, giftcards and creditcards the refund is directly processed. IBAN refunds will be collected in a batch and will be processed in the morning around 10.00AM |
refund:send | Only applicatie for non-instant refunds (like IBAN refunds). This notification will be send when the batch has been processed. |
refund:storno | If a refund cannot be processed. E.g. when it is an IBAN refund but the IBAN is blocked or not available anymore |
An refund exchange call has the following layout (depending on the exchange method configured).
{
"action": "refund:received",
"website_id": "37",
"website_location_id": "4",
"program_id": "9064",
"payment_profile_id": "706",
"payment_method_id": "4",
"payment_session_id": "3217527583",
"promotor_id": "0",
"tool": "",
"info": "",
"object": "",
"domain_id": "0",
"ip_address": "127.0.0.1",
"pincode": "174593286",
"amount": "0.01",
"extra1": "",
"extra2": "",
"extra3": "",
"transfer_data": "",
"secret": "0",
"enduser_id": "0",
"product_id": "2177083",
"order_id": "50017100087X3565",
"transactionId": "EX-5559-3338-1142"
}
Updated 4 days ago