Docs
  • Introduction
  • Get Started
    • Introduction
    • Preparation
  • Instant Payment
    • overview
    • instant payment apply API
    • instant payment confirm API
    • instant payment notification
    • instant payment result query.md
    • balance-query-api
  • MPAY Payment API
    • Overview
    • Card Bind Apply API
    • Card Bind Verify API
    • MPAY Apply Direct API
    • MPAY Verify Direct API
    • Asynchronous Notification
    • Payment Result Query API
  • Unified gateway payment
    • Overview
    • Payment Creation Direct API
    • New Online Banking Overview
  • Easy Payment
    • Overview
    • WEB Payment API
    • H5 Payment API
    • Easypay Apply Direct API
    • Easypay Verify Direct API
    • Pre-authorized capture API
    • Pre-authorized cancel API
    • Pre-authorized order status query API
    • Asynchronous Notification
    • Payment Result Query API
  • Online banking Payment
    • Overview
    • Payment API
    • Synchronous Notification
    • Asynchronous Notification
    • Payment Result Query API
  • Exchange Payment
    • Overview
    • Apply API
    • Verify API
    • Asynchronous Notification
    • Payment Result Query API
  • Aggregate Payment
    • Overview
    • Redirect API
    • Direct API
    • Asynchronous Notification
    • Payment Result Query API
  • Relevant API
    • Card Bind
      • Apply API
      • Verify API
      • Unbind API
      • Query API
    • Refund
      • Apply API
      • Result Query API
      • Asynchronous Notification
    • Card Bin Query API
  • Development
    • Singature
      • Key Configuration
      • Add Sign
      • Verify Sign
    • Asynchronous Notification
    • Risk Item
    • Transaction Report
    • Return Codes
    • Supported Currencies
    • Supported Banks
Powered by GitBook
On this page
  • Endpoint
  • Request Parameters
  • Sample Request
  • Response
  • Parameter
  • Sample Response
  1. Aggregate Payment

Payment Result Query API

You can call this API from server-side to obtain the information on a particular transaction.

Endpoint

https://wallet.lianlianpay.com/llwalletapi/orderquery.htm

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

curl https://wallet.lianlianpay.com/llwalletapi/orderquery.htm \
-H "Content-type:application/json;charset=utf-8" \
-d '{
        "oid_partner":"201103171000000000",
        "dt_order":"20130515094013", 
        "no_order":"2013051500001", 
        "sign_type ":"RSA",
        "sign":"ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk=" 
    }'

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

{
    "oid_partner":"201103171000000000",
    "dt_order":"20130515094013",
    "no_order":"2013051500001",
    "result_pay":"SUCCESS",
    "oid_paybill":"2013051500001",
    "money_order":"49.65",
    "settle_date":"20130515",
    "info_order":"用户13958069593购买了3桶羽毛球",
    "pay_type":"2",
    "bank_code":"01020000",
    "sign_type":"RSA",
    "sign":"ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk="
}
PreviousAsynchronous NotificationNextCard Bind

Last updated 5 years ago

0000, Refer to

return codes