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
  • Request
  • Endpoint
  • Parameter
  • Sample Request
  • Response
  • Parameter
  • Sample Response
  1. Relevant API
  2. Card Bind

Verify API

PreviousApply APINextUnbind API

Last updated 6 years ago

This API verify the SMS verification code, token and then do the card bind action, it needs to be used in conjunction with to complete card bind action.

Request

Endpoint

https://mpayapi.lianlianpay.com/v1/bankcardbindverfy

Parameter

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 or SHA256withRSA

sign

Required

String

token

Required

String

user_id

Required

String(32)

The unique identification assigned to the user in the merchant’s system

verify_code

Required

String

Sample Request

curl https://traderapi.lianlianpay.com/bankcardbindverfy.htm \
-H "Content-type:application/json;charset=utf-8" \
-d '{
        "oid_partner": "201103171000000000",
        "token": "D096DBA0E3E0CC8F1D504C06E71D292D",
        "user_id": "2013051500001",
        "verify_code": "666666",
        "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)

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_partner

Required

String(18)

The unique identification assigned to the merchant. E.g. 201304121000001004

user_id

Required

String(32)

The unique identification assigned to the user in the merchant’s system

card_no

Required

String(4)

The card no used in original request.

no_agree

Optional

String(16)

Sample Response

{
    "ret_code": "0000",
    "ret_msg": "交易成功",
    "oid_partner": "201103171000000000",
    "user_id": "2013051500001",
    "card_no ": "622202112313213123",
    "no_agree": "2013051613121201",
    "sign_type": "RSA",
    "sign": "ZPZULntRpJwFmGNIVKwjLEF2Tze7bqs60rxQ22CqT5J1UlvGo575QK9z/+p+7E9cOoRoWzqR6xHZ6WVv3dloyGKDR0btvrdqPgUAoeaX/YOWzTh00vwcQ+HBtXE+vPTfAqjCTxiiSJEOY7ATCF1q7iP3sfQxhS0nDUug1LP3OLk="
}

Signature value, refer to

The token returned in

The SMS verification code which is sent out by

Return code, whether the request is handled successfully or not. Refer to

Signature value, refer to

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

Card Bind Apply API
signature document
Card Bind Apply API
Card Bind Apply API
return codes
signature document
Card bind document