OnlinePay API
    OnlinePay API
    • Introduction
    • How to start
    • Country Code
    • Currency Code
    • Error Code
    • API Reference
      • Credit Card
        POST
      • Alipay
        POST
      • Union Pay
        POST
      • WeChat
        POST
      • Cryptocurrency Payment
        POST
      • OnlinePay CheckOut
        POST
      • notifyUrl
        POST
      • Refund
        POST
      • Query
        POST
      • QueryOrderList
        POST

    How to start

    1. Apply for Merchant Id and Key#

    1.1 Please register as an OnlinePay Merchant and activate your account.
    1.2 Login and click the Personal Centre - User Management - Personal Information to get the PrivateKey.

    2 Parameter signature#

    2.1 Confirm the requested interface according to the payment method you need.
    2.2 Convert the parameters(A+B+C+PrivateKey) that need to be signed in the interface to MD5 values.
    2.3 Convert all the generated MD5 values to uppercase to get the final sign value.

    3. Calling the payment interface#

    Call the interface by the RESTful method.

    4. Refund#

    Call the Refund interface when needed.
    Modified at 2023-04-29 14:50:33
    Previous
    Introduction
    Next
    Country Code
    Built with