https://{Request address}/Payment_AddOrder

Request Parameters

Parameter name

Required

type

illustrate

mchid

yes

string

The "Merchant Number" provided by the payment system to the cooperating merchants

applydate

yes

string

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

out_trade_no

yes

string

Merchant unique order number

payment_code

yes

string

Withdrawal product code, contact customer service to obtain

type

yes

string

The reference values ​​are:

bank   (Bank card withdrawal, when the value is bank, the parameter:bankcode,accountnumber is required)

jazzcash(Withdraw from jazzcash wallet. When the value is jazzcash, idnumber is required.)

easypaisa (easypaisa wallet payment, when the value is easypaisa, accountnumber is required)

bankcode

yes

string

Bank code (eg: 10)

accountnumber

yes

string

Required for bank card withdrawals, please enter the bank card number

jazznumber

yes

string

Whether you pay by bank card or wallet, the jazzcash wallet account number is required (for easypaisa payment, please fill in the easypaisa account number)

idnumber

yes

string

Jazzcash wallet withdrawal is required. Please fill in the CNIC code that matches the wallet 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

Withdrawal callback address

pay_md5sign

yes

string

signature

 

Response Parameters

Parameter name

Required

type

illustrate

success

yes

string

True if successful and false if failed

errCode

yes

string

0

errMsg

yes

string

Withdrawal status message

Request to example

{
    "mchid": "10006",
    "out_trade_no": "1728992831554",
    "money": "500.00",
    "applydate": "2024-10-15 19:47:11",
    "payment_code": "11711",
    "notifyurl": "http://test.com/server.php",
    "type": "bank",
    "bankcode": "This email address is being protected from spambots. You need JavaScript enabled to view it.",
    "accountnumber": "09525884565",
    "jazznumber": "634746454",
    "userid": "1545"
}

Return example

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