Skip to main content
POST
/
currencies
Enable currency
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({currencyId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};

fetch('https://api.dolfinai.co/currencies', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "<string>",
  "name": "<string>",
  "symbol": "<string>",
  "currencyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "decimalPlaces": 123,
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dolfinai.co/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
currencyId
string<uuid>

Response

Created

code
string
required

ISO 4217 currency code (e.g. GBP, USD, EUR)

name
string
required
symbol
string
required
currencyId
string<uuid>
decimalPlaces
createdAt
string<date-time>