post
https://orders-api.paymongo.com/v1/payment_intents//capture
Captures a payment intent awaiting capture, the whole authorization or the amount given. Served by the service that decides the intent (processed_by), in core-api's response shape either way. An intent read as not awaiting capture (resource_invalid_state) or an amount above the intent's (allowed_amount_exceeded) is refused in core-api's words before payments-api is asked; payments-api's own refusal (such as its 409 resource_locked or 422 amount_below_minimum) is answered as payments-api sends it. A capture payments-api applied whose payments then cannot be read answers 500 internal_server_error, its detail saying the intent was captured: retrieve the payment intent rather than capturing again.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
