https://{URL}/Payment_AddOrder
Request Parameters
|
Parameter name |
Required |
Type |
Description |
|
mchid |
yes |
string |
The "Merchant Number" provided by the payment system to the cooperating merchants |
|
applydate |
yes |
string |
Payment initiation time, (yyyy-MM-dd HH:mm:ss) |
|
out_trade_no |
yes |
string |
Merchant unique order number |
|
payment_code |
yes |
string |
Payment product code, contact customer service to obtain |
|
money |
yes |
string |
Payment amount (in current currency, retain 2 decimal places, 100.00) |
|
pay_phone |
yes |
string |
Customer's mobile phone number (9-digit string) |
|
pay_email |
yes |
string |
|
|
pay_account |
yes |
string |
Bank Account |
|
pay_accountType |
yes |
string |
1: Current account, 2: Savings account |
|
pay_name |
yes |
string |
Account Name |
|
pay_cciNo |
yes |
string |
Payee's transit account |
|
pay_bankcode |
yes |
string |
Bank code |
|
pay_idnumber |
yes |
string |
Certificate Number |
|
pay_idtype |
yes |
string |
DNI: ID card, CE: Foreigner ID card, RUC: Tax ID, PAS: Passport |
|
userid |
yes |
string |
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. |
|
notifyurl |
yes |
string |
Payment callback address |
|
pay_md5sign |
yes |
string |
sign |
Response Parameters
|
Parameter name |
Required |
Type |
Description |
|
success |
yes |
string |
True if successful and false if failed |
|
errCode |
yes |
string |
0 |
|
errMsg |
yes |
string |
Payment status message |
Request Example
|
{ |
Return to example
|
{ |