https://{URL}/Pay_AddOrder.html
Request Parameters
Parameter name |
Required |
Signature (yes or no) |
directions |
---|---|---|---|
pay_memberid |
yes | yes |
The "Merchant Number" provided by the payment system to its partner merchants |
pay_orderid |
yes | yes |
Merchant unique order number |
pay_applydate |
yes | yes |
Payment time, yyyy-MM-dd HH:mm:ss |
pay_bankcode |
yes | yes |
Channel Management->>Channel Rate Acquisition |
pay_notifyurl |
yes | yes |
Server return address. (POST return data) |
pay_callbackurl |
yes | yes |
Page jump return address (POST return data) |
pay_userid |
yes | yes |
Transaction user ID; if it is inconvenient to provide or cannot be obtained, please provide other alternative data, such as: player’s mobile phone number. |
pay_amount |
yes | yes |
The product amount in the current currency |
pay_md5sign |
yes | no |
Please see the MD5 signature field format |
type |
no | no |
If type=json is passed, json will be returned. If other values are passed, html will be returned. |
Response parameters (will be returned only if type=json is passed)
Parameter name |
Required |
type |
directions |
status |
yes |
string |
Status code 1 = success error = failure |
msg |
yes |
string |
Error message Success or failed |
pay_amount |
yes |
string |
Order amount |
pay_orderid |
yes |
string |
Payment order number of the payment system |
payUrl |
yes |
string |
Payment link, i.e. cashier page |
return_params |
yes |
string |
Transparent transmission parameters |
请求范例
{ "pay_amount": "1000.00", |
返回范例
{
"code": "1",
"msg": "Success",
"money": "1000",
"order_sn": "20240603013042504853",
"payUrl": "https://******************"
}