Get account
Changed onThe 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.
Request
- Base URLhttps://api.codat.io
- AuthAPI key in header Authorization
Path parameters
Unique identifier for your SMB in Codat.
Unique identifier for a company.
Unique identifier for a company's data connection.
Unique identifier for a connection.
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"
}
]
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info