10.4 支付流水详情【基础探测通过,待数据联调】

GET /tieup/api/v1/payment-transactions/{transaction_no}

路径参数:

参数 类型 必填 说明
transaction_no string 支付流水号

用于 APP 支付中断、回前台后的状态查询。 响应字段:

字段 类型 说明
transaction_no string 交易流水号
order_no string 订单号
payment_method string 支付方式:wechat=微信,alipay=支付宝,apple_iap=苹果内购,candy=糖果余额
payment_account_id integer 实际支付账号 ID
payment_amount string 支付金额,单位元,固定两位小数
currency string 币种
payment_status integer 支付流水状态:0=创建,1=预支付成功,2=支付成功,3=支付失败,4=已关闭,5=已退款
prepay_id string/null 第三方预支付标识
third_party_order_no string/null 第三方支付订单号
paid_at string/null 支付时间
closed_at string/null 关闭时间
created_at string 流水创建时间

响应示例:

{
  "code": 200,
  "message": "成功",
  "data": {
    "transaction_no": "TP202606170001",
    "order_no": "TO202606170001",
    "payment_method": "wechat",
    "payment_account_id": 1,
    "payment_amount": "29.90",
    "currency": "CNY",
    "payment_status": 2,
    "prepay_id": "wx_prepay_id",
    "third_party_order_no": "4200000123456789",
    "paid_at": "2026-06-17 10:01:00",
    "closed_at": null,
    "created_at": "2026-06-17 10:00:01"
  }
}