This commit is contained in:
邹宗楠
2023-06-07 17:51:46 +08:00
parent 31c952f3f6
commit acc9e8b144
3 changed files with 95 additions and 38 deletions

View File

@@ -84,17 +84,30 @@ type KauiShouCallbackRes struct {
Timestamp int64 `json:"timestamp"` // 流程变动的时间戳
}
type T2 struct {
}
type CallBackDetail struct {
Channel string `json:"channel"` // 支付渠道。取值UNKNOWN - 未知WECHAT-微信ALIPAY-支付宝
OutOrderNo string `json:"out_order_no"` // 商户系统内部订单号
Attach string `json:"attach"` // 预下单时携带的开发者自定义信息
Status string `json:"status"` // 订单支付状态。 取值: PROCESSING-处理中SUCCESS-成功FAILED-失败
KsOrderNo string `json:"ks_order_no"` // 快手小程序平台订单号
OrderAmount int `json:"order_amount"` // 订单金额
TradeNo string `json:"trade_no"` // 用户侧支付页交易单号
ExtraInfo string `json:"extra_info"` // 订单来源信息,同支付查询接口
EnablePromotion bool `json:"enable_promotion"` // 是否参与分销true:分销false:非分销
PromotionAmount int `json:"promotion_amount"` // 预计分销金额,单位:分
Channel string `json:"channel"` // 支付渠道。取值UNKNOWN - 未知WECHAT-微信ALIPAY-支付宝
OutOrderNo string `json:"out_order_no"` // 商户系统内部订单号
Attach string `json:"attach"` // 预下单时携带的开发者自定义信息
Status string `json:"status"` // 订单支付状态。 取值: PROCESSING-处理中SUCCESS-成功FAILED-失败
KsOrderNo string `json:"ks_order_no"` // 快手小程序平台订单号
OrderAmount int `json:"order_amount"` // 订单金额
TradeNo string `json:"trade_no"` // 用户侧支付页交易单号
ExtraInfo string `json:"extra_info"` // 订单来源信息,同支付查询接口
EnablePromotion bool `json:"enable_promotion"` // 是否参与分销true:分销false:非分销
PromotionAmount int `json:"promotion_amount"` // 预计分销金额,单位:分
ApplyRefundReason interface{} `json:"apply_refund_reason"`
DeveloperPromotionAmount int `json:"developer_promotion_amount"`
KsRefundFailReason interface{} `json:"ks_refund_fail_reason"`
KsRefundNo interface{} `json:"ks_refund_no"`
KsSettleNo interface{} `json:"ks_settle_no"`
OutRefundNo interface{} `json:"out_refund_no"`
OutSettleNo interface{} `json:"out_settle_no"`
RefundAmount interface{} `json:"refund_amount"`
RefundType interface{} `json:"refund_type"`
SettleAmount interface{} `json:"settle_amount"`
}
// RefundParam 申请退单参数