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.
GET
/bankaccounts/{id}
curl \
--request GET 'https://rest.api.24sevenoffice.com/v1/bankaccounts/{id}' \
--header "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",
"ledgerAccount": {
"number": 1920
},
"transactionType": {
"number": 5
}
}
]
[
{
"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",
"ledgerAccount": {
"number": 1920
},
"transactionType": {
"number": 5
}
}
]