POST
/api/payments/usd-to-nano
curl \
-X POST https://madora.io/api/payments/usd-to-nano \
--user "username:password" \
-H "Content-Type: application/json" \
-d '{"usdAmount":"2.05"}'
Request example
{
"usdAmount": "2.05"
}
Request examples
{
"usdAmount": "2.05"
}
Response examples (200)
{
"nanoAmount": "1000000000000000000000000000000"
}
Response examples (200)
{
"nanoAmount": "1000000000000000000000000000000"
}
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"
}