List settlement captures
Changed onRetrieve all captures included in the given settlement.
The response is in the same format as the response of the List captures endpoint.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/settlements/{settlementId}/captures
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: settlements.read, payments.read
Query parameters
Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.
The maximum number of items to return. Defaults to 50 items.
This endpoint allows embedding related API items by appending the following values via the embed query string parameter.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
A list of capture objects.
Example response
{
"count": 5,
"_embedded": {
"captures": [
{
"resource": "capture",
"id": "cpt_vytxeTZskVKR7C7WgdSP3d",
"mode": "live",
"description": "Capture for cart #12345",
"amount": {
"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"
}
},
"settlementAmount": {
"currency": "EUR",
"value": "10.00"
}
}
]
},
"_links": {
"self": {
"href": "https://...",
"type": "application/hal+json"
},
"previous": {
"href": "https://...",
"type": "application/hal+json"
},
"next": {
"href": "https://...",
"type": "application/hal+json"
},
"documentation": {
"href": "https://...",
"type": "application/hal+json"
}
}
}Changes
- info
added the optional write-only property
_embedded/captures/items/allOf[list-capture-response]/allOf[list-entity-capture]/testmodeto the response with the status
- info
- breaking
the
response property's min was decreased from1.00to0.00for the response status
- breaking