Query API
This API is useful to obtain all the card bind records of a user identification.
Request
Endpoint
Request 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
user_id
Required
String(32)
The unique identification assigned to the user in the merchant’s system
platform
Optional
String(32)
Used for sharing user information between several oid_partner
, do NOT use it if you are not sure, or ask help from LianLian Supports
pay_type
Optional
String
2, Express Payment (Debit card) 3, Express Payment (Credit card) D, Verified Payment M, easypay payment (regular payments) F, easypay payment( authorization)
no_agree
Optional
String
Permanent token. Only the information which belongs to no_agree
would be returned if it is present
card_no
Optional
String
Card number. Only the information which belongs to card_no
would be returned if it is present
offset
Required
String(8)
The offset of query result. Generally 0 is enough. Possible value: 0, 1, 2, 3, ...
Sample Request
Response
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
sign_type
Required
String(3)
RSA
sign
Required
String
oid_paybill
Required
String(18)
Unique transaction No. in LianLian system. E.g. 2011030900001098
user_id
Required
String(32)
The unique identification assigned to the user in the merchant’s system
count
Required
String(8)
The count of no_agree
aggrement_list
Optional
List
A list of no_agree
which belongs to the current user_id
, in reverse chronological order
Below parameters are included in agreement_list
:
Name
Required
Type
Description
no_agree
Required
String(16)
card_no
Required
String(4)
Last 4 digits of used card
bank_code
Required
String(8)
The bank short code of used card
bank_name
Required
String(32)
The bank name of used card, in Chinese
card_type
Required
String(1)
2, debit card 3, credit card
bind_mobile
Required
String(11)
Masked user phone number
Last updated