Currencies

Currency

We store information about the currencies available to the Altalix API.

A currency pair is a combination of a currency that is bought and a currency that is sold.

Currency Pairs

Example:

[
{
"buy":"XBT",
"enabled":true,
"sell":"EUR",
"symbol":"XBTEUR"
}, {
"buy":"ETH",
"enabled":true,
"sell":"EUR",
"symbol":"ETHEUR"
},
...
]

Currencies

By requesting a specific currency - we can determine what is displayed to the user

  • code: Altalix uses this to identify a currency
  • display_code: If provided then we recommend showing this to the client instead of code
  • display_decimals: As JSON doesn't support fixed display decimals - this can be used to determine how many decimal places to use
  • enabled: If there is a technical issue - this allows us to let our partners know whether the currency is currently active
  • name: Used to display conventional currency name to the user
{
"code":"XBT",
"display_code":"BTC",
"display_decimals":5,
"enabled":true,
"name":"Bitcoin"
}