Refund partial or full amount, based on a previous payment.

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The payment that is to be refunded

Body Params

Refund request

double
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Bad 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
401

apiKey is unauthorized

502

Bad gateway. Error communicating with acquirer or merchant. Detailed error description is sent with
errorcode:errorDescription

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json