Skip to main content
GET
/
accounts
/
{accountId}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "accountingCode": "<string>",
  "type": "asset",
  "barred": true
}

Headers

x-environment
string<uuid>
required

Configure which environment the request will handle. If the provided credentials do not allow access to this specified environment, a 403 Forbidden response is returned.

Path Parameters

accountId
string<uuid>
required

Id of account.

Response

OK

id
string<uuid>

Unique id of the account.

name
string | null

Name of the account.

accountingCode
string | null
type
enum<string>
Available options:
asset,
profitAndLoss
barred
boolean

If true, the account cannot be used for booking.