Identify common API error responses. Error responses must be identified by HTTP Status and message attribute to fix them properly in your application.
Specific API methods endpoints may have the same error code but different error messages.
HTTP Status Code | Message |
---|---|
200 | Success |
401 | 1. Access denied, missing Authorization 2. Access denied, invalid API Key 3. Access denied, you are not using a whitelited API Key |
402 | Insufficient funds for this transaction (Micro Payments) |
410 | Invalid currency parameter provided |
420 | 1. Incorrect amount parameter provided 2. Missing address required parameter 3. Missing amount required parameter 4. Hosted invoice parameter can only be true or 1! 5. IPN URL parameter should not contain http or https, eg: domain.com! |
456 | This address does not belong to a user (Micro Payments) |
Response Example:
"status": 200,
"message": "Success"