post
https://api.farpay.io/v2/payments//refund
The amount cannot exceed the original amount, from the payment. But it can be refunded in
a small amount and repeated until there is nothing left to refund.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad request, various errors, see error codes
HTTP_ERROR 400 details described below
Error codes and description
-----------------------------
20012: No amount to refund
20013: No payments received
20014: Payment was not found
20050: Payment is not refundable
The other errors are sent directly to the API
20040::PSP: nnnn:message from psp |Acquire: nnnn:message from acquirer 401apiKey is unauthorized
502Bad gateway. Error communicating with acquirer or merchant. Detailed error description is sent with
errorcode:errorDescription