GET
/
api
/
currencies
[
  {
    "id": 1,
    "currencyName": "US Dollar",
    "currencyCode": "USD",
    "currencySign": "$",
    "isBaseCurrency": true,
    "createdAt": "2024-03-20T10:00:00Z",
    "updatedAt": "2024-03-20T10:00:00Z"
  }
]

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Response

200 - application/json

List of all currencies.

id
number
required

The unique identifier of the currency

Example:

1

currencyName
string
required

The name of the currency

Example:

"US Dollar"

currencyCode
string
required

The code of the currency

Example:

"USD"

currencySign
string
required

The sign/symbol of the currency

Example:

"$"

isBaseCurrency
boolean
required

Whether this is the base currency for the organization

Example:

true

createdAt
string<date-time>
required

The creation timestamp

Example:

"2024-03-20T10:00:00Z"

updatedAt
string<date-time>
required

The last update timestamp

Example:

"2024-03-20T10:00:00Z"