Payment Refund
To interact with the API, use the Unitpay PHP-SDK library.
To make a refund, run a GET request:
IMPORTANT NOTE: In case of a partial refund of the original amount, there is no protection against duplication for repeated refunds! The only check that is implemented for a partial refund is that you cannot return the same amount within half an hour for the same transaction: an error message will appear.
You can run the query in test mode. Learn more
Successful response
Error response
You can only make one full or partial refund per payment.
Last updated