PaymentPage API redirects users to a predefined payment page. This simplifies the process for clients as they do not need to manage the payment flow themselves; everything is handled by the PSP.
Tips
All requests are Post requests, and the data format is json
Except for sign, the remaining fields are sorted by the first letter to form key1=value1key2=value2, then use app secret as salt for MD5 encryption. The sign should be in lowercase letters.
timestamp
Yes
long
Timestamp (e.g., 1715941383720)
tradeNo
Yes
string
Transaction number (should be unique, suggested format: YYYYMMDDHHMMSS + random number)
amount
Yes
string
Amount (no decimal support)
mobile
No
string
User's mobile phone number
email
No
string
Email address
payer
No
string
Payer's name
wayCode
No
string
Collection method code
notifyUrl
Yes
string
Asynchronous callback URL
returnUrl
No
string
Cashier page redirect URL, remove escape characters “\”, reference format: https://www.abc.com/. If not provided, it will redirect to the system's default success page.
Request result (Returning "success" only indicates the request was successful; it should not be used for merchant-side logic)
code
Yes
string
Request response code (Returning "0000" only indicates the request was successful; it should not be used for merchant-side logic)
timestamp
Yes
string
Transaction time
success
Yes
string
Transaction result
data
Yes
Object
Response object
data.tradeNo
Yes
string
Merchant transaction number
data.platFormTradeNo
Yes
string
PayPro transaction number, unique
data.status
Yes
string
Request result. The merchant can use this for logical processing. "0000" indicates transaction success, "0001" indicates partial payment, "0015" indicates processing, and other codes are error codes that can be treated as failures.