...
Refund is basically payment resource related to specific order where sender and destination accounts are switched comparing to original payment created to collect money from the merchant’s customer (when merchant’s customer paid to merchant).
They can, similarly to payments, be processed by one of two flows:
Redirect flow
Embedded flow
A single order can have multiple refunds.
...
Refund processing
Refunds can be processed via:
...
by redirecting to the URL from the Refund initialization response
...
embedded flow - by calling the Process Refund endpoint with the ID of a refund retrieved from the Refund initialization response
. Processing of refunds is basically the same as processing of order’s payments with difference in redirect URL parameter.For instructions how to use the embedded flow for refund processing, see
Info |
---|
Once the refund payment is processed by payer, redirect back to merchant contains query parameter |
...
endpoint Process Refund must be called
refund data can be enriched with recipientIban, if it’s not specified during refund initialization
...
Error codes
In addition to error codes specified for the Process Order Payment endpoint, note also the following error codes:
...