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 (see the bank code list on the current page for details)

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

account_type

YES

string

Receiving account type,

0 - AHORRO Savings (common payment methods: nequi, rappipay, daviplata account types are all savings),

1 - CORRIENTE Current account

name

YES

string

name

mobile

YES

string

mobile

email

YES

string

email

card_type

YES

string

Customer ID Number Type

NIT     Corporate tax number is 9 digits without separators, and individual tax number is 10 digits without separators.

CC     Local ID card is 6-10 digits without separators.

CE     Foreign ID card is 6-10 digits without separators.

PP     Passport, only letters and numbers are allowed, no limit on length.

card_number

YES

string

Customer ID number, please refer to the previous article for the rules

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

{
    "accountnumber": "4585347382476835478",
    "applydate": "2024-06-03 03:40:24",
    "bankname": "1059",
    "email": "This email address is being protected from spambots. You need JavaScript enabled to view it.",
    "mchid": "10006",
    "mobile": "9167925164",
    "money": "1000.00",
    "name": "test",
    "notifyurl": "http://*********/server.php",
    "out_trade_no": "1717357224412",
    "payment_code": "10804",
    "userid": "54545",

    "account_type": "1",
    "card_type": "CC",
    "card_number": "3215545610",
    "pay_md5sign": "7E1C7244DE576028611FBFF866D14BB9"
}

Return example

{

"success": true,

"errCode": "0",

"errMsg": "Success"

}