Retrieve a collection of accounts information
GET/api/accounts
This API endpoint is designed to retrieve a collection of account information, providing a convenient way to access data related to multiple accounts within your system. The retrieved data includes fields such as "currency," "availableBalance," and "forecastedBalance."
Request
Query Parameters
Default value: 1
The collection page number
Possible values: <= 50
Default value: 30
The number of items per page
Possible values: [normal, collateral, guarantee]
Select accounts by type
Possible values: [ASC, DESC]
Sort the results by the specified field
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
Possible values: [normal, collateral, guarantee, escrow, paypal]
ibans object[]
Possible values: [normal, qr]
Can be IBAN or account number. If the first 2 characters are letters, it is an IBAN, otherwise, an account number.
[
{
"id": 1,
"type": "normal",
"currency": "CHF",
"baseCurrency": "CHF",
"availableBalance": "1000.00",
"baseCurrencyBalance": "1000.00",
"forecastedBalance": "950.00",
"ibans": [
{
"type": "normal",
"value": "DE89370400440532013000",
"routingType": "BLZ",
"routingCode": "37040044"
}
]
}
]
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"detail": "string"
}