Skip to main content
GET
/
billing
/
org
/
v1
/
currencies
List Currencys
curl --request GET \
  --url https://api.gcore.com/billing/org/v1/currencies \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100",
  "results": [
    {
      "id": 123,
      "char_code": "<string>",
      "number_code": -1,
      "name_en": "<string>",
      "symbol": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

currency_char_code
string[]

Filter by currency char code (e.g. USD, EUR). Can be multiple.

Returns currencies with the specified char code.

Examples:

* &currency_char_code=USD

* &currency_char_codeEUR&currency_char_codeUSD

Available values:

* EUR - Euro

* USD - US Dollar

currency_id
integer[]

Filter by currency ID. Can be multiple.

Returns currencies with the specified ID.

Examples:

* &currency_id=1

* &currency_id=1&currency_id=2

Available values:

* 1 - US Dollar

* 2 - Euro

limit
integer

Number of results to return per page. Maximum is 100.

name_en
string
offset
integer

The initial index from which to return the results.

ordering
enum<string>[]

Ordering of the results.

Default sort order is ascending. Put - before value for descending sort order: -id.

For sorting by multiple parameters write them as comma separated string: -client_id,id.

* char_code - Char code * -char_code - Char code (descending) * number_code - Number code * -number_code - Number code (descending) * name_en - Name en * -name_en - Name en (descending)

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"