Body
-
Amount in Nano (Raw).
POST /api/payments/nano-to-usd
curl \
-X POST https://madora.io/api/payments/nano-to-usd \
--user "username:password" \
-H "Content-Type: application/json" \
-d '{"nanoAmount":"1000000000000000000000000000000"}'
Request example
{
"nanoAmount": "1000000000000000000000000000000"
}
Request examples
{
"nanoAmount": "1000000000000000000000000000000"
}
Response examples (200)
{
"usdAmount": "2.05"
}
Response examples (200)
{
"usdAmount": "2.05"
}
Response examples (400)
{
"errorCode": "internal",
"errorMessage": "string"
}
Response examples (400)
{
"errorCode": "internal",
"errorMessage": "string"
}
Response examples (401)
{
"errorCode": "internal",
"errorMessage": "string"
}
Response examples (401)
{
"errorCode": "internal",
"errorMessage": "string"
}
Response examples (500)
{
"errorCode": "internal",
"errorMessage": "string"
}
Response examples (500)
{
"errorCode": "internal",
"errorMessage": "string"
}