Was this helpful?
Returns a list of all the settlements
The id of the profile
GET /v1/profiles/{profileId}/settlements HTTP/1.1 Host: api.bankingservice.ai Authorization: Bearer YOUR_OAUTH2_TOKEN Accept: */*
OK
[ { "id": "text", "currency": "EUR", "charges": {}, "charges_total": 1, "amount": 8230, "payout": { "payments": { "count": 1, "sum": 1 }, "refunds": { "count": 1, "sum": 1 } }, "scheduled": "2024-09-25T12:01:00.103Z", "created": "2024-09-25T12:01:00.103Z" } ]
Returns a settlement
The id of the settlement
GET /v1/profiles/{profileId}/settlements/{settlementId} HTTP/1.1 Host: api.bankingservice.ai Authorization: Bearer YOUR_OAUTH2_TOKEN Accept: */*
{ "id": "text", "currency": "EUR", "charges": {}, "charges_total": 1, "amount": 8230, "payout": { "payments": { "count": 1, "sum": 1 }, "refunds": { "count": 1, "sum": 1 } }, "scheduled": "2024-09-25T12:01:00.103Z", "created": "2024-09-25T12:01:00.103Z" }