Payment Intents
Capture a payment intent
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 and error answers either way.
post/v1/payment_intents/{id}/capture
Request
- Base URLhttps://orders-api.paymongo.com
- URLhttps://orders-api.paymongo.com/v1/payment_intents/{id}/capture
- AuthHTTP basic
Path parameters
idstring required
Payment intent ID
Request body
Example request
{
"data": {
"attributes": {
"amount": 10000,
"client_key": "pi_abc123_client_key"
}
}
}Response
OK
Example response
{
"data": {
"id": "pi_abc123",
"type": "payment_intent"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.