Gestiono
Referencia de APIAccounting / Account

Create Account

← Back to full API reference
POST/v1/accountAuth required
  • Validated by Zod schema: postAccount.

Request details

Body fields

FieldRequiredDescription
nameYesType: string
accountNumberNoType: string
divisionIdYesType: number
currencyYesEnum-like validator generated by zodFromObj
typeYesType: enumExample: CASH
initialBalanceNoType: number

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "name": "string",
  "divisionId": 1,
  "currency": "string",
  "type": "CASH"
}

Sample response

json
{}