POST
/
v0
/
quickbooks
/
account
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": "<string>",
  "report_cash_flow": false,
  "sort_code": "1400",
  "sub_type": "current_assets",
  "type": "asset"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.