post
https://orders-api.paymongo.com/v1/payment_intents//cancel
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
