Settlements

get

Returns a list of all the settlements

Authorizations
Path parameters
profileIdstringRequired

The id of the profile

Responses
200

OK

application/json
get
GET /v1/profiles/{profileId}/settlements HTTP/1.1
Host: api.bankingservice.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200

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"
  }
]
get

Returns a settlement

Authorizations
Path parameters
profileIdstringRequired

The id of the profile

settlementIdstringRequired

The id of the settlement

Responses
200

OK

application/json
get
GET /v1/profiles/{profileId}/settlements/{settlementId} HTTP/1.1
Host: api.bankingservice.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200

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"
}

Was this helpful?