v1
latestOpenAPI 3.0.1MIT2026-07-26336777.7 KBThe Refund APIs allow merchants to process refunds for previously captured payments
post/payments/merchant/refund
Headers
Idempotency-Keystring
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
Request body
Example request
{
"xIntentId": "in_fooBOwYsaK50AEfK",
"amount": "200",
"refundReferenceId": "re123"
}Response
Refund API response
Example response
{
"refundId": "rf_fooBOwYsaK50AEaJ",
"intentId": "in_fooBOwYsaK50AEfK",
"amount": 2000,
"currency": "USD",
"refundedAt": 1727340330123,
"refundReferenceId": "re123"
}