Captures API
Get capture
Changed onRetrieve a single payment capture by its ID and the ID of its parent payment.
🔑 Access with
API key
Advanced access token with payments.read
OAuth access with payments.read
get/payments/{paymentId}/captures/{captureId}
Request
- Base URLhttps://api.mollie.com/v2
- URLhttps://api.mollie.com/v2/payments/{paymentId}/captures/{captureId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: payments.read
Query parameters
embed'payment'
Example:payment
This endpoint allows you to embed additional resources via the embed query string parameter.
testmodeboolean
Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.
Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
Response
The capture object.
Example response
{
"resource": "capture",
"id": "cpt_vytxeTZskVKR7C7WgdSP3d",
"mode": "live",
"description": "Capture for cart #12345",
"amount": {
"currency": "EUR",
"value": "10.00"
},
"settlementAmount": {
"currency": "EUR",
"value": "10.00"
},
"status": "succeeded",
"paymentId": "tr_5B8cwPMGnU",
"shipmentId": "shp_5x4xQJDWGNcY3tKGL7X5J",
"settlementId": "stl_5B8cwPMGnU",
"createdAt": "2024-03-20T09:13:37+00:00",
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"payment": {
"href": "https://...",
"type": "application/hal+json"
},
"settlement": {
"href": "https://...",
"type": "application/hal+json"
},
"shipment": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- info
added the optional write-only property
allOf[subschema #1]/testmodeto the response with the status
- info