POST
/
consumers
/
{consumer_id}
/
accounting
/
accounts
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "number": "<string>"
}'
{
  "number": "<string>",
  "name": "<string>",
  "active": true,
  "type": "bank"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required

Query Parameters

folder_id
string

Body

application/json
name
string
required
Minimum length: 1
number
string
required
Minimum length: 3

Response

200
application/json
Successful Response
number
string
required
name
string
required
active
boolean
default:true
type
enum<string>

An enumeration.

Available options:
bank,
cash,
other_financial,
receivable,
payable,
income,
expense,
vat,
other