Cancel Payment Intent

Cancel a payment intent. Idempotent. Cannot be undone.

Once canceled, /pay/{id} returns 410 with a "canceled" page and no new
payment session is started. A PENDING transaction whose payer never
started a payment session becomes canceled and a
payment.status_changed webhook is sent. If a session was already
started (or the transaction is PROCESSING) the status is left to the
payment network, because the payer may already be on the bank page: it
ends as expired/failed, or as success if the payment still
completes; intent_canceled_at tells you the link is dead. Returns 404 if
the transaction does not exist or belongs to a different client, and 409
if it already succeeded (a successful payment can never be canceled).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json