1. 机票
龙虾开放平台(通用版)
  • 欢迎语
  • 快速开始
    • 接入流程
    • 公共请求头
    • 注意事项
    • 速率限制与配额策略
    • 鉴权说明
    • 错误码
  • AI 接入
    • AI接入说明
    • MCP
    • Code Mode
  • 机票
    • 机票接口说明
    • 机场搜索
      GET
    • 创建机票订单
      POST
    • 机票验价
      POST
    • 机票查询列表
      POST
    • 发起支付
      POST
    • 取消/退票
      POST
    • 查询取消手续费
      POST
    • 订单详情
      POST
    • 订单列表
      POST
  • 酒店
    • 酒店接口说明
    • 酒店查询列表
      POST
    • 酒店房型详情
      POST
    • 创建酒店订单
      POST
  • 数据模型
    • response.Response
    • schema.AirportSearchResponse
    • schema.FlightOrderCancelRequest
    • schema.FlightOrderCancelResponse
    • schema.FlightCancelFeeResponse
    • schema.FlightOrderCreateRequest
    • schema.FlightOrderCreateResponse
    • schema.FlightOrderDetailRequest
    • schema.FlightOrderDetailResponse
    • schema.FlightOrderListRequest
    • schema.FlightOrderListResponse
    • schema.FlightOrderPayRequest
    • schema.FlightOrderPayResponse
    • schema.FlightPricingRequest
    • schema.FlightPricingResponse
    • schema.FlightSearchResponse
    • schema.HotelOrderCreateRequest
    • schema.HotelOrderCreateResponse
    • schema.HotelRoomsRequest
    • schema.HotelRoomsResponse
    • schema.HotelSearchRequest
    • schema.HotelSearchResponse
    • schema.AirportItem
    • schema.ContactInfo
    • schema.InvoiceAddress
    • schema.PassengerInfo
    • schema.FlightOrderInfo
    • schema.FlightOrderItem
    • schema.PageInfo
    • schema.PassengerFareItem
    • schema.FlightItem
    • schema.GuestInfo
    • schema.RoomType
    • schema.HotelSearchFilters
    • schema.HotelItem
    • schema.CabinFareItem
    • schema.RoomTypeProduct
    • schema.RefundRuleInfo
  1. 机票

订单详情

POST
/open/v1/flight/order/detail
按平台订单号或商户订单号查询,返回支付状态、出票状态、PNR、票号、航段、乘客、退票费。

请求参数

Authorization
API Key
在 header 添加参数
Authorization
示例:
Authorization: ********************
or
Header 参数

Body 参数application/json必填

示例
{
    "out_trade_no": "MERCHANT_123",
    "system_no": "RDF202605281430001"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://open.longxiachuxing.com/api/open/v1/flight/order/detail' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "out_trade_no": "MERCHANT_123",
    "system_no": "RDF202605281430001"
}'

返回响应

🟢200
application/json
OK
Bodyapplication/json

示例
{
    "code": 0,
    "data": {
        "can_cancel": true,
        "contact": {
            "email": "zhangsan@example.com",
            "name": "张三",
            "phone": "13800138000"
        },
        "created_at": "2026-05-28 14:30:00",
        "estimated_refund_fee": 325,
        "flight_info": {
            "airline_name": "南方航空",
            "arr_airport_name": "杭州萧山国际机场",
            "arr_terminal": "T4",
            "arr_time": "2026-06-01 10:30",
            "cabin_class": "经济舱",
            "dep_airport_name": "深圳宝安国际机场",
            "dep_terminal": "T3",
            "dep_time": "2026-06-01 08:00",
            "flight_no": "CZ3569"
        },
        "flight_status": "issued",
        "flight_status_text": "已出票",
        "issued_at": "2026-05-28 14:40:00",
        "out_trade_no": "MERCHANT_123",
        "paid_at": "2026-05-28 14:35:00",
        "passengers": [
            {
                "birthday": "1990-01-01",
                "card_valid_end_date": "2030-12-31",
                "id_number": "330106199001011234",
                "id_type": "ID_CARD",
                "name": "张三",
                "name_en": "ZHANG/SAN",
                "nationality_code": "CN",
                "phone": "13800138000",
                "sex": 1,
                "type": "adult"
            }
        ],
        "pay_status": "paid",
        "pay_status_text": "已支付",
        "pnr": "ABC123",
        "refund_amount": 0,
        "refund_fee": 0,
        "status": "completed",
        "status_text": "已完成",
        "system_no": "RDF202605281430001",
        "ticket_nos": [
            "string"
        ],
        "total_amount": 650,
        "can_refund": true,
        "refund_rule": {
            "current": {
                "refund_fee": 325,
                "refund_amount": 325,
                "refund_rate": 0.5,
                "time_node": "起飞前24小时",
                "summary": "起飞前24小时退票收取50%手续费"
            },
            "stages": [
                {
                    "time_node": "起飞前48小时",
                    "refund_rate": 0.3,
                    "refund_fee": 195,
                    "is_current": true,
                    "is_past": false,
                    "no_refund": false
                }
            ]
        }
    },
    "message": "success",
    "request_id": "req_a1b2c3"
}
🟠400
修改于 2026-06-13 08:47:51
上一页
查询取消手续费
下一页
订单列表
Built with