Error Handling
How to handle errors from the IvoryPay API.
Error response structure
{
"success": false,
"message": "Human-readable description of what went wrong",
"statusCode": 400,
"errorCode": "ONOFFRAMP0033",
"errors": [],
"timestamp": "2026-03-26T12:00:00.000Z",
"path": "/api/v1/onramp",
"method": "POST"
}Common error codes
Error Code
Message
HTTP Status
Description
Handling errors in your integration
1. Check the success field
success field2. Handle validation errors
3. Retry strategy
Error type
Should retry?
Strategy
4. Idempotency
Last updated