Payments
Cancel a payment
Cancel a previously created payment.
POST
/
payments
/
{id}
/
cancel
You can cancel a previously created payment if its status is pending
.
Parameters
id
string
requiredThe ID of a payment object.
Returns
Returns the payment id and status if the cancellation succeeds. Returns an error if the payment is already cancelled or can’t be cancelled.
Was this page helpful?