Referencia de APIAccounting / Account
Create Account
Request details
Body fields
| Field | Required | Description |
|---|---|---|
| name | Yes | Type: string |
| accountNumber | No | Type: string |
| divisionId | Yes | Type: number |
| currency | Yes | Enum-like validator generated by zodFromObj |
| type | Yes | Type: enumExample: CASH |
| initialBalance | No | Type: number |
Default payloads
Path params
json
{}Query
json
{}Body
json
{
"name": "string",
"divisionId": 1,
"currency": "string",
"type": "CASH"
}Sample response
json
{}