Capture payment
Captures the full amount of a card payment created with capture: false. The payment must still be in requires_capture before capture_expires_at. Partial capture, multiple captures, capturing more than the authorized amount, and tips are not supported.
Path parameters
The unique identifier of the payment.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Response
Payment captured
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"capture_expires_at": "2026-01-01T12:00:00.000Z",
"id": "pay_xxxxxxxxxxxxxx",
"last_payment_error": {
"code": "processing_error",
"decline_code": "insufficient_funds",
"message": "Your card was declined."
},
"next_action": {
"data": {
"frame_max_width": 500,
"url": "https://psp.example/3ds/challenge"
},
"render": [
"inline"
],
"type": "redirect"
},
"object": "payment_status",
"processing_details": {
"expected_by": "2026-01-01T12:00:00.000Z"
},
"return_url": "https://shinetime.example/checkout/done",
"status": "succeeded"
}Changes
Changed in 4 of the 74 revisions of this API.4
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
/////////to the response with the statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 74 revisions, 1 has no diff computed.