API Reference
API Reference

业务对象

支付流水(Payment)业务对象字段说明

属性名类型描述
idstring数据库主键ID(雪花ID,字符串格式)
out_trans_idstring支付流水ID
trade_idstring订单ID / 交易ID
merchant_idstring商户ID
payment_methodstring支付方式
payment_channelstring支付渠道
statusstring支付状态
amountstring支付金额,截断到两位小数
currencystring币种
channel_trade_idstring渠道交易ID
order_trans_idstring订单交易ID(全局唯一,代表一次支付尝试)
channel_payment_methodChannelPaymentMethod支付方式信息
created_atstring创建时间
channel_ret_codestring渠道返回码
channel_ret_msgstring渠道返回消息

ChannelPaymentMethod

属性名类型描述
typestring类型,固定值 "card"
cardCardInfo卡片信息

CardInfo

属性名类型描述
brandstring卡片品牌
countrystring发卡国家
last4string卡号后4位
fundingstring卡片类型(信用卡/借记卡)
These developer docs retire on 2026-08-30. Visit the new docs: NEW DOCS本开发者文档将于 2026-08-30下线,请访问新版文档: 新文档