Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-company
string
Example:

"{{companyId}}"

Body

application/json
accounting_account_code
string
Example:

"571"

balance
number
Example:

50

label
string
Example:

"Espèces"

medias
object[]
Example:
metadata
unknown
shop_id
string
Example:

""

type
string
Example:

"cash"

Response

201

accounting_account_code
string
Example:

"571"

balance
number
Example:

50

company_id
string
Example:

"01hqydxwtxdj3kmzp3bz7jk73g"

created_at
string
Example:

"2025-10-10T15:02:24.000000Z"

id
string
Example:

"01k77aa0qxmg81kwc0bp94cc24"

label
string
Example:

"Espèces"

medias
any[]
Example:
metadata
unknown
shop
unknown
shop_id
unknown
type
string
Example:

"cash"

updated_at
string
Example:

"2025-10-10T15:02:24.000000Z"