- 21 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Refund a payment
- Updated on 21 Feb 2025
- 1 Minute to read
- Print
- DarkLight
Utilize a refund to reimburse a customer for a payment. Refunds can be executed via API or our portal.
There are two types of refunds you may need to process:
Full Refund: This returns the entire payment amount to the customer and can only be performed once.
Partial Refund: This returns a sum less than the captured amount. Multiple partial refunds can be issued, but the cumulative refunded amount cannot exceed the original payment amount.
Refunds cannot be cancelled once they have been requested.
Request a refund via API
To process a refund successfully, you must provide the PSP ID
of the captured payment. The request is provided in the response
The requests are the same for partial and full refunds. Any refunds for less than the originally captured amount will be considered partial refunds. The transaction type PARTIALREFUND
applies for full and partial refunds.
Request Example
{
"TransactionType": "PARTIALREFUND",
"Amount": "1.00",
"Currency": "EUR",
"CallBackURL": "www.yourURLhere.com/technicalsupporttool-fe/Listener",
"IsTest": false,
"PspId": "750762"
}
Response Example
{
"pspid": 738246,
"bankResponse": "Processed",
"bankAccept": "YES",
"cardToken": "9705594a-365d-4157-84a8-5af04bbb8507",
"redirectUrl": null,
"isSuccess": true,
"errorMessage": null
}
Manually refunding a payment using our Portal
Link to portal guide here