Get an Account by ID
cURL
curl --request GET \ --url https://api.bookeeping.ai/public-api/v1/accounts/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "metaData": { "warnings": [ "<string>" ] }, "data": { "_id": "<string>", "projectId": "<string>", "accountType": "Depository", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "nickName": "<string>", "accountName": "<string>", "accountNumber": "<string>" } }
API key for authentication. Get your key from the Dashboard > Settings > API Access.
The id of the account. Expected to be a valid object id like 666666666666666666666666
Get an Account by ID executed successfully
Success message
Show child attributes
Any validation warnings
The id of the account
The project id of the account
The type of the account
Depository
Credit
Loan
Investment
Other
The created at of the account
The updated at of the account