Retrieve an account
GET/api/accounts/:id
This API endpoint is used to retrieve comprehensive details about an account. It serves as a valuable tool for accessing specific account data within your system, given the presence of fields like "currency," "availableBalance," and "forecastedBalance."
Request
Path Parameters
Account identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- 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"
}
Not Found -- The requested resource could not be found.
- application/json
- Schema
- Example (from schema)
Schema
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
Default value: 400
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
{
"title": "string",
"detail": "string",
"status": 400,
"instance": "string",
"type": "string"
}