文档
测试

[API]查询单个订单

GET
/api/yuanapi/order

接口描述

查询单个订单API

请求参数

参数名
类型
描述
必填
pid
int
商户的ID
必填
key
string
商户的密钥
必填
out_trade_no
string
商户订单号
必填

响应参数

参数名
类型
描述
必填
code
int
返回标识符 1为通过 2为未通过
必填
msg
string
返回内容
必填
data
Json
必填
out_trade_no
string
商户订单号
必填
trade_no
string
本地订单号
必填
name
string
商品名称
必填
typedata
string
alipay 支付宝/ wxpay 微信
必填
status
int
0未支付 / 1已支付
必填
money
string
订单金额
必填
truemoney
string
实付金额
必填
user_id
int
商户ID
必填
createtime
int
订单创建时间(时间戳)
必填
end_time
int
订单支付时间(时间戳)
必填
time
int
请求时间(时间戳)
必填