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

Mail

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

{  
    "applydate": "2024-06-03 03:40:24",
    "mchid": "10006",
    "money": "1000.00",
    "notifyurl": "http://*********/server.php",
    "out_trade_no": "1717357224412",
    "pay_account": "001101600200480482",
    "pay_accountType": "2",
    "pay_bankcode": "12019",
    "pay_cciNo": "00389801319146797541",
    "pay_email": "This email address is being protected from spambots. You need JavaScript enabled to view it.",
    "pay_phone": "468347834",
    "pay_idnumber": "42340816",
    "pay_idtype": "DNI",
    "pay_name": "Carlos Andrés Oviedo",
    "payment_code": "12019",
    "userid": "54545",
    "pay_md5sign": "7E1C7244DE576028611FBFF866D14BB9"
}

Return to example

{
    "success": true,
    "errCode": "0",
    "errMsg": "Success"
}