IBitPay
    🌐English
    • 🌐繁體中文
    • 🌐English
    • IBitPay OpenApi Document Center
    • Encryption and Decryption
    • Callback
    • Global Error Codes
    • Sample Code
    • OpenApi
      • Create Buy Order
        POST
      • Get Buy Rate
        POST
      • Get Balance
        POST
      • Create Sell Order
        POST
      • Get Sell Rate
        POST

    Encryption and Decryption

    To ensure secure data transmission, all interface request parameters on this platform must undergo RSA encryption before transmission. Please follow the specifications below for encryption processing:
    1.
    Public and Private Key Retrieval
    Obtain RSA public/private keys through the [Merchant Management System].
    2.
    Encryption Requirements
    Algorithm: RSA/PKCS1Padding
    Target: JSON string composed of all request parameters
    Encoding: Base64 encoding of the encrypted binary data
    Transmission: Encrypted result transmitted via the encryptedData field
    3.
    Example
    Original parameters:
    {"userId": "12345", "amount": 100.00}
    After encryption:
    {
      "encryptedData": "BQDDdGq... (Base64 string)",
      "merchantNo": "abc123"
    }
    Modified at 2025-07-01 18:17:45
    Previous
    IBitPay OpenApi Document Center
    Next
    Callback
    Built with