Skip to main content
GET
/
v1
/
config
/
currencies
Get supported currencies
curl --request GET \
  --url https://api.kyren.top/v1/config/currencies \
  --header 'x-api-key: <api-key>'
{
  "code": 0,
  "message": "success",
  "data": {
    "currencies": [
      {
        "code": "USD",
        "label": "USD"
      },
      {
        "code": "CNY",
        "label": "CNY"
      },
      {
        "code": "HKD",
        "label": "HKD"
      }
    ],
    "defaultCurrency": "USD"
  }
}

Authorizations

x-api-key
string
header
required

Your API key. Use kyren_live_* for production and kyren_test_* for testing.

Response

Supported currencies and default currency

code
integer
Example:

0

message
string
Example:

"success"

data
object