Cancel payment
POST/v1/payments/:id/cancel
Cancels an open payment. When cancel_on_gateway is true (default), the cancellation is propagated to the gateway.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Payment canceled.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.