cURL
curl --request POST \ --url https://api.sandbox.teal.dev/v0/quickbooks/account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'teal-instance-id: <teal-instance-id>' \ --data '{ "account_id": "<string>", "sort_code": "<string>", "financial_account_type": "bank_account", "special_type": "uncat_inflow" }'
{ "id": "7JRNsKwy2Lw66caxVU7WGC", "name": "Pluto Checking 4242", "debit_credit": "debit", "editable": false, "financial_account_type": "bank_account", "is_required": false, "parent": {}, "parent_id": null, "report_cash_flow": false, "sort_code": "1400", "sub_type": "current_assets", "type": "asset" }
Create a QuickBooks account mapping and return the associated Ledger
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
Successful Response
The response is of type object.
object