Saltar al contenido principal

Currency Endpoints

Manage currencies for organizations.

Base Pathโ€‹

/api/currency

Endpointsโ€‹

List Currenciesโ€‹

GET /api/currency
Authorization: Bearer {token}

Response:

{
"items": [
{ "id": "uuid", "isoCode": "USD", "currency": "US Dollar" },
{ "id": "uuid", "isoCode": "EUR", "currency": "Euro" },
{ "id": "uuid", "isoCode": "GBP", "currency": "British Pound" }
],
"total": 150
}

Create Currencyโ€‹

POST /api/currency
Authorization: Bearer {token}
{ "isoCode": "BTC", "currency": "Bitcoin" }

Update Currencyโ€‹

PUT /api/currency/:id
Authorization: Bearer {token}

Delete Currencyโ€‹

DELETE /api/currency/:id
Authorization: Bearer {token}

Default Currenciesโ€‹

System seeds include 150+ world currencies (ISO 4217).