Convert
Query parameters
amountstringRequiredExample:
Amount (info. 1 UNIT = "1000000000000000000", decimals is 18
10000000000000000000000000
fromstringRequiredExample:
Currency Symbol of source (ex. acc, point, usd, krw, php, ...)
krw
tostringRequiredExample:
Currency Symbol of target (ex. acc, point, usd, krw, php, ...)
point
Responses
200Success
application/json
get
GET /v1/currency/convert?amount=10000000000000000000000000&from=krw&to=point HTTP/1.1
Host:
Accept: */*
200Success
{
"code": 0,
"data": {
"amount": "10000000000000000000000000"
},
"error": {
"message": "Failed to check the validity of parameters"
}
}