Skip to main content
Welcome to the Kiotapay API Error Documentation. This guide outlines the various error responses you may encounter when integrating with our API. Each error is accompanied by a code, description, and potential solutions to help you debug and resolve issues quickly.

Error Format

All API responses for errors adhere to the following JSON format:

Error Codes

The following sections categorize error codes by their type.

1. Authentication & Authorization Errors

These errors occur when authentication or authorization fails.

2. Request Errors

These errors are related to malformed or invalid API requests.

3. Resource Errors

These errors occur when accessing resources that do not exist or are unavailable.

4. Payment Errors

These errors occur during payment operations.

5. Server Errors

These errors indicate issues on the Kiotapay platform.

HTTP Status Codes Overview

The following table summarizes the HTTP status codes used by the Kiotapay API:

Handling Errors

When an error occurs, follow these steps to diagnose and resolve it:
  1. Check the error code and message: Refer to the error tables above for guidance.
  2. Review the request: Ensure the request payload, headers, and parameters are correct.
  3. Consult the API documentation: Verify that you are using the correct endpoints and request formats.
  4. Retry if applicable: For temporary errors (e.g., SERVICE_UNAVAILABLE), retry the request after a short delay.
  5. Contact support: If the issue persists, reach out to Kiotapay support with the error details.

Contact Support

For further assistance, please contact Kiotapay Support or visit our Developer Portal.
This documentation is designed to help you effectively integrate with the Kiotapay API. By following these guidelines, you can handle errors efficiently and minimize downtime for your application.