Body
Required
-
exchangeRate
number(float) Required Exchange rate
Default value is
1
. -
iso
string Required Iso
-
name
string Required Name
-
roundUp
boolean | null Required Round up
Default value is
false
. -
symbol
string Required Symbol
-
useLiveRates
boolean | null Required Use live rates
Default value is
true
.
POST
/currencies.json
curl \
--request POST 'http://api.example.com/v1/currencies.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"exchangeRate":1,"iso":"string","name":"string","roundUp":false,"symbol":"string","useLiveRates":true}'
Request examples
{
"exchangeRate": 1,
"iso": "string",
"name": "string",
"roundUp": false,
"symbol": "string",
"useLiveRates": true
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"exchangeRate": 1,
"id": 42,
"iso": "string",
"name": "string",
"roundUp": false,
"symbol": "string",
"updatedAt": "2025-05-04T09:42:00Z",
"useLiveRates": true
}