Refund a payment request (partial or full)

Refunds an already-paid payment request. If the original transaction has not yet settled with the processor the response disposition will be VOIDED (the original auth is cancelled); otherwise a new REFUNDED transaction is created. Supports partial refunds — pass the desired amount in the body. Idempotent on externalIdentifier.

Cross-merchant refunds. To refund a sale made at one merchant in your business from another merchant, call this with the sale's payment request id and set refundLocationMerchantId to the merchant taking the refund. It must be an active merchant in your business, or the call returns 404. The refund still processes and settles under the sale's merchant (merchantId); attributedMerchantId follows your business's refund routing setting.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The payment request ID to refund

Body Params
double | null
string
int32
enum
Defaults to 0
int32 | null
string
int32 | null

Cross-merchant refunds: the merchant in your business taking the refund, when it is not the merchant that made the sale. Must be an active merchant in your business. Omit it to take the refund at the payment request's merchant.

int32 | null
int32 | null
int32 | null
enum
Defaults to 0

Ignored. The refund routing mode always comes from your business's refund routing setting.

Allowed:
string
Responses

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