https://{url}/Pay_AddOrder.html
Request parameters
parameter name |
required |
yes or no signature |
explanation |
pay_memberid |
YES |
YES |
The "merchant number" provided by the payment system to the cooperative merchant |
pay_orderid |
YES |
YES |
Merchant’s 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 or unavailable to provide, please provide other alternative data, such as: player mobile phone number。 |
pay_amount |
YES |
YES |
Product amount in current currency |
pay_md5sign |
YES |
NO |
Please see MD5 signature field format |
type |
NO |
NO |
If type=json is passed, json will be returned,If you use a bank card, you must access updateSID; if other values are passed, html will be returned. |
Response parameters (will be returned only if type=json is passed)
parameter name |
required |
type |
explanation |
status |
YES |
string |
Status code 1=success error=failure |
msg |
YES |
string |
Error message: Success or faild |
pay_amount |
YES |
string |
order amount |
pay_orderid |
YES |
string |
Payment order number of the payment system |
payUrl |
YES |
string |
Payment link |
bank_code |
YES |
string |
Bank card number for recharge |
return_params |
NO |
string |
Transparent transmission parameters |
Request Example
{
"pay_memberid": "10006",
"pay_orderid": 1722801459,
"pay_amount": "1000.00",
"pay_applydate": "2024-08-05 03:57:39",
"pay_bankcode": 948,
"pay_notifyurl": "https:\/www.baidu.com",
"pay_callbackurl": "https:\/\/ya.ru\/",
"pay_userid": 15452,
"pay_md5sign": "664C48949ED085D950E3681C3FBEC9AE",
"type": "json"
}
Response Example
{ |