Skip to main content
POST
Enable a currency for the tenant
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /currencies/tenant//enable Creates the tenant’s CurrencyConfig row if it doesn’t exist yet (auto-set as the tenant’s default if it’s their first currency), or re-enables an existing disabled row. Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

code
string
required

ISO 4217 currency code (case-insensitive; upper-cased server-side).

Response

Currency was already configured and is now enabled

success
boolean
Example:

true

message
string
data
object

A tenant's enabled/default state for one currency (CurrencyConfig model, composite PK TenantId + code).