Accounts
Get account
The Get account endpoint returns a single account for a given accountId.
Accounts are financial accounts maintained by a bank or other financial institution.
Before using this endpoint, you must have retrieved data for the company.
get/companies/{companyId}/connections/{connectionId}/data/banking-accounts/{accountId}
Path parameters
companyIdstring uuid required
Unique identifier for your SMB in Codat.
Example:8a210b68-6988-11ed-a1eb-0242ac120002
Unique identifier for a company.
connectionIdstring uuid required
Unique identifier for a company's data connection.
Example:2e9d2c44-f675-40ba-8049-353bfcb5e171
Unique identifier for a connection.
accountIdstring required
Example:13d946f0-c5d5-42bc-b092-97ece17923ab
Unique identifier for an account.
Response
Success
Example response
{
"results": [
{
"id": "1703194f-7805-4da8-bac0-2ba5da4a4216",
"name": "Business Current Account",
"informalName": "Codat",
"holder": "Codat Ltd",
"type": "Debit",
"balance": {
"available": -459987.97,
"current": -459964.9,
"limit": 5000
},
"identifiers": {
"type": "Depository",
"subtype": "checking",
"number": "46762629",
"bankCode": 9911,
"iban": "GB29 LOYD 4773 2346 7626 29",
"bic": "LOYDGB21006",
"maskedAccountNumber": "LOYDGB21006"
},
"currency": "GBP",
"institution": {
"id": "lloyds-bank",
"name": "Lloyds Bank"
},
"modifiedDate": "2022-05-23T16:32:50Z",
"sourceModifiedDate": "2021-08-14T05:04:12"
}
]
}