POST /api/partner/exchange
Request
{
partner_token(string) - partner token
timestamp(number) - UTC timestamp in milliseconds (a lag of 30 seconds is allowed)
signature(string) - signature
}
Response
{
pairs: [
{
from: {
amount: number,
min_amount: number,
max_amount: number,
min_kyc_amount: number,
max_kyc_amount: number,
code: string,
name: string,
symbol: string,
minor_unit: number
},
to: {
amount: number,
code: string,
name: string,
symbol: string,
minor_unit: number
}
}
]
}
Method unavailable now. Use POST method instead: POST /api/partner/exchange
GET
Content-Type: application/json
URL: <https://api.itez.com/api/public/exchange/pairs>
Description of the main response body:
(boolean)
- indicates the status of the request (true - success, false - error)(string)
- error code(string)
- the explanation of the error(object)
- contains the query result. In the case of a successful request contains the target data. In case of an error, data to clarify the occurrence of the error{
"success": true,
"data": {
"info": [
{
"active": true,
"fromCurrency": "USD",
"toCurrency": "BTC",
"fromFeeType": "PERCENT",
"toFeeType": "FIXED",
"fromFee": 5,
"toFee": 0.0001,
"exchangeRate": 9600.78,
"minFromAmount": 30,
"maxFromAmount": 300,
"kycMinFromAmount": 30,
"kycMaxFromAmount": 5000
},
...
]
}
}
(boolean)
- indicates whether the pair is currently active or not(string)
- code of incoming currency(string)
- code of outgoing currency(string)
- type of commission taken from the incoming currency (possible values: PERCENT)