文档
测试

发起自动支付

POST
http://air2.94xy.cn:1088/ThirdAir_OrderDetail

接口描述

根据内部订单号,或者第三方平台订单号,查询整个订单详情。请使用POST方式,以json格式,传入以下参数!!!!!!

请求参数

参数名
类型
描述
必填
myorderid_Or_airorderid
string
示例:kas190720124711543 内部订单号或者第三方平台订单号
必填
card_pay
boolean
示例:true 是否自动支付
可选
payid
string
支付链接id,从下单返回
可选

响应参数

参数名
类型
描述
必填
ver
string
示例:20241226
必填
type
string
示例:tc_wx
必填
workid
string
示例:666
必填
myorder
object
数据字典
必填
id
int
示例:1736361417
必填
workid
string
示例:666
必填
type
string
示例:tc_wx
必填
fid
int
示例:6223651
必填
cid
int
示例:3801413
必填
accountid
int
示例:4423182
必填
status
string
示例:
必填
state
int
示例:5
必填
air_listorderNo
string
示例:2780636
必填
air_orderid
string
示例:OVPJRB4QW10EGJ108319
必填
air_couponAmount
string
示例:7.00
必填
air_orderAmount
string
示例:526.00
必填
air_state
object
示例:null
必填
air_status
object
示例:null
必填
create_time
string
示例:2025-05-01 06:07:20
必填
update_time
string
示例:2025-05-01 06:07:46
必填
delete_time
int
示例:0
必填
fromcity
string
示例:NGB
必填
tocity
string
示例:YIH
必填
flightdate
string
示例:2025-05-03
必填
flightno
string
示例:8L9872
必填
reflightdate
object
示例:null
必填
reflightno
object
示例:null
必填
fcabin
string
示例:0
必填
ctype
string
示例:tc_wx
必填
tag
string
示例:tc_wx_tc
必填
price
string
示例:456.00
必填
cabin
string
示例:Q
必填
mask
string
示例:Q仓 | 提供发票 | 套餐价 | 3.9折经济舱|退改¥294起 | 套餐+44元 | 2-下单立减7元
必填
domain
string
示例:
必填
account
string
示例:18545410645
必填
password
string
示例:vvijn2793
必填
cookies
string
示例:I0_042189120c9bd4f6877ead7bd3ebd015----5dd363a936bcbbc35e8696b558d0248b----Activity_wx_token_status=product-1; WxUser=openid=oOCyauOYtJnhEQ1jx9vx7HymGjoo&token=11_k4l5ezoz0gT8_IRpMvv9QLPmaKe_a0Yn-Iv_C8DJsdW1Mmzvwd3cYD1gbIkD2Ieu_KcUyXENcBi1ZFkJSjfW0w&refreshtoken=11_dOBhpU5zpApHLKboMFJdlZJ-pWYMO9dm9omh7rOSjb_9NzxNVeQ1xePV-XnrAN8bpaMkaeJoDVPlZIBpSa9U5g&unionid=ohmdTt-WHOtuY1b8NbSCaQM9qk2g&wxt...
必填
payurl
array
数据列表
必填
id
int
示例:192974
必填
oid
int
示例:1736361417
必填
type
int
示例:2
必填
alipayurl
string
示例:https://cashier.ly.com/pccashier#/index?key=69cef38bfd7b433a94c7d3c53e6e5f3c&sign=845A284B2546944FD04C377673A72D40
必填
payno
string
示例:OVPJRB4QW10EGJ108319
必填
price
string
示例:526.00
必填
create_time
string
示例:2025-05-01 06:07:46
必填
update_time
string
示例:2025-05-01 06:07:46
必填
delete_time
int
示例:0
必填
paydo
array
数据列表
必填
passger
array
数据列表
必填
id
int
示例:5124153
必填
fid
int
示例:6223651
必填
oid
int
示例:1736361417
必填
type
int
示例:1
必填
name
string
示例:方灵芝
必填
card
string
示例:420583198502092826
必填
birthday
string
示例:1985-02-09
必填
ticketno
object
示例:null
必填
create_time
string
示例:2025-05-01 06:07:42
必填
update_time
string
示例:2025-05-01 06:07:42
必填
delete_time
int
示例:0
必填
red
int
示例:0
必填
paramstxt
object
数据字典
必填
air_payurl
string
示例:https://cashier.ly.com/pccashier#/index?key=69cef38bfd7b433a94c7d3c53e6e5f3c&sign=845A284B2546944FD04C377673A72D40
必填
air_alipay
string
示例:{}
必填
account
string
示例:18545410645
必填
password
string
示例:vvijn2793
必填
code
string
示例:0
必填
msg
string
示例:支付完成
必填
myorderid
string
示例:1736361417
必填
times
string
示例:32422ms
必填

说明 / 示例

## 下单返回的json {"ver":"20241226","myorderid":"1736361157","type":"tc_wx","account":"17014321396","password":"ubfrv9447","Cookies":"I0_7072ff8acf490db1708ad27ce792b1a9----f17baf61a0783fcbe9d70654709871ff----Activity_wx_token_status=product-1; WxUser=openid=oOCyauIurcGeMzHaP0umBh3Ysr3c&token=11_bwHZZ-QfPBMdatEpOHpIHYW_5Q3unNpA8N6n18-BkBU_IeEM73Z0rlgJecdaKcWgn-P8AmU4baqMNhIPS91RZw&refreshtoken=11_nIzH-L5k5r8m4V5bccvoqtXvVgitsgq8PLopZLKZ09vwvLD_44yTc4h7tqAkZqsul_mJ9s4VefD_IT7fVDzMIw&unionid=ohmdTt1f5KrZGN41CxTWLUQ9g_Rk&wxtcinfo=S2rQcjjs24Gvx6HJqQtXMAULxYouB%252bKXakTXhrStSCNpwLxghvwlWBAi4DDzWaKtvDiPLk2s8jN85zBZ0zxxc59oF5L10DzXIxlgLcdh3HGVVPx7zXoddm%252f2SCgWDEmq;","payurl":[{"oid":"1736361157","type":2,"alipayurl":"https://cashier.ly.com/pccashier#/index?key=2ae331de3abb4b81b4193dff19690899&sign=AB71B20008473B1835CF56967F411A59","payno":"O7XVUA4QW10DGJ102725","price":515,"payid":"192971"}],"msgurl":"https://livechat.ly.com/chat/out/robotservice/touch?p=1&sourcetype=16&openId=oOCyauIurcGeMzHaP0umBh3Ysr3c&pageId=1014&pageType=3&lineid=0&orderId=O7XVUA4QW10DGJ102725&orderType=1&robotType=0&isTran=1&locale=&apiAB=1&extendInfo=%7b%22LineType%22%3a0%2c%22LineId%22%3a0%2c%22OrderState%22%3a%22%e5%be%85%e5%87%ba%e8%a1%8c%22%2c%22RequestId%22%3a0%2c%22ToolShowType%22%3a1014%2c%22IsPlus%22%3afalse%2c%22OrderSerialId%22%3a%22O7XVUA4QW10DGJ102725%22%2c%22ErrType%22%3a0%2c%22Position%22%3a%22%e5%9c%a8%e7%ba%bf%e5%ae%a2%e6%9c%8dICON%22%2c%22ConsultType%22%3a%22%e8%ae%a2%e5%8d%95%e5%92%a8%e8%af%a2%22%2c%22ShowNotice%22%3a1%7d&","code":"0","msg":"下单成功!","air_orderid":"O7XVUA4QW10DGJ102725","air_price":515,"air_couponAmount":7,"air_orderAmount":515,"air_payurl":"","times":"4063ms"} payid从里面拿,payurl[0].payid ## POST测试发送数据: {"myorderid_Or_airorderid":"OVPJRB4QW10EGJ108319","payid":"192974","card_pay":true} ## POST测试返回数据(成功示例): {"ver":"20241226","type":"tc_wx","workid":"666","myorder":{"id":1736361417,"workid":"666","type":"tc_wx","fid":6223651,"cid":3801413,"accountid":4423182,"status":"","state":5,"air_listorderNo":"2780636","air_orderid":"OVPJRB4QW10EGJ108319","air_couponAmount":"7.00","air_orderAmount":"526.00","air_state":null,"air_status":null,"create_time":"2025-05-01 06:07:20","update_time":"2025-05-01 06:07:46","delete_time":0,"fromcity":"NGB","tocity":"YIH","flightdate":"2025-05-03","flightno":"8L9872","reflightdate":null,"reflightno":null,"fcabin":"0","ctype":"tc_wx","tag":"tc_wx_tc","price":"456.00","cabin":"Q","mask":"Q仓 | 提供发票 | 套餐价 | 3.9折经济舱|退改¥294起 | 套餐+44元 | 2-下单立减7元","domain":"","account":"18545410645","password":"vvijn2793","cookies":"I0_042189120c9bd4f6877ead7bd3ebd015----5dd363a936bcbbc35e8696b558d0248b----Activity_wx_token_status=product-1; WxUser=openid=oOCyauOYtJnhEQ1jx9vx7HymGjoo&token=11_k4l5ezoz0gT8_IRpMvv9QLPmaKe_a0Yn-Iv_C8DJsdW1Mmzvwd3cYD1gbIkD2Ieu_KcUyXENcBi1ZFkJSjfW0w&refreshtoken=11_dOBhpU5zpApHLKboMFJdlZJ-pWYMO9dm9omh7rOSjb_9NzxNVeQ1xePV-XnrAN8bpaMkaeJoDVPlZIBpSa9U5g&unionid=ohmdTt-WHOtuY1b8NbSCaQM9qk2g&wxtcinfo=S2rQcjjs24Gvx6HJqQtXMNeMzAiAgOoRtfshMqPJimkHewEEeSVyce2iaQK%252fDEt7%252fNEW9ua4zV%252fhyeQydiQ3H%252fkorHI7tAIp%252fCZbJf3dwrPMcytD08ENBWkifroMPVRI;","payurl":[{"id":192974,"oid":1736361417,"type":2,"alipayurl":"https://cashier.ly.com/pccashier#/index?key=69cef38bfd7b433a94c7d3c53e6e5f3c&sign=845A284B2546944FD04C377673A72D40","payno":"OVPJRB4QW10EGJ108319","price":"526.00","create_time":"2025-05-01 06:07:46","update_time":"2025-05-01 06:07:46","delete_time":0}],"paydo":[],"passger":[{"id":5124153,"fid":6223651,"oid":1736361417,"type":1,"name":"方灵芝","card":"420583198502092826","birthday":"1985-02-09","ticketno":null,"create_time":"2025-05-01 06:07:42","update_time":"2025-05-01 06:07:42","delete_time":0,"red":0}],"paramstxt":{},"air_payurl":"https://cashier.ly.com/pccashier#/index?key=69cef38bfd7b433a94c7d3c53e6e5f3c&sign=845A284B2546944FD04C377673A72D40","air_alipay":"{}"},"account":"18545410645","password":"vvijn2793","code":"0","msg":"支付完成","myorderid":"1736361417","times":"32422ms"} ## 返回code代码说明: 0=成功!!!! 1开头:传入参数效验失败,具体错误参数详见msg 2开头:支付失败,具体错误参数详见msg 修订日期:2025.05.01 k-1