Cancel a payment intent

Cancels a payment intent, releasing any authorization it holds. Served by the service that decides the intent (processed_by), in core-api's response shape either way. An intent read as cancelled, processing or succeeded is refused in core-api's words before payments-api is asked; payments-api's own refusal (such as its 409 resource_locked) or its 502 for a void its method service could not make is answered as payments-api sends it. A public key may cancel with the intent's client_key in the body. A cancel payments-api applied whose payments then cannot be read answers 500 internal_server_error, its detail saying the intent was cancelled: retrieve the payment intent rather than cancelling again.

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

Payment intent ID

Body Params

The intent's client_key, required with a public key

data
object
Responses

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