Cards, prop trading & accounting
Get Chart Of Accounts
Fetches the client's live QuickBooks chart of accounts using a refreshed access token.
POSThttps://api.toku.com/platform/get-chart-of-accounts
Not available to API keys yet. It will need integrations:write.
curl --request POST \
--url 'https://api.toku.com/platform/get-chart-of-accounts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"refresh": true
}'200 response
{
"accounts": [
{
"id": "string",
"name": "string",
"accountType": "string",
"accountSubType": "string",
"active": true,
"classification": "string",
"currencyRef": "string"
}
],
"fetchedAt": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
clientIdstring<uuid>refreshbooleanResponse
200Successful response
accountsobject[]requiredShow child attributes
idstringrequirednamestringrequiredaccountTypestringrequiredaccountSubTypestringactivebooleanrequiredclassificationstringcurrencyRefstringfetchedAtstringrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits