Skip to main content

Authorize Account

Endpoint: PUT /accounts/authorize/{authorizationId}

Authentication: Bearer Token (required)

Description

Authorizes a pending account that was created in an unverified state. This endpoint finalizes the account creation with the provided details.

Request

Path Parameters

NameTypeRequiredDescription
authorizationIdstringYesThe UUID of the authorization request

Headers

NameTypeRequiredDescription
Content-TypestringYesMust be application/json
AuthorizationstringYesBearer token for authentication

Request Body

{
"name": "Pool Suspense Account",
"description": "Suspense account for core system pool",
"alternateAccountNumber": null,
"type": "ASSET",
"category": "CURRENT",
"ledger": "GL",
"partyType": "COMPANY",
"party": "Bookshop 4",
"currencyStringId": "45588d64-43d0-43e1-a3e2-2ab4e2c56af9",
"customerStringId": null,
"companyStringId": "734a7dd8-b8ba-43df-9210-8bf0f367bca5"
}

Request Body Fields

FieldTypeRequiredDescription
namestringYesThe name of the account
descriptionstringNoA description of the account's purpose
alternateAccountNumberstringNoAn alternate identifier for the account
typestringYesThe account type. One of: ASSET, LIABILITY, EQUITY, REVENUE, EXPENSE
categorystringYesThe account category. One of: CURRENT, NON_CURRENT, OPERATING, NON_OPERATING
ledgerstringYesThe ledger type. Must be GL (General Ledger)
partyTypestringYesThe type of party associated with the account. One of: COMPANY, CUSTOMER, SUPPLIER
partystringYesThe name of the party associated with the account
currencyStringIdstringYesThe UUID of the currency for the account
customerStringIdstringNoThe UUID of the customer (required if partyType is CUSTOMER)
companyStringIdstringYesThe UUID of the company that owns the account