Read a bank account by ID
Read details for a specific bank account identified by its unique identifier. The response includes information such as account number, BIC, type, name, owner details, creation timestamp, modification timestamp, and the latest balance information, should there be one available.
Query parameters
-
before string(date)
The date to get the balance from. The balance returned will be the last balance before this date. If omitted, the current date is used. The date format here is YYYY-MM-DD.
GET
/bankaccounts/{id}
curl \
-X GET https://rest.api.24sevenoffice.com/v1/bankaccounts/{id} \
-H "Authorization: string"
Response examples (200)
Bank account with balance example
[
{
"id": "123-456-789",
"bic": "DNBANOKKXXX",
"name": "ABC bank account",
"type": "bban",
"owner": {
"name": "ABC Corporation",
"contact": {
"name": "John Doe",
"email": "doe@example.com"
},
"organizationNumber": "123456789"
},
"number": "90000000001",
"balance": {
"amount": 1100,
"currency": {
"code": "NOK"
},
"timestamp": "2024-06-02T12:00:00.000Z"
},
"createdAt": "2022-01-01T18:00:00.000Z",
"modifiedAt": "2023-12-31T18:00:00.000Z"
}
]
[
{
"id": "123-456-789",
"bic": "DNBANOKKXXX",
"name": "ABC bank account",
"type": "bban",
"owner": {
"name": "ABC Corporation",
"contact": {
"name": "John Doe",
"email": "doe@example.com"
},
"organizationNumber": "123456789"
},
"number": "90000000001",
"createdAt": "2022-01-01T18:00:00.000Z",
"modifiedAt": "2022-01-01T18:00:00.000Z"
}
]