WaaS Developer home pagelight logodark logo
    Introduction
    • Welcome to WaaS Developer Platform
    • System Supported Deposit Modes
    • Supported Tokens List
    • Risk Score Reference Guide
    Integration Guide
    • Integration Preparation
    • Core Mechanism
    • API General Instructions
    • Request Examples
    • Response Examples
    • Core Utility Classes
    • Frequently Asked Questions
    System Flowchart
    • System Funds Flow Diagram
    • Deposit Process
    • Withdrawal Process
    • Aggregation Process
    • Risk Notification Process
    Checkout
    • Introduction
    • POST
      Get User Deposit Address(Independent)
    • POST
      Get User Deposit Address(Shared)
    • POST
      Request Pre-Deposit
    API List
    • POST
      Retrieve User Deposit Address
    • POST
      Query Deposit Order
    • POST
      Submit Accelerated Deposit Request
    • POST
      Submit Withdrawal Order (without Secondary Confirmation)
    • POST
      Submit Withdrawal Order (with Secondary Confirmation)
    • POST
      Retrieve Withdrawal Order Status
    • POST
      Get Merchant Daily Report
    Webhook
    • WaaS Callback Mechanism Overview
    • Callback Integration Preparation Instructions
    • Callback Data Decryption Implementation
    • Callback Enumeration Types Explanation
    • Public Request Parameters
    • Webhook API
    Integration Guide

    Frequently Asked Questions

    • Based on a balance between performance and security, 1024-bit RSA provides sufficient security while ensuring API response speed. Contact support for upgrades if higher security is required.
    • Contact WaaS technical support to regenerate the key pair.
    • Verify response status: Check the code value. If not 0, no decryption is needed; handle business errors directly.

    • Validate data format: Ensure data is a valid Base64 string (combination of letters/numbers/+//=).

    • Verify public key consistency: Confirm the same public key is used as for request encryption (distinguish between test/production environments).

    • Check public key handling: Must first decode the Base64-encoded public key string into a byte array before using it for decryption. Do not use the Base64 string directly for decryption.

    • This error occurs when attempting to decrypt data exceeding 128 bytes. To avoid this, use chunked decryption. Refer to the code examples in the RSA utility class.

    Usually caused by:

    • 🚫 Merchant used incorrect RSA public key for encryption (inconsistent with the public key provided by WaaS).

    • 🔄 Merchant failed to properly Base64 decode the public key provided by WaaS before use (note: WaaS provides Base64-encoded public keys that require decoding before use).

    • 💾 Issues during request data serialization (e.g., contains non-UTF-8 characters or incorrect JSON format).

    • 🧩 Mismatched padding mode or algorithm during encryption (WaaS uses RSA/ECB/PKCS1Padding).

    JsonUtilsSystem Funds Flow Diagram
    Powered by Mintlify
    Assistant
    Responses are generated using AI and may contain mistakes.