1. Order
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
        • 开卡
          POST
        • 卡充值
          POST
        • 订单列表
          POST
        • 订单详情
          POST
      • Holder
        • 持卡人列表
        • 创建持卡人
        • 编辑持卡人
        • 持卡人详情
        • 删除持卡人
    • PayMethod
      • 付款方式
    • Payee
      • 运营资金来源列表
      • 预期付款目的列表
      • 创建收款方
      • 编辑收款方
      • 申请收款方
      • 删除收款方
      • 收款方列表
      • 收款方详情
    • Payment
      • 付款原因
      • 创建付款
      • 付款列表
      • 付款详情
  1. Order

订单详情

POST
/{{version}}/openApi/card/order/getOrder

使用场景#

 获取卡订单详情。
请求参数#
Http Post Application/json
字段类型是否必传描述
customer_idlong是客户id
app_idlong是应用id
keystring是授权key
order_idstring是LEMFT 平台订单id
示例
{
    "customer_id": 10000011,
    "app_id": 100001,
    "key": "ae9ae3f5ad284ef4836de18aa3d41c47",
    "order_id": "ord_neuWgSwV"
}
响应内容#
字段类型是否必传描述
order_infoobject是订单信息
order_info.order_idstring是订单 id
order_info.bin_idstring是bin id
order_info.holder_idstring是持卡人 id
order_info.out_order_idstring是外部交易订单 id
order_info.card_typeint是卡类型 1:实体卡 2:虚拟卡 3:虚拟固定面额卡
order_info.order_typeint是订单类型 1:开卡 2:充值
order_info.amountfloat是订单金额,单位:元
order_info.feefloat是手续费,单位:元
order_info.currencystring是币种
order_info.card_idstring是卡 id
order_info.statusint是状态 0:处理中; 1:已完成; 2:已退款; 3:异常; 4:审核中
order_info.track_codestring是快递单号
order_info.track_supplierdatetime是快递服务商
order_info.track_atdatetime是发货时间
order_info.complete_atdatetime是完成时间
order_info.create_atdatetime是创建时间
order_bill_listarray[object]是账单数组
order_bill_list.bill_typeint是账单类型 1:开卡 2:卡充值 3:退款
order_bill_list.in_out_typeint是收支类型 1:收入; 2:支出
order_bill_list.transaction_timedatetime是交易时间
order_bill_list.bill_listarray[object]是账单明细
order_bill_list.bill_list.bill_categoryint是1:开卡费 2:预充值费 3:充值费 4:手续费
order_bill_list.bill_list.amountfloat是金额,单位:元
示例
{
    "code": 0,
    "message": "success",
    "data": {
        "order_info": {
            "order_id": "ord_MEP9vKJi",
            "bin_id": "cpi_6530de6a2f1c7",
            "holder_id": "",
            "out_order_id": "out_10002000004",
            "card_type": 2,
            "order_type": 2,
            "amount": 20,
            "fee": 0.4,
            "currency": "USD",
            "card_id": "cid_YqcDBySrmt9iLFJy",
            "status": 1,
            "track_code": "",
            "track_supplier": "",
            "track_at": "out_10002000004",
            "complete_at": "2025-02-19 05:33:57",
            "create_at": "2025-02-19 05:33:57"
        },
        "order_bill_list": [
            {
                "bill_type": 2,
                "in_out_type": 2,
                "transaction_time": "2025-02-19 05:33:56",
                "bill_list": [
                    {
                        "bill_category": 3,
                        "amount": 20
                    },
                    {
                        "bill_category": 4,
                        "amount": 0.4
                    }
                ]
            }
        ]
    }
}

请求参数

Body 参数application/json

示例
{
    "customer_id": 10001004,
    "app_id": 100006,
    "key": "0408ab79eb214e7d81d9fd447b5916a2",
    "order_id": "ord_FL6Efqv7"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://prod-cn.your-api-server.com/{{version}}/openApi/card/order/getOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customer_id": 10001004,
    "app_id": 100006,
    "key": "0408ab79eb214e7d81d9fd447b5916a2",
    "order_id": "ord_FL6Efqv7"
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2026-03-19 06:16:48
上一页
订单列表
下一页
持卡人列表
Built with