Skip to main content

Overview

During integration with Oceanpayment APIs, the system may return different error response codes. Your system should correctly identify and handle these codes to ensure stable business operations.

Response Codes

View the full OPCard response codes and error descriptions.

Processing Flow

  1. Receive API Response

    • After calling the Oceanpayment API, capture the returned response code and message.
  2. Check for Success

    • If successful (e.g., status code 200), proceed with the business process.
    • If an error code is returned, enter the error handling flow.
  3. Classify and Handle Errors

  4. Log all error

    • Log all error responses for troubleshooting and auditing
  5. Notify users or involve manual intervention

    • Prompt the user if action is required (e.g., update card info).
    • Alert technical personnel in case of system errors for manual handling.