Error model
All error responses follow a consistent envelope:Some legacy endpoints may omit the
errors array. Always check the message field as a fallback.HTTP status codes
Retry strategy
- Use idempotency keys (e.g.,
payoutRef) when retryingPOSTrequests to avoid double submissions. - Retry
5xxand429responses with exponential backoff (e.g., 1s, 2s, 4s) up to a maximum time window. - Avoid retrying validation (
4xx) errors unless the payload is corrected.
Monitoring and alerting
- Log the
statusCode,message, and any nestederrorsfor observability. - Set alerts on elevated
5xxor429error rates per endpoint. - Subscribe to status.useyala.com for incident notifications.
Getting help
Collect the following details before reaching out to support:- Request ID or
payoutRef - Timestamp (UTC)
- Endpoint and HTTP method
- Full response payload and headers