Currency

The Currency object represents a currency that is used by one or more sellers in our system to invoice their products.

This object contains the following attributes:

Field Name
Data Type
Description

id

string

The primary identifier for the currency.

Example: CUR-1234-4678

name

string

The currency name.

Example: Euro

code

string

The ISO code for the currency.

Example: EUR

icon

string

The icon to be shown in the grids and info cards.

Example: http://icons.com/myicon.jpg

precision

integer

The number of decimals supported by the currency.

Example: 2

statistics

A JSON representation of statistics.

Example:

status

string

Indicates whether the item is active or deleted.

audit

object

A reference to the audit object.

Example:

revision

integer

The revision number.

Example: 3

CurrencyStatistics

Field Name
Data Type
Description

sellerCount

integer

The number of sellers using this currency.

Example: 35

pairCount

integer

The number of pairs that use this currency.

Example: 344

Example response

{
  "id": "CUR-1671",
  "name": "Euro",
  "code": "EUR",
  "precision": 2,
  "status": "Active",
  "statistics": 
  {
    "sellerCount": 35,
    "pairCount": 344,  
  },
  "icon": "/v1/exchange/currencies/CUR-1671/icon",
  "revision": 1
}

Last updated

Was this helpful?