Skip to main content

Overview

The StarPay API uses standard HTTP status codes together with application-specific error codes to indicate why a request failed. Each error includes a unique code that helps you quickly identify and resolve issues during integration.

Error Reference

Best Practice: Each error code represents a specific failure condition. Avoid reusing the same error code for different errors—this makes troubleshooting much easier for merchants integrating with your API.

Error Response Format

All error responses follow a consistent structure for predictable error handling:

Error Response Examples

When the merchant account cannot be located.
When the payment record cannot be found in the system.
When USD payment processing has not been enabled for the merchant account.

Common Error Codes Reference