Returns your settlements, newest first. Each settlement groups the transactions paid out together in a single bank transfer.
Narrow the results with status[], created_at, and updated_at. Pagination is cursor-based: pass the previous response's metadata.next_cursor back as cursor. An empty next_cursor means there are no further pages.
Required scope: settlement:read
Segurança
accountId and apiKey
- Sandboxhttps://api.test.easypay.pt/2.0/settlement
- Productionhttps://api.prod.easypay.pt/2.0/settlement
curl -i -X GET \
'https://api.test.easypay.pt/2.0/settlement?limit=0&cursor=string&created_at=interval(2006-01-02%2015%3A04%2C2006-01-02%2015%3A04)&updated_at=interval(2006-01-02%2015%3A04%2C2006-01-02%2015%3A04)&status%5B%5D=SUCCEEDED%2CFAILED' \
-H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
-H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'Response
- First page of settlements with a next cursor
- Final page — empty next_cursor signals no further results
- No settlements match the filter
{ "data": [ { … } ], "metadata": { "next_cursor": "lL_j7ilk7rc", "count": 1 } }