Asynchronous Notification

This asynchronous notification is sent out to the notify_url of the original request whenever a transaction is confirmed as SUCCESS in our system.

Refer to asynchronous notification for the introduction of its concept and its requirements.

Parameters

Name

Required

Type

Description

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

Required

String(32)

Merchant order No.

dt_order

Required

String(14)

Merchant order date. 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 order amount, range: 0.01 ~ 100,000,000.00, 2 decimal places are expected, in CNY

result_pay

Required

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

Required

String

The payment method used in this transaction. 2, Quick payment - Debit card 3, Quick payment - Credit card P, New Authenticate Payment

bank_code

Optional

String

Short codes of banks

no_agree

Optional

String

A token which represents the key payment information, refer to Binding Card for more details

id_type

Optional

String(1)

Returned after configuration. 0, ID card 2, Passport 3, Military Officer Certificate 4, Hong Kong-Macau laissez-passer 6, Mainland travel permit for Taiwan residents 9, Police Officer card X, other certificates

id_no

Optional

String

Returned after configuration. The number of User's ID card. The length need to be either 15 or 18.

acct_name

Optional

String

Returned after configuration. The name of payer, in Chinese

card_no

Optional

String

Returned after configuration. User's card number

Sample asynchronous notification

curl ${notify_url} \
-H "Content-type: text/json;charset=utf-8" \
-d '{
       "oid_partner":"201103171000000000", 
       "dt_order":"20130515094013", 
       "no_order":"2013051500001", 
       "oid_paybill":"2013051613121201", 
       "money_order":"210.97", 
       "result_pay":"SUCCESS", 
       "settle_date":"20130516", 
       "info_order":"用户13958069593购买了3桶羽毛球", 
       "pay_type":"P", 
       "bank_code":"01020000", 
       "sign_type":"RSA", 
       "sign":"ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk="    
       }'

Last updated