List Currencies
GEThttps://api-baas-hml.zrobank.xyz/v1/operations/currencies
Retrieve a list of all available and tradable currencies. Optional filter parameters can be used to refine your search.
Request
Query Parameters
Default value: 1
Page number.
Possible values: <= 100
Default value: 20
Page size. Max size is 100.
Possible values: [id
]
Page sort attribute.
Possible values: [asc
, desc
]
Default value: asc
Page order.
Currency Symbol.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 422
The currencies returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Page number.
Page size.
Page total.
Total of elements.
data object[]required
{
"page": 1,
"page_size": 20,
"page_total": 20,
"total": 100,
"data": [
{
"id": 0,
"title": "string",
"symbol": "string",
"symbol_align": "left",
"decimal": 0,
"tag": "string",
"state": "active"
}
]
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api-baas-hml.zrobank.xyz/v1/operations/currencies' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'