Ga naar hoofdinhoud

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).