LianLian Global Checkout API

The Checkout API from LianLian Global — 1 operation(s) for checkout.

Operations 1

POST /accept_payments/checkout/sessions Create a checkout session #

Specifications

Other Resources

🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/b2b-cross-border/ZG9jOjQ1Mg-open-api
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/B2B-inflow-payout/ZG9jOjQ1Mg-open-api
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/llp-api/4b402d5ab3edd-api-introduction-v1-2
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/cards-open-api/4b402d5ab3edd-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/connect/ydcoebflkrejd-connect-api
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/connect-ota/4b402d5ab3edd-open-api
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/lppe/72b66de24898e-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/outbound-payout/4b402d5ab3edd-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/outbound-payout-ka/4b402d5ab3edd-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/outbound-payout-service/4b402d5ab3edd-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/outbound-payout-verification/ztrytr7ruzey9-balance-api
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/llg-payments/4b402d5ab3edd-summary
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/global-payout/ZG9jOjQ1Mg-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/global-payout-fx/e13ca9b34d037-exchange
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/global-payout-tuition/4b402d5ab3edd-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/standard-remittance/4b402d5ab3edd-api-introduction
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/triplink/d04slm5ra253f-
🔗
DeveloperPortal
https://developer.lianlianglobal.com/docs/e-wallet-openapi/72b66de24898e-introduction

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lianlian-global-checkout-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lianlian-global-checkout-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Accept Payments Checkout API
  version: '1.0'
  summary: accept payments
  description: '通过集成LianLian Global在线支付API,实现在网站和移动应用程序上接受银行卡、钱包和本地支付方式的付款。开发者可以通过多种方式与我们的在线支付API集成。 这些范围从使用预构建的集成到构建您自己的UI以完全控制您的支付体验。

    '
servers:
- url: https://global-api.lianlian.com/api/v1
tags:
- name: Checkout
paths:
  /accept_payments/checkout/sessions:
    parameters: []
    post:
      summary: Create a checkout session
      tags:
      - Checkout
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
        '400':
          description: "code | message \n---------|----------\n PARAM_ERROR | A parameter value is not valid.\n MISSING_REQUIRED_PARAMETER | A required parameter in the request is missing.\n EXPIRES_TIME_INVALID|The expires time is not supported.\n MERCHANT_PAY_CONFIG_NOT_EXIST|The merchant config does not exist.\n MERCHANT_PAY_CONFIG_INCORRECT|The merchant config is incorrect.\n MERCHANT_ACCT_CUR_ERROR|The merchant does not support this currency.\n MERCHANT_ACCT_NOT_EXIST|The merchant currency account doesn't exist.\n MERCHANT_ACCT_STATUS_INVALID|The merchant status is invalid.\n MERCHANT_ACCT_BIZ_INVALID|The merchant bizType is invalid.\n MERCHANT_PAY_METHOD_NOT_EXIST|Payment method not exist.\n MERCHANT_PAY_METHOD_INVALID|Payment method not supported.\n ORDER_EXIST_AND_EXPIRED|The order exists but has expired, please change the order information and create again.\n CUR_SUPPORT_ERROR|The currency is not supported.\n ORDER_AMOUNT_ERROR|Currency order amount is incorrect.\n ORDER_AMOUNT_LIMIT_ERROR|The amount exceeds the limit for that currency.\n MERCHANT_CHARGE_COLLECT_WAY_BLANK|The charge collect way is blank.\n MERCHANT_CHARGE_COLLECT_WAY_INVALID|The charge collect way not supported.\n REQUEST_ID_IS_NOT_UNIQUE|The request id is not unique.\n CREATE_PAYMENT_PARAM_INVALID|Parameter(s) missing or incorrect.\n PAYMENT_ALREADY_EXISTS|Payment already exists.\n PAYMENT_CLOSED|Payment has been closed.\n MERCHANT_ACCT_STATUS_INVALID|The merchant status is invalid.\n SUBMIT_PAYMENT_PARAM_INVALID|Parameter(s) missing or incorrect.\n PAYMENT_NOT_EXIST|Payment does not exist.\n PAYMENT_REPEAT|Payment has already been successfully paid.\n PAYMENT_FAILED|Payment unsuccessful.\n PAYMENT_ANOMALY|Payment anomaly.\n PAYMENT_PROCESSED|Payment being processed.\n REQUEST_CONFLICT|The request cannot be processed as another request is being processed."
          content:
            application/json:
              schema:
                $ref: ../models/Error.yaml
        '500':
          description: "code | message \n---------|----------\n INTERNAL_SERVER_ERROR|An internal server error has occurred.\n"
          content:
            application/json:
              schema:
                $ref: ../models/Error.yaml
      operationId: post-checkout-sessions
      x-stoplight:
        id: w75rld3e64kjt
      description: '## 功能说明

        Checkout是一种预先构建的付款形式,企业可以使用Checkout在网站上完成收款。Checkout Session提供一个支付URL,将客户重定向到支付页面完成付款。通过该接口创建Checkout Session获取收银台的支付URL。

        ## 防重和幂等说明

        - request_id、amount、currency、customer.identifier相同 且 支付状态为CREATED或PROCESSING时,返回最新的支付收银台url;

        - request_id相同 且 amount、currency、customer.identifier任一不同时,返回`REQUEST_ID_IS_NOT_UNIQUE`错误。

        - request_id不同时,按全新交易处理,创建新的支付收银台url。'
      security:
      - 客户端凭据授权: []
      parameters:
      - schema:
          type: string
        in: header
        name: Content-Type
        description: application/json
      - schema:
          type: string
        in: header
        name: Authorization
        description: Bearer <Token>
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - request_id
              - amount
              - currency
              - customer
              - product_info
              properties:
                request_id:
                  type: string
                  x-stoplight:
                    id: ep4ih9igtf051
                  description: 商户系统中该笔订单的唯一编码
                  maxLength: 64
                  minLength: 1
                  example: 4e95132208654df990eb9b34edfefdca
                amount:
                  type: string
                  x-stoplight:
                    id: easgu7yu5jlmp
                  description: 订单金额,商户需要用户支付的订单金额,单位元
                currency:
                  type: string
                  x-stoplight:
                    id: o9kw04yyi0x6a
                  description: 订单币种,[ISO 4217](https://www.iso.org/iso-4217-currency-codes.html)三位字母货币代码,商户需要用户支付的订单币种
                customer:
                  type: object
                  x-stoplight:
                    id: yq6oqxnlqg0zh
                  required:
                  - identifier
                  properties:
                    identifier:
                      type: string
                      x-stoplight:
                        id: iqbj8fg8ul2z4
                      description: 用户在商户系统中的唯一编号
                      minLength: 1
                      maxLength: 64
                    name:
                      type: string
                      x-stoplight:
                        id: co6xm504dtdhz
                      description: 付款人的姓名或公司名称
                      minLength: 1
                      maxLength: 64
                    identification_type:
                      x-stoplight:
                        id: e4mtzadoqlllk
                      enum:
                      - ID_CARD
                      - UNIFIED_SOCIAL_CREDIT_ID
                      description: '付款人的证件类型,payment_method为CN_FAST_PAYMENT_CREDIT_CARD或CN_FAST_PAYMENT_DEBIT_CARD时,identification_type必须填ID_CARD

                        枚举值|说明

                        ----|----

                        ID_CARD|中国大陆居民身份证

                        UNIFIED_SOCIAL_CREDIT_ID|中国大陆企业统一社会信用代码证'
                    id_number:
                      type: string
                      x-stoplight:
                        id: chgwg92je8j2p
                      description: 付款人的证件号码,18位有效的个人身份证号码或统一社会信用代码证
                      minLength: 1
                      maxLength: 24
                payment_method:
                  x-stoplight:
                    id: 1wv4y8l6r4bk0
                  description: '支付方式

                    枚举值|说明

                    ----|----

                    CN_FAST_PAYMENT_CREDIT_CARD|CNY 快捷支付信用卡

                    CN_FAST_PAYMENT_DEBIT_CARD|CNY 快捷支付借记卡

                    CNY_COMPANY_BANK_CARD|CNY 企业网银

                    '
                  enum:
                  - CN_FAST_PAYMENT_CREDIT_CARD
                  - CN_FAST_PAYMENT_DEBIT_CARD
                  - CNY_COMPANY_BANK_CARD
                description:
                  type: string
                  x-stoplight:
                    id: 2dq2vv6iv2lf3
                  description: 订单的描述信息,会显示在收银台页面。默认值:取product_info中的第一条商品名称
                  maxLength: 256
                  example: 支付广告年费
                expires_time:
                  type: number
                  x-stoplight:
                    id: 33pna3yakcw5m
                  description: 订单的过期时间,13位时间戳毫秒。默认值:从订单创建时间起,7天后过期。超过过期时间,支付状态将变为`EXPIRED`
                  maximum: 13
                  minimum: 13
                  example: 1712635467276
                product_info:
                  type: array
                  x-stoplight:
                    id: 93bw6rd1pzhfb
                  description: 商品信息,最多15条商品明细
                  maxItems: 15
                  items:
                    x-stoplight:
                      id: g2dfm9rlcexds
                    type: object
                    required:
                    - product_name
                    - quantity
                    properties:
                      product_name:
                        type: string
                        x-stoplight:
                          id: e048inpng5ibc
                        description: 商品名称
                        maxLength: 256
                      quantity:
                        type: integer
                        x-stoplight:
                          id: o7nyce1fehpgc
                        description: 商品数量
                      category:
                        type: string
                        x-stoplight:
                          id: 0q0qkpnl8f3hd
                        description: 商品类目
                        maxLength: 64
                return_url:
                  type: string
                  x-stoplight:
                    id: 912x2rtgxu3io
                  description: 用户在收银台页面完成付款或取消支付时,重定向跳回的地址。
                  maxLength: 255
                metadata:
                  type: object
                  x-stoplight:
                    id: aolu8xgebax15
                  description: 商户自定义的数据,可以key-value pairs 的方式设置值。转换为String长度<= 1024 characters
                additional_info:
                  type: object
                  x-stoplight:
                    id: bg5om60cj6cf0
                  description: 扩展字段,附加信息
components:
  schemas:
    Payment:
      title: Payment
      x-stoplight:
        id: 0j3wys1kil3ym
      type: object
      properties:
        id:
          type: string
          x-stoplight:
            id: dpu3lfw0yvobq
          description: LianLian GLobal系统的唯一编号
        request_id:
          type: string
          x-stoplight:
            id: cbruq0anfc7my
          description: 商户系统中该笔订单的唯一编码
        amount:
          type: string
          x-stoplight:
            id: 1yr0qexvyvwda
          description: 订单金额,商户需要用户支付的订单金额,单位元
        currency:
          type: string
          x-stoplight:
            id: 40j3jpzjiklmp
          description: 订单币种,ISO 4217三位字母货币代码,商户需要用户支付的订单币种
        status:
          x-stoplight:
            id: luwt1l1uh3d4n
          enum:
          - CREATED
          - PROCESSING
          - SUCCEEDED
          - CANCELED
          - EXPIRED
          - REQUIRES_ACTION
          description: '支付状态

            枚举值|说明

            ----|----

            CREATED|已创建,等待支付

            PROCESSING|支付中

            REQUIRES_ACTION|待验证码验证支付

            SUCCEEDED|成功

            CANCELED|已取消

            EXPIRED|过期'
        payment_method:
          x-stoplight:
            id: al4uj0pwcgu9j
          enum:
          - CN_FAST_PAYMENT_CREDIT_CARD
          - CN_FAST_PAYMENT_DEBIT_CARD
          - CNY_COMPANY_BANK_CARD
          description: '支付方式

            枚举值|说明

            ----|----

            CN_FAST_PAYMENT_CREDIT_CARD|银行卡快捷支付信用卡

            CN_FAST_PAYMENT_DEBIT_CARD|银行卡快捷支付借记卡

            CNY_COMPANY_BANK_CARD|CNY 企业网银

            '
        payment_currency:
          type: string
          x-stoplight:
            id: eg7xw8otcawb4
          description: 支付币种,ISO 4217三位字母货币代码。
        payment_amount:
          type: string
          x-stoplight:
            id: j9m8mpafqk950
          description: 支付金额
        fx:
          type: object
          x-stoplight:
            id: tenwszm7o2on9
          description: payment_currency与currency不相同时,对应的汇率
          properties:
            rate:
              type: string
              x-stoplight:
                id: 8p6zd6gmwyp11
              description: 汇率
            currency_pair:
              type: string
              x-stoplight:
                id: hbx3600outjd4
              description: 币种对
            base_currency:
              type: string
              x-stoplight:
                id: 86tklh88pstqy
              description: 基础币种
        payment_time:
          type: number
          x-stoplight:
            id: s7r8h0vsyws5i
          description: 支付完成时间,13位时间戳
        accounting_date:
          type: string
          x-stoplight:
            id: h02odxwgk62wn
          description: 记账日期,格式yyyyMMdd,例如20240308
        metadata:
          type: object
          x-stoplight:
            id: mv18ha5grzh0l
          description: 商户自定义的数据,可以key-value pairs 的方式设置值。
        url:
          type: string
          x-stoplight:
            id: c39h6umfg38b0
          description: 支付收银台的url地址(Checkout URL),可以将用户重定向到该url地址,打开收银台页面。url在40分钟内有效,超过40分钟后需要重新获取。
        create_time:
          type: number
          x-stoplight:
            id: t5yzt9ife9xgz
          description: 创建时间,13位时间戳
        update_time:
          type: number
          x-stoplight:
            id: r2h9170uhq8s1
          description: 更新时间,13位时间戳
        business_type:
          type: string
          x-stoplight:
            id: io6j2ri2cd9nb
          description: "业务类型\n枚举 | 说明 \n---------|----------\nYICAIFU|易采付"
  securitySchemes:
    Component:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: ''
          refreshUrl: ''
          scopes: {}
x-stoplight:
  id: 91jfx04sdnbg4