Payments

Reverse a payment - tries void first (for unsettled transactions), falls back to refund. This is the recommended endpoint for canceling payments as it automatically picks the right method.

post/Payments/{id}/reverse

Path parameters

idstring required

The payment ID to reverse

Request body

reasonstring

Response

OK

methodstring

The method used to reverse the payment: "Voided" or "Refunded"

messagestring

Human-readable message explaining the reversal