401
- Unauthenticated
{
"message":"Unauthenticated"
}- Unauthorized action.
{
"message":"Unauthorized action."
}- Server IP is not allowed.
{
"message":"Access restricted."
}- Access restricted.
{
"message":"Access restricted."
}- Inactive User.
{
"message":"Your account has been suspended. For further assistance, please contact support at [email protected]."
}403
- IP is not allowed, client IP is from high risk country.
{
"message":"IP is not allowed"
}- Unfortunately due to strict regulatory and compliance reasons, we are not able to onboard users coming from high-risk countries.
{
"message":"Unfortunately due to strict regulatory and compliance reasons, we are not able to onboard users coming from high-risk countries."
}- User is under RFI or EDD. We check if user is under RFI or EDD in below APIs:
/app/offramp/generatewallet
/app/withdraw
/app/depositaccount
/app/orderByFiat
/app/offrampsell
/depositaccount/local
EDD:
{
"message": "To complete the verification process for your account, please check your email. We have sent instructions on how to finalize the verification of your latest deposits/withdrawals.",
"errors": {
"edd": "EDD Required"
},
"error_code":"EDD_REQUIRED"
}
RFI:
{
"message": "To complete the verification process for your account, please check your email. We have sent instructions on how to finalize the verification of your latest deposits/withdrawals.",
"errors": {
"rfi": "RFI required"
},
"error_code":"RFI_REQUIRED",
"data" : {
"url": "{RFI url}"
}
}404
- Not Found – The specified endpoint could not be found.
{
"message":"Not Found – The specified endpoint could not be found."
}405
- The GET method is not supported for this route. Supported methods: POST.
{
"message":"The GET method is not supported for this route. Supported methods: POST."
}422
- The given data was invalid.
{
"message": "The given data was invalid.",
"errors": {
"pair": [
"The pair field is required."
]
}
}- User's IP address is a high-risk country.
{
'message' => 'The given data was invalid.',
'errors' => ['country' =>“User's IP address is a high-risk country.”
}429
- API rate limit exceeded.
{
"message":"API rate limit exceeded."
}503
- Account suspended
{
'message' => 'Account suspended - Please contact [email protected]',
'errors' => ['uid' => '123456']
}