1. 机票
龙虾开放平台(通用版)
  • 欢迎语
  • 快速开始
    • 接入流程
    • 公共请求头
    • 注意事项
    • 速率限制与配额策略
    • 鉴权说明
    • 错误码
  • AI 接入
    • AI接入说明
    • MCP
    • Code Mode
  • 机票
    • 机票接口说明
    • 机场搜索
      GET
    • 创建机票订单
      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
  1. 机票

发起支付

POST
/open/v1/flight/order/pay
返回支付链接/二维码/跳转 URL,支持微信、支付宝、余额支付。

请求参数

Authorization
Header 参数

Body 参数application/json必填

示例
{
    "cancel_url": "https://merchant.com/cancel",
    "success_url": "https://merchant.com/success",
    "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/pay' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
    "cancel_url": "https://merchant.com/cancel",
    "success_url": "https://merchant.com/success",
    "system_no": "RDF202605281430001"
}'

返回响应

🟢200
application/json
OK
Bodyapplication/json

示例
{
    "code": 0,
    "data": {
        "pay_params": {
            "property1": "string",
            "property2": "string"
        },
        "pay_type": "wechat"
    },
    "message": "success",
    "request_id": "req_a1b2c3"
}
🟠400
修改于 2026-06-12 02:37:20
上一页
机票查询列表
下一页
酒店接口说明
Built with