instant payment apply API
This API is used to transfer money from you merchant account to the bank account you designated in almost real time.
Request
Endpoint
Request Parameters
Name
Required
Type
Description
api_version
Required
String(6)
1.1
oid_partner
Required
String(18)
The unique identification assigned to the merchant. E.g. 201304121000001004
sign_type
Required
String(3)
RSA
sign
Required
String
flag_card
Required
String(1)
Flag of the card type. 1.Personal debit card 2.Business bank settlement accounts
money_order
Required
String(12)
Merchant order amount in CNY, 2 decimal places are expected.
no_order
Required
String(32)
Original merchant order No.
dt_order
Required
String(14)
Original merchant order date. Format: yyyyMMddHHmmss, E.g. 20170801225714
card_no
Required
String
User's card number
acct_name
Required
String
The name of the card holder, in Chinese.
info_order
Required
String(255)
info_order
will be sent back in asynchronous notification for parameters transmission.
memo
Required
String(24)
Note which maybe shown in the bank statement. Special characters will be filtered. The regular expression for single character filtering is [^a-zA-Z0-9\\u4e00-\\u9fa5-_]
notify_url
Required
String(128)
bank_code
Required for business bank settlement accounts.
String(18)
The bank short code of used card.
Sample Request
The request message before being encrypted.
Response
Parameters
Name
Required
Type
Description
ret_code
Required
String(4)
ret_msg
Required
String(100)
Return message, description of ret_code
, in Chinese
oid_partner
Required
String(18)
The unique identification assigned to the merchant. E.g. 201304121000001004
sign_type
Required
String(3)
RSA
sign
Required
String
no_order
Optional
String(32)
Original merchant order No.
confirm_code
Optional
String(6)
The following parameters are returned only when ret_code=0000
:
Name
Required
Type
Description
oid_paybill
Optional
String(18)
Unique transaction No. in LianLian system. E.g. 2011030900001098. Returned when the transaction object is created successfully.
Sample Response
Returned when the transaction object is created successfully.
Failure example.
When confirmation is needed.
demo
Last updated