MPAY Verify Direct API
This API is used to do the verification step of MPAY Payment request
Request
Endpoint
Direct APIs have an additional requirement which involves our payment risk control team and due diligence team. You need to contact your account manager to obtain the access.
Request Parameters
Name
Required
Type
Description
oid_partner
Required
String(18)
The unique identification assigned to the merchant. E.g. 201304121000001004
no_order
Required
String(32)
Merchant transaction No.
token
Required
String
It'll lose effectiveness in 30 minutes.
sign_type
Required
String(3)
RSA or SHA256withRSA
sign
Required
String
money_order
Required
String(12)
Merchant order amount, 2 decimal places are expected,
verify_code
Required
String(6)
id_no
,bind_mob,
,id_type
,card_no
are required ifno_agree
is NOT present.
Sample Request
Response
The response of this API is possible to include the payment result directly when your account has No SMS Verification Flow setup, for more details, please contact our technical support.
Parameters
Name
Required
Type
Description
ret_code
Required
String(4)
ret_msg
Required
String(100)
Return message, description of ret_code
, in Chinese
The following parameters are returned only when ret_code=0000
:
Name
Required
Type
Description
oid_partner
Required
String(18)
The unique identification assigned to the merchant. E.g. 201304121000001004
sign_type
Required
String(3)
Fixed value, RSA or SHA256WITHRSA
sign
Required
String
no_order
Required
String(32)
Merchant transaction No.
dt_order
Required
String(14)
The date when the transaction is initialized. Format: YYYYMMddHHmmss, E.g. 20170801225714
oid_paybill
Required
String(18)
Unique transaction No. in LianLian system. E.g. 2011030900001098.
money_order
Required
String(12)
Merchant transaction amount, range: 0.01 ~ 100,000,000.00, 2 decimal places are expected
token
Optional
String
info_order
Optional
String(255)
Returns when info_order
is sent in API requests
The following parameters are returned only when result_pay=SUCCESS
:
Name
Required
Type
Description
settle_date
Optional
String(8)
Format YYYYMMdd.
no_agree
Optional
String(16)
A token which represents the key payment information
Sample Response
Last updated