Payment Result Query API
You can call this API from server-side to obtain the information on a particular transaction.
Endpoint
Request Parameters
Name
Required
Type(length)
Description and Example
Basic Parameters
oid_partner
Required
String(18)
A unique 18 digit number to identify a contracted merchant account. . E.g. 201304121000001004
sign_type
Required
String(3)
RSA
sign
Required
String
Signature value
Business Parameters
no_order
Optional
String(32)
Merchant order No.It's an either-or choice between no_order and oid_paybill.
dt_order
Optional
String(14)
Merchant order date. Format: YYYYMMddHHmmss, E.g. 20170801225714
oid_paybill
Optional
String(14)
The unique trade number in lianlian Pay system.
query_version
Optional
String(6)
The query API version.The default is 1.0
user_id
Optional
String(32)
The unique identification assigned to the user in the merchant’s system
Sample Request
Response
Parameter
Name
Required
Type
Description
ret_code
Required
String(4)
ret_msg
Required
String(100)
交易成功
oid_partner
Required
String(18)
The unique identification assigned to the merchant. E.g. 201304121000001004
sign_type
Required
String(3)
RSA
sign
Required
String
Signature value
no_order
Optional
String(32)
Merchant order No.
dt_order
Optional
String(14)
Merchant order date. Format: YYYYMMddHHmmss, E.g. 20170801225714
oid_paybill
Optional
String(18)
Unique transaction No. in LianLian system. E.g. 2011030900001098
money_order
Optional
String(12)
Merchant order amount, range: 0.01 ~ 100,000,000.00, 2 decimal places are expected, in CNY
result_pay
Optional
String
Payment result. E.g. SUCCESS
settle_date
Optional
String(8)
Format YYYYMMdd. Returns when payment is successful
info_order
Optional
String(255)
Returns when info_order
is sent in API requests
pay_type
Optional
String
The payment method used in this transaction. 0, balance payment 1, online banking payment (debit card) 8, online banking payment (credit card) 9, business online banking payment 2, express payment (debit card) 3, express payment (credit card) D, verified payment I, WeChat Payment L, Alipay Payment
bank_code
Optional
String
Short code of banks
bank_name
Optional
String
Name of banks
memo
Optional
String
Payment information from bank side
Sample Response
Last updated