LianLian Global Conversion API

The Conversion API from LianLian Global — 2 operation(s) for conversion.

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

OpenAPI Specification

lianlian-global-conversion-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: Distribution Account Conversion API
  version: '1.0'
host: global-api-sandbox.lianlianpay-inc.com
basePath: /b2b-import/v1
schemes:
- https
consumes:
- application/json
produces:
- application/json
tags:
- name: Conversion
paths:
  /v1/conversion:
    post:
      summary: 发起汇兑
      tags:
      - Conversion
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conversion'
        '400':
          description: Bad Request
      operationId: get-v1-conversion
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                conversion_id:
                  type: string
                  description: 平台汇兑唯一交易编号
                  maxLength: 32
                pricing_currency:
                  type: string
                  description: '定价币种,3位,参考:

                    https://www.iso.org/iso-4217-currency-codes.html'
                source_currency:
                  type: string
                  description: '源币种,3位,参考:

                    https://www.iso.org/iso-4217-currency-codes.html'
                target_currency:
                  type: string
                  description: '目的币种,3位,参考:

                    https://www.iso.org/iso-4217-currency-codes.html'
                target_amount:
                  type: string
                  description: 目的金额,如果`pricing_currency`= `target_currency`则必填
                  maxLength: 16
                source_amount:
                  type: string
                  description: 源金额,如果`pricing_currency`= `source_currency`则必填
                  maxLength: 16
              required:
              - conversion_id
              - pricing_currency
              - source_currency
              - target_currency
  /v1/conversion/{conversion_id}:
    parameters:
    - schema:
        type: string
      name: conversion_id
      in: path
      required: true
    get:
      summary: 查询汇兑信息
      tags:
      - Conversion
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Conversion'
      operationId: get-v1-conversion-conversion_id
components:
  schemas:
    Conversion:
      title: Conversion
      x-stoplight:
        id: t446s2n3qdy3b
      type: object
      properties:
        conversion_id:
          type: string
          description: 平台汇兑唯一交易编号
          maxLength: 32
        pricing_currency:
          type: string
          description: 定价币种,3位,参考https://www.iso.org/iso-4217-currency-codes.html
        source_currency:
          type: string
          description: 源币种,3位,参考https://www.iso.org/iso-4217-currency-codes.html
        source_amount:
          type: string
          description: 源金额
          maxLength: 16
        target_currency:
          type: string
          description: 目的币种,3位,参考https://www.iso.org/iso-4217-currency-codes.html
        target_amount:
          type: string
          description: 目的金额
          maxLength: 16
        rate:
          type: string
          description: 汇率
          maxLength: 16
        status:
          type: string
          description: 汇兑状态
          enum:
          - PROCESSING
          - FAILED
          - SUCCESSED
        failed_reason:
          type: string
          description: 汇兑失败原因
          maxLength: 256
        create_time:
          type: string
          description: 创建时间,10位 秒级时间戳
        modify_time:
          type: string
          description: 更新时间,10位 秒级时间戳