ConvertResponse
successbooleanrequired
Request validation is successful or not. It will be set to true when the HTTP status is 200.
codeintegerrequired
Request status code. It will be set to 1 when the request is processed successfully. When unsuccessful, there will be an error code.
msgstringrequired
Request status message. It will be set to Success when the request is processed successfully. When unsuccessful, there will be an error message.
timenumberrequired
Current unix timestamp.
data objectrequired
fromAssetstringrequired
From asset
fromAmountstringrequired
From amount
fromTransactionRefstringrequired
From transaction reference
toAssetstringrequired
To asset
toAmountstringrequired
To amount
toTransactionRefstringrequired
To transaction reference
ratestringrequired
Exchange rate
ConvertResponse
{
"data": {
"fromAsset": "string",
"fromAmount": "string",
"fromTransactionRef": "string",
"toAsset": "string",
"toAmount": "string",
"toTransactionRef": "string",
"rate": "string"
},
"success": true,
"code": 0,
"msg": "string",
"time": 0
}