Refund a PaymentRequest.

Refund a previously settled PaymentRequest back to the customer's source of funding. Optionally supply the amount to refund. Refunds requests can be rejected for the following failure reasons:

failureCodefailureReason
ERR0.03Refunds can only be done on COMPLETE, RETURN_COMPLETE or RETURN_FAILED payments
ERR0.05Missing id.
ERR0.06Refund amount value must be a number
ERR0.07Refunds cannot be done against PaymentRequest's with multiPayment set to true
ERR0.08Refunds can only be done on COMPLETE, RETURN_COMPLETE or RETURN_FAILED payments
ERR0.09Refund for this client can only be for the full amount
ERR0.10Refund amount must be less than or equal to original payment amount
ERR0.11Insufficient funds to process this refund
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

ID of Payment Request to refund. This is the paymentRequestId return by the createPaymentRequest API

number

The amount to refund

string

The client refund transaction ID

Responses

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