Skip to main content
GET
/
v1
/
format
/
currency
Format Currency
curl --request GET \
  --url https://api.example.com/v1/format/currency \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

amount
number
required

Amount to format

currency
string
default:USD

Currency code (USD, EUR, GBP, etc.)

locale
string
default:en-US

Locale for formatting

Response

Successful Response