Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MerchantWithdrawRequest ¶ added in v0.0.9
type MerchantWithdrawRequest struct { ThirdPartyID string `json:"thirdparty_id,omitempty"` // 三方用户唯一标识 AppID string `json:"appId"` MerchantUID string `json:"merchant_uid" description:"商户号"` ChannelType string `` /* 183-byte string literal not displayed */ WithdrawAmount int `json:"withdraw_amount" description:"提现金额;单位分"` OutOrderID string `json:"out_order_id" description:"外部单号(开发者侧);唯一标识一笔提现请求"` Callback string `` /* 169-byte string literal not displayed */ CpExtra string `json:"cp_extra" description:"开发者自定义数据"` MerchantEntity int `` /* 175-byte string literal not displayed */ Sign string `json:"sign" description:"签名"` }
MerchantWithdrawRequest 商户提现
type MerchantWithdrawResponse ¶ added in v0.0.9
type MerchantWithdrawResponse struct { ErrNo int `json:"err_no"` ErrTips string `json:"err_tips"` OrderID string `json:"order_id" description:"平台侧的受理单号"` MerchantEntity int `` /* 152-byte string literal not displayed */ }
MerchantWithdrawResponse 商户提现
type QueryWithdrawRequest ¶ added in v0.0.9
type QueryWithdrawRequest struct { ThirdPartyID string `json:"thirdparty_id,omitempty"` // 三方用户唯一标识 AppID string `json:"appId"` MerchantUID string `json:"merchant_uid" description:"商户号"` ChannelType string `` /* 183-byte string literal not displayed */ OutOrderID string `json:"out_order_id" description:"外部单号(开发者侧);唯一标识一笔提现请求"` Sign string `json:"sign" description:"签名"` }
QueryWithdrawRequest 查询提现
type QueryWithdrawResponse ¶ added in v0.0.9
type QueryWithdrawResponse struct { ErrNo int `json:"err_no"` ErrTips string `json:"err_tips"` Status string `json:"status" description:"状态枚举值:成功:SUCCESS,失败:FAIL,处理中:PROCESSING,退票:REEXCHANGE"` StatusMsg string `json:"statusMsg" description:"状态描述"` }
QueryWithdrawResponse 查询提现 注: 退票:商户的提现申请请求通过渠道(微信/支付宝/抖音支付)提交给银行处理后,银行返回结果是处理成功,渠道返回给商户提现成功, 但间隔一段时间后,银行再次通知渠道处理失败并返还款项给渠道,渠道再将该笔失败款返还至商户在渠道的账户余额中
Click to show internal directories.
Click to hide internal directories.