v1
latestOpenAPI 3.1.02026-07-263644911022.4 KBAccount types API
Create an Account Type
Use this endpoint to create an Account Type. You can create multiple Account Types, but they must be added one at a time.
post/v1/organizations/{organization_id}/ledgers/{ledger_id}/account-types
Path parameters
organization_idstring uuid required
The unique identifier of the Organization associated with the Ledger.
ledger_idstring uuid required
The unique identifier of the associated Ledger.
Headers
Content-Typestring
The type of media of the resource. Recommended value is application/json.
X-Request-Idstring uuid
A unique identifier used to trace and track each request.
Authorizationstring
Bearer JWT token for authentication. Required when PLUGIN_AUTH_ENABLED=true (enforced in multi-tenant deployments). Optional in default OSS single-tenant mode. Format: Bearer <token>
Request body
Response
Indicates that the resource was successfully created and the operation was completed as expected.