v1

latestOpenAPI 3.0.12026-07-2419554.1 KB
Orders

Refund order

Refund a fulfilled payment. The funds are reversed from the merchant's account and returned to the customer.

post/v2/payments/{token}/refund

Path parameters

tokenstring string required

Order token.

Headers

Idempotency-Keystring

Idempotency key used for retrying requests. Can be used for retrying failed requests.

Request body

merchantRefundReferencestring

Merchant reference for the refund. Use this to track the refund in your system.

Response

Refund processed successfully

tokenstring required

The order token.

merchantReferencestring

The merchant reference.

merchantRefundReferencestring

The merchant refund reference.

refundTokenstring

The refund token.

refundedAtstring

The date and time when the refund was processed.