HTTP Status Codes
Payment Error Codes
When a payment fails, the API returns specific error codes to help you understand what went wrong:Example Error Response
Best Practices
- Always handle errors gracefully - Never expose raw error messages to end users
- Log errors for debugging - Store error details for troubleshooting
- Implement retry logic - For rate limits and temporary failures
- Validate before sending - Check parameters client-side to reduce errors
If you encounter persistent errors, contact support@yabetoopay.com with the error details.