OPEN-API
    • API Call Description
    • Constant Declaration
      • Wallet
        • Wallet Status
        • In Out Type
        • Transaction Type
        • Transaction Status
      • Bin
        • Bin Type
        • Bin Mode
        • Bin Status
      • Card
        • Card Status
        • Card Trade
          • Card Trade Type
          • Card Trade Result
      • Order
        • Card Type
        • Order Type
        • Order Status
        • Order Bill
          • Order Bill Type
          • In Out Type
          • Bill Category
      • Payee
        • Payee Status
      • Payment
        • Fee Mode
        • Payment Status
    • Webhook
      • Card Notify
        • Order
        • Card
        • Card Trade
      • Payee Notify
      • Payment Notify
      • Wallet Notify
    • Api
      • Wallet
        • 钱包列表
        • 钱包详情
        • 交易流水列表
        • 交易详情
        • 获取兑换汇率
      • Card
        • Bin
          • 卡Bin列表
          • 卡Bin详情
          • 卡Bin费用
          • 卡Bin限制
        • Card
          • 卡列表
          • 卡详情
          • 卡激活
          • 卡冻结
          • 卡解冻
          • 发起销卡
          • 卡交易列表
          • 商户交易评分
        • Order
          • 开卡
          • 卡充值
          • 订单列表
          • 订单详情
        • Holder
          • 持卡人列表
          • 创建持卡人
          • 编辑持卡人
          • 持卡人详情
          • 删除持卡人
      • PayMethod
        • 付款方式
      • Payee
        • 运营资金来源列表
        • 预期付款目的列表
        • 创建收款方
        • 编辑收款方
        • 申请收款方
        • 删除收款方
        • 收款方列表
        • 收款方详情
      • Payment
        • 付款原因
        • 创建付款
        • 付款列表
        • 付款详情

    API Call Description

    Host#

    Sandbox: https://api.sandbox.lemft.com
    Production: https://api.lemft.com

    Version#

    v1

    Limit#

    接口在调用时,相同的请求URL,会进行迸发限制,同一时刻多次调用时,只有一次会成功,其余的会因限制返回错误 10004(currently too many requests, try again later)。

    Http Method#

    HTTP GET|POST

    Common Header#

    字段类型是否必填描述
    timestamplong是当前UTC时间戳,请使用UTC 0时区。
    如果timestamp值小于当前时间值设定的范围,接口会返回错误码 10003(request time exceeded limit)
    signaturestring是通过签名算法,对参数进行签名后得签名串,签名算法请查看Sign章节。
    traceidstring否请求唯一id,非必填项,建议调用方将traceid填写,并且保证traceid唯一。

    Common Param#

    字段类型是否必填描述
    customer_idlong是客户id,在Global平台认证客户后,可获得customer_id。
    app_idlong是应用id,在Global平台上创建的应用id。
    keystring是授权key,在Global平台上创建的授权key,并需要与应用id绑定。

    Sign#

    使用HMAC-SHA256签名进行参数签名
    获取当前UTC 0时区时间戳,如:1697696752。
    获取调用接口需要的参数 Json Body,并转成字符串格式,如:{\"min\":0,\"max\":1000}。
    拼接 param 和 timestamp,即: param + timestamp,如:{\"min\":0,\"max\":1000}1697696752。
    通过apiKey(签名密钥)和param,进行HMAC-SHA256签名,apiKey 请在 Global平台上申请。
    需要注意:区分apiKey和Common Param中的key,这是两个不同的字段。Common Param中的key是用于app_id的授权校验,签名要用apiKey(签名密钥)

    示例#

    Java#

    Go#

    Php#

    常见错误码#

    错误码描述
    10001param error
    10002signature error
    10003request time exceeded limit
    10004currently too many requests, try again later
    10005system error
    修改于 2026-03-19 06:16:49
    下一页
    Constant Declaration
    Built with