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 |
THB bank withdrawal product code: 10303. The product must be enabled for your merchant account. |
|
money |
yes |
string |
Payment amount (unit: YES, current currency, 2 decimal places, 100.00) |
|
bankname |
yes |
string |
Bank name or code, e.g. KBANK (bank code 001). See the bank code list. |
|
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 |
|
accountname |
yes |
string |
Bank customer name |
|
bankcode |
yes |
string |
Bank code |
|
pay_md5sign |
yes |
string |
signature |
Response Parameters
|
Parameter name |
Required |
type |
Description |
|
success |
yes |
string |
True if successful and false if failed |
|
errCode |
yes |
string |
0 |
|
errMsg |
yes |
string |
Withdrawal status message |
Request Example
THB bank example: KBank / KBANK, bankcode 001, payment_code 10303. Replace the example merchant, beneficiary, timestamps and callback URL with your own values, then generate pay_md5sign using your merchant key and the existing signature rules. The account number and signature below are placeholders.
|
{ |
Return to example
|
{ |