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
  • Exchange Payment Asynchronous Notification
  • Request
  • Parameters
  • Sample Request
  1. Exchange Payment

Asynchronous Notification

PreviousVerify APINextPayment Result Query API

Last updated 5 years ago

Exchange Payment 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 for the introduction of its concept and its requirements.

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)

Fixed value, RSA

sign

Required

String

no_order

Required

String(32)

Merchant transaction No.

dt_order

Required

String(14)

The date when the transaction is initialized. Format: yyyyMMddHHmmss, E.g. 20170801225714

oid_paybill

Required

String(18)

Unique transaction No. in LianLian system. E.g. 2011030900001098

result_pay

Required

String

Payment result. SUCCESS - Payment proceed successfully PROCESSING - Payment is processing. Return only when No SMS Verification Flow is setup

settle_date

Required

String(8)

Format YYYYMMDD.

info_order

Optional

String(255)

Returns when info_order is sent in API requests

pay_type

Required

String(1)

The pay type used in current transaction.

bank_code

Optional

String(8)

The bank short code of the payer's card issuer

currency_order

Required

String(3)

money_order

Required

String(12)

Merchant transaction amount, range: 0.01 ~ 100,000,000.00, 2 decimal places are expected, in the currency of currency_order

currency_settle

Required

String(3)

The settle currency of transaction

money_settle

Required

String(12)

The settle amount of transaction

currency_pay

Required

String(3)

money_pay

Required

String(12)

The amount of which the payer payed

exchange_rate

Required

String

The exchange rate of current transaction

no_agree

Optional

String(16)

Sample Request

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": "31.68",
        "currency_order": "USD",
        "money_pay": "210.97",
        "currency_pay": "CNY",
        "money_sellte": "31.47",
        "currency_sellte": "USD",
        "exchange_rate": "6.66",
        "result_pay": "SUCCESS",
        "settle_date": "20130516",
        "info_order": "用户13958069593购买了3桶羽毛球",
        "pay_type": "D",
        "bank_code": "01020000",
        "ret_code": "0000",
        "ret_msg": "交易成功",
        "sign_type": "RSA",
        "sign": "ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk="
    }'

Signature value, refer to

The currency used in the transaction. Refer to

The currency of which the payer used. Refer to

A token which represents the key payment information, refer to for more details. Return when it is configured.

asynchronous notification
signature document
supported currencies
supported currencies
Card binding document