List captures
Changed onRequired scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">capture:read</code>
Request
- Base URLhttps://api.test.easypay.pt/2.0
- AuthAPI key in header AccountId and API key in header ApiKey
Query parameters
The cursor parameter is used for pagination. It specifies the pointer to the start of the next set of results in a sequence of paginated data. Typically, this is a unique identifier of the last item from the previous response. If not provided, the API fetches the first page of results.
The limit parameter is used for pagination. It specifies the maximum number of entries to return in a single page of results. Max 100.
Filter records by creation datetime interval in UTC. Maximum allowed range is 30 days. Format: interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM).
Filter records by update datetime interval. Maximum range of 30 days. Format: interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM)
Response
OK
An object containing additional information about the response. It includes details that help manage and navigate the retrieved data.
The Capture object contains all the necessary information for executing a fund capture action. It defines how and where the funds should be routed upon capturing a transaction. This object is essential for finalizing transactions and ensuring the correct allocation of funds.
Example response
{
"metadata": {
"next_cursor": "lL_j7ilk7rc",
"count": 10
},
"data": [
{
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb",
"account": {
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb"
},
"splits": [
{
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb",
"value": 10.49,
"margin_account": {
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb"
},
"margin_value": 12.6,
"reverts": [
{
"id": "c6056234-a3f9-42de-b944-3ed793fcb6bb"
}
]
}
],
"value": 15.32
}
]
}Changes
- warning
added the new
failedenum value to thedata/items/splits/items/statusresponse property for the response status - warning
added the new
revertedenum value to thedata/items/splits/items/statusresponse property for the response status
- warning