https://{request address}/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)

accounttype

YES

string

Account Types(ORANGE,MTN)

accountnumber

YES

string

Payment Account

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

{

    "accountnumber": "237612345678",
    "applydate": "2024-06-03 03:40:24",
    "accounttype": "ORANGE"
    "mchid": "10006",
    "money": "1000.00",
    "notifyurl": "http://*********/server.php",
    "out_trade_no": "1717357224412",
    "payment_code": "12218",
    "userid": "54545",
    "pay_md5sign": "7E1C7244DE576028611FBFF866D14BB9"
}

Return to example

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