v10

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-122928103.7 KB
Payments

Refund a payment

Issue a full or partial refund for a paid payment. Requires an idempotency key.

post/v1/payments/{paymentId}/refund

Path parameters

paymentIdstring uuid required

The payment ID to refund.

Headers

X-Idempotency-Keystring required

A unique string to ensure the request is processed only once. Must be unique per request. Valid for 24 hours.

Request body

amountnumber

Refund amount. Omit for a full refund.

reasonstring

Reason for the refund.

Response

Refund created.