api_exchange_currencies_list
GET /api/exchange/currencies/
api_exchange_currencies_list
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- code string required
Possible values:
<= 10 characters
- policy_id string required
Possible values:
<= 255 characters
- asset_name string required
Possible values:
<= 255 characters
- decimal_places integer
Possible values:
<= 2147483647
- ]
[
{
"code": "string",
"policy_id": "string",
"asset_name": "string",
"decimal_places": 0
}
]
Authorization
name: jwtAuthtype: httpscheme: bearerbearerFormat: JWT
Request
Request
curl / cURL
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
python / requests
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
go / native
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
nodejs / axios
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ruby / Net::HTTP
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
csharp / RestSharp
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
php / cURL
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
java / OkHttp
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
powershell / RestMethod
curl -L -X GET 'https://docs.kubepay.io/api/exchange/currencies/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'