https://{request address}/Payment_AddOrder

Request parameters

parameter name

required

type

explanation

mchid

YES

string

The "merchant number" provided by the payment system to the cooperative merchant

applydate

YES

string

Initiate payment time,(yyyy-MM-dd HH:mm:ss)

out_trade_no

YES

string

Merchant’s unique order number

payment_code

YES

string

To pay for the product code, contact customer service to obtain it.

money

YES

string

Payment amount (unit: YES, current currency, 2 decimal places, 100.00)

bankname

YES

string

Bank code (Please see the bank code list)

accountname

YES

string

Benefit account name

accountnumber

YES

string

Bank card number or account number corresponding to the payment account

userid

YES

string

Transaction user ID; if it is inconvenient or unobtainable, please provide other alternative data, such as the player's mobile phone number.

notifyurl

YES

string

Payment callback address

pay_md5sign

YES

string

signature

 

response parameters

parameter name

required

type

explanation

success

YES

string

True for success, false for failure

errCode

YES

string

0

errMsg

YES

string

Payment status message

Request example

{
    "accountname": "test",
    "accountnumber": "4585347382476835478",
    "applydate": "2023-06-03 04:41:20",
    "bankname": "JIANSHE BANK",
    "mchid": "10006",
    "money": "1000.00",
    "notifyurl": "http://*******/server.php",
    "out_trade_no": "1717360880584",
    "payment_code": "10202",
    "userid": "54545",
    "pay_md5sign": "E2B3AB5DE16A2A95DA003E4876B6EED3"
}

Return example

{

"success": true,

"errCode": "0",

"errMsg": "Success"

}