Note: OnlinePay background will obtain the referer of Http Header to verify the website source. The website source must be configured in the OnlinePay merchant background to pass the detection. If you do not access the interface through a browser, you need to actively add a referer
Request
Header Params
paymentType
string
required
Fixed value:CRYPTO
Body Params application/json
merNo
integer
required
Merchant Number, Unique identifier assigned to the merchant by the onlinepay payment platform when registering with onlinepay
merOrderNo
string
required
Merchant Order Number, Each order must be unique, and each merchant order number can only be submitted once within 1 second
currencyCode
string
required
USDT_TRC
sourceAmount
string
required
Total amount of the order, keep two decimals
returnUrl
string
required
Jump address after payment is completed,
<= 512 characters
notifyUrl
string
optional
When the payment is completed, the payment result will be sent to notifyUrl