Disbursement
Request URL (Sandbox)
/trade/pay
Request Method
POST
Parameters
mch_order_no
Y
string
Merchant order number, should be unique
amount
Y
int
Amount of transferred fund
min:10000
bank_code
Y
string
Bank code
bank_card
Y
string
Bank account number
user_name
Y
string
Account holder's name
user_mobile
Y
string
mobile
eg:628XXXXXXXX
mch_id
Y
int
merchant id
appid
Y
int
app id
Request example
Response example
Respones parameters
code
string
“0”means disbursement success
message
string
description
data[].order_no
N
string
MonetaPay unique order number
data[].mch_order_no
N
string
merchant order number
data[].status
N
int
0-pending,
1-success,
2-failed
data[].pay_msg
Y
string
transaction description
MonetaPay callback notification
Merchant should provide the callback url.
response will in json format.
MonetaPay will sign according to the key of the current merchant, and the data is transmitted in an encrypted way. After the merchant obtains the data, it decrypts the data and then checks the signature.
Request Parameters
order_no
Y
string
MonetaPay unique order number
mch_order_no
Y
string
Merchant order number
status
Y
int
0 - pending
1 - succes
2- fail
pay_msg
Y
string
Transaction description
pay_time
Y
string
Transaction time
Format:
YYYY-MM-DD HH:ii:ss
Request example
POST /Postback_url HTTP/1.1
Host: www.examble.com
Content-Type: application/json
Cache-Control: no-cache
{“data”:{“en_data”:”xxxxxxxxxxxxxx”}}
en_data
is the result of encrypting the parameter data. For the encryption algorithm, please refer to the encryption description.
Response example
Response Parameters
code
int
N
0 means success, when code is not 0, data can be empty
message
string
N
Description of the status
Last updated