Documentation
¶
Index ¶
- Constants
- type ApiError
- type BillFundFlowBillGetResponse
- type BillFundFlowBillGetResult
- type BillTradeBillGetResponse
- type BillTradeBillGetResult
- type CertificatesResponse
- type CertificatesResult
- type Client
- func (c *Client) BillFundFlowBillGet(ctx context.Context, notMustParams ...gorequest.Params) (*BillFundFlowBillGetResult, ApiError, error)
- func (c *Client) BillTradeBillGet(ctx context.Context, notMustParams ...gorequest.Params) (*BillTradeBillGetResult, ApiError, error)
- func (c *Client) Certificates(ctx context.Context, notMustParams ...gorequest.Params) (*CertificatesResult, error)
- func (c *Client) EcommerceFundBalance(ctx context.Context, accountType string, notMustParams ...gorequest.Params) (*EcommerceFundBalanceResult, error)
- func (c *Client) EcommerceFundEndDayBalance(ctx context.Context, date string, notMustParams ...gorequest.Params) (*EcommerceFundEndDayBalanceResult, error)
- func (c *Client) GetApiV2() string
- func (c *Client) GetApiV3() string
- func (c *Client) GetJsApi(ctx context.Context, param GetJsApi) (result GetJsApiResult, err error)
- func (c *Client) GetMchSslCer() string
- func (c *Client) GetMchSslKey() string
- func (c *Client) GetMchSslSerialNo() string
- func (c *Client) GetSerialNo() string
- func (c *Client) GetSpAppid() string
- func (c *Client) GetSpMchId() string
- func (c *Client) GetSubAppid() string
- func (c *Client) GetSubMchId() string
- func (c *Client) MerchantFundBalance(ctx context.Context, accountType string, notMustParams ...gorequest.Params) (*MerchantFundBalanceResult, ApiError, error)
- func (c *Client) MerchantFundDayEndBalance(ctx context.Context, accountType, date string, ...) (*MerchantFundDayEndBalanceResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsH5(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsH5Result, ApiError, error)
- func (c *Client) PayPartnerTransactionsId(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsIdResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsIdTransactionIdGet(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsIdTransactionIdGetResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsJsapi(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsJsapiResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsJsapiNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml PayPartnerTransactionsJsapiNotifyHttpRequest, ...)
- func (c *Client) PayPartnerTransactionsNativePost(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsNativePostResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsNativePostNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml PayPartnerTransactionsNativePostNotifyHttpRequest, ...)
- func (c *Client) PayPartnerTransactionsOutTradeNo(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsOutTradeNoClose(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoCloseResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsOutTradeNoOutTradeNoClosePost(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoOutTradeNoClosePostResult, ApiError, error)
- func (c *Client) PayPartnerTransactionsOutTradeNoOutTradeNoGet(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoOutTradeNoGetResult, ApiError, error)
- func (c *Client) ProfitSharingMerchantConfigs(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingMerchantConfigsResult, ApiError, error)
- func (c *Client) ProfitSharingOrders(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingOrdersResult, ApiError, error)
- func (c *Client) ProfitSharingOrdersOutOrderNo(ctx context.Context, transactionId, outOrderNo string, ...) (*ProfitSharingOrdersOutOrderNoResult, ApiError, error)
- func (c *Client) ProfitSharingOrdersUnfreeze(ctx context.Context, transactionId, outOrderNo, description string, ...) (*ProfitSharingOrdersUnfreezeResult, ApiError, error)
- func (c *Client) ProfitSharingReceiversAdd(ctx context.Context, Type, account, name, relationType, customRelation string, ...) (*ProfitSharingReceiversAddResult, ApiError, error)
- func (c *Client) ProfitSharingReceiversDelete(ctx context.Context, Type, account string, notMustParams ...gorequest.Params) (*ProfitSharingReceiversDeleteResult, ApiError, error)
- func (c *Client) ProfitSharingReceiversNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml ProfitSharingReceiversNotifyHttpRequest, ...)
- func (c *Client) ProfitSharingReturnOrders(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingReturnOrdersResult, ApiError, error)
- func (c *Client) ProfitSharingReturnOrdersOutReturnNo(ctx context.Context, outReturnNo, outOrderNo string, ...) (*ProfitSharingReturnOrdersOutReturnNoResult, ApiError, error)
- func (c *Client) ProfitSharingTransactionsAmounts(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*ProfitSharingTransactionsAmountsResult, ApiError, error)
- func (c *Client) RefundDomesticRefunds(ctx context.Context, notMustParams ...gorequest.Params) (*RefundDomesticRefundsResult, ApiError, error)
- func (c *Client) RefundDomesticRefundsNoNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml RefundDomesticRefundsNoNotifyHttpRequest, ...)
- func (c *Client) RefundDomesticRefundsOutRefundNo(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsOutRefundNoResult, ApiError, error)
- func (c *Client) RefundDomesticRefundsOutRefundNoGet(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsOutRefundNoGetResult, ApiError, error)
- func (c *Client) RefundDomesticRefundsPost(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsPostResult, ApiError, error)
- func (c *Client) RefundDomesticRefundsPostNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml RefundDomesticRefundsPostNotifyHttpRequest, ...)
- func (c *Client) SetApiV2(v string) *Client
- func (c *Client) SetApiV3(v string) *Client
- func (c *Client) SetClientIP(clientIP string) *Client
- func (c *Client) SetLogFun(logFun gorequest.LogFunc)
- func (c *Client) SetMchSslCer(v string) *Client
- func (c *Client) SetMchSslKey(v string) *Client
- func (c *Client) SetMchSslSerialNo(v string) *Client
- func (c *Client) SetSerialNo(v string) *Client
- func (c *Client) SetSpAppid(v string) *Client
- func (c *Client) SetSpMchId(v string) *Client
- func (c *Client) SetSubAppid(v string) *Client
- func (c *Client) SetSubMchId(v string) *Client
- func (c *Client) SetTrace(trace bool)
- func (c *Client) SignDecrypt(aesKey, associatedData, nonce, ciphertext string) ([]byte, error)
- func (c *Client) TraceEndSpan()
- func (c *Client) TraceGetSpanID() (spanID string)
- func (c *Client) TraceGetTraceID() (traceID string)
- func (c *Client) TraceRecordError(err error, options ...trace.EventOption)
- func (c *Client) TraceSetAttributes(kv ...attribute.KeyValue)
- func (c *Client) TraceSetStatus(code codes.Code, description string)
- func (c *Client) TraceStartSpan(ctx context.Context, spanName string) context.Context
- type ClientConfig
- type EcommerceFundBalanceResponse
- type EcommerceFundBalanceResult
- type EcommerceFundEndDayBalanceResponse
- type EcommerceFundEndDayBalanceResult
- type GetJsApi
- type GetJsApiResult
- type MerchantFundBalanceResponse
- type MerchantFundBalanceResult
- type MerchantFundDayEndBalanceResponse
- type MerchantFundDayEndBalanceResult
- type PayPartnerTransactionsH5Response
- type PayPartnerTransactionsH5Result
- type PayPartnerTransactionsIdResponse
- type PayPartnerTransactionsIdResult
- type PayPartnerTransactionsIdTransactionIdGetResponse
- type PayPartnerTransactionsIdTransactionIdGetResult
- type PayPartnerTransactionsJsapiNotifyHttpRequest
- type PayPartnerTransactionsJsapiNotifyHttpResponse
- type PayPartnerTransactionsJsapiResponse
- type PayPartnerTransactionsJsapiResult
- type PayPartnerTransactionsNativePostNotifyHttpRequest
- type PayPartnerTransactionsNativePostNotifyHttpResponse
- type PayPartnerTransactionsNativePostResponse
- type PayPartnerTransactionsNativePostResult
- type PayPartnerTransactionsOutTradeNoCloseResult
- type PayPartnerTransactionsOutTradeNoOutTradeNoClosePostResult
- type PayPartnerTransactionsOutTradeNoOutTradeNoGetResponse
- type PayPartnerTransactionsOutTradeNoOutTradeNoGetResult
- type PayPartnerTransactionsOutTradeNoResponse
- type PayPartnerTransactionsOutTradeNoResult
- type ProfitSharingMerchantConfigsResponse
- type ProfitSharingMerchantConfigsResult
- type ProfitSharingOrdersOutOrderNoResponse
- type ProfitSharingOrdersOutOrderNoResult
- type ProfitSharingOrdersResponse
- type ProfitSharingOrdersResult
- type ProfitSharingOrdersUnfreezeResponse
- type ProfitSharingOrdersUnfreezeResult
- type ProfitSharingReceiversAddResponse
- type ProfitSharingReceiversAddResult
- type ProfitSharingReceiversDeleteResponse
- type ProfitSharingReceiversDeleteResult
- type ProfitSharingReceiversNotifyHttpRequest
- type ProfitSharingReceiversNotifyHttpResponse
- type ProfitSharingReturnOrdersOutReturnNoResponse
- type ProfitSharingReturnOrdersOutReturnNoResult
- type ProfitSharingReturnOrdersResponse
- type ProfitSharingReturnOrdersResult
- type ProfitSharingTransactionsAmountsResponse
- type ProfitSharingTransactionsAmountsResult
- type RefundDomesticRefundsNoNotifyHttpRequest
- type RefundDomesticRefundsNoNotifyHttpResponse
- type RefundDomesticRefundsOutRefundNoGetResponse
- type RefundDomesticRefundsOutRefundNoGetResult
- type RefundDomesticRefundsOutRefundNoResponse
- type RefundDomesticRefundsOutRefundNoResult
- type RefundDomesticRefundsPostNotifyHttpRequest
- type RefundDomesticRefundsPostNotifyHttpResponse
- type RefundDomesticRefundsPostResponse
- type RefundDomesticRefundsPostResult
- type RefundDomesticRefundsResponse
- type RefundDomesticRefundsResult
Constants ¶
const ( SignatureMessageFormat = "%s\n%s\n%d\n%s\n%s\n" // 数字签名原文格式 // HeaderAuthorizationFormat 请求头中的 Authorization 拼接格式 HeaderAuthorizationFormat = "%s mchid=\"%s\",nonce_str=\"%s\",timestamp=\"%d\",serial_no=\"%s\",signature=\"%s\"" )
请求报文签名相关常量
const ( CodeSUCCESS = "SUCCESS" // 支付成功 退款成功 CodeREFUND = "REFUND" // 转入退款 CodeNOTPAY = "NOTPAY" // 未支付 CodeCLOSED = "CLOSED" // 已关闭 退款关闭 CodeREVOKED = "REVOKED" // 已撤销 CodeUSERPAYING = "USERPAYING" // 用户支付中 CodePAYERROR = "PAYERROR" // 支付失败 CodePROCESSING = "PROCESSING" // 退款处理中 CodeABNORMAL = "ABNORMAL" // 退款异常 )
接口状态
const ( MERCHANT_ID = "MERCHANT_ID" PERSONAL_OPENID = "PERSONAL_OPENID" PERSONAL_SUB_OPENID = "PERSONAL_SUB_OPENID" )
const (
LogTable = "wechatpayopen"
)
const (
Version = "1.0.33"
)
const (
WechatPayAPIServerBackup = "https://api2.mch.weixin.qq.com/" // 微信支付 API 备份地址
)
微信支付 API 地址
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillFundFlowBillGetResponse ¶ added in v1.0.28
type BillFundFlowBillGetResult ¶ added in v1.0.28
type BillFundFlowBillGetResult struct {
Result BillFundFlowBillGetResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type BillTradeBillGetResponse ¶ added in v1.0.28
type BillTradeBillGetResult ¶ added in v1.0.28
type BillTradeBillGetResult struct {
Result BillTradeBillGetResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type CertificatesResponse ¶
type CertificatesResponse struct {
Data []struct {
EffectiveTime time.Time `json:"effective_time"` // 过期时间
EncryptCertificate struct {
Algorithm string `json:"algorithm"`
AssociatedData string `json:"associated_data"`
Ciphertext string `json:"ciphertext"`
Nonce string `json:"nonce"`
} `json:"encrypt_certificate"` // 加密证书
ExpireTime time.Time `json:"expire_time"` // 有效时间
SerialNo string `json:"serial_no"` // 序列号
} `json:"data"`
}
type CertificatesResult ¶
type CertificatesResult struct {
Result CertificatesResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) BillFundFlowBillGet ¶ added in v1.0.28
func (c *Client) BillFundFlowBillGet(ctx context.Context, notMustParams ...gorequest.Params) (*BillFundFlowBillGetResult, ApiError, error)
BillFundFlowBillGet 申请资金账单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_7.shtml
func (*Client) BillTradeBillGet ¶ added in v1.0.28
func (c *Client) BillTradeBillGet(ctx context.Context, notMustParams ...gorequest.Params) (*BillTradeBillGetResult, ApiError, error)
BillTradeBillGet 申请交易账单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_6.shtml
func (*Client) Certificates ¶
func (c *Client) Certificates(ctx context.Context, notMustParams ...gorequest.Params) (*CertificatesResult, error)
Certificates 获取平台证书列表 https://pay.weixin.qq.com/wiki/doc/apiv3/apis/wechatpay5_1.shtml
func (*Client) EcommerceFundBalance ¶
func (c *Client) EcommerceFundBalance(ctx context.Context, accountType string, notMustParams ...gorequest.Params) (*EcommerceFundBalanceResult, error)
EcommerceFundBalance 查询二级商户账户实时余额API accountType 账户类型 BASIC:基本账户 OPERATION:运营账户 FEES:手续费账户 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_1.shtml
func (*Client) EcommerceFundEndDayBalance ¶
func (c *Client) EcommerceFundEndDayBalance(ctx context.Context, date string, notMustParams ...gorequest.Params) (*EcommerceFundEndDayBalanceResult, error)
EcommerceFundEndDayBalance 查询二级商户账户日终余额API date 日期 示例值:2019-08-17 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_2.shtml
func (*Client) GetJsApi ¶
GetJsApi JSAPI调起支付API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml
func (*Client) GetMchSslCer ¶ added in v1.0.32
func (*Client) GetMchSslKey ¶ added in v1.0.8
func (*Client) GetMchSslSerialNo ¶ added in v1.0.8
func (*Client) GetSerialNo ¶ added in v1.0.32
func (*Client) GetSpAppid ¶
func (*Client) GetSpMchId ¶
func (*Client) GetSubAppid ¶
func (*Client) GetSubMchId ¶
func (*Client) MerchantFundBalance ¶
func (c *Client) MerchantFundBalance(ctx context.Context, accountType string, notMustParams ...gorequest.Params) (*MerchantFundBalanceResult, ApiError, error)
MerchantFundBalance 查询电商平台账户实时余额API accountType 账户类型 BASIC:基本账户 OPERATION:运营账户 FEES:手续费账户 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_3.shtml
func (*Client) MerchantFundDayEndBalance ¶
func (c *Client) MerchantFundDayEndBalance(ctx context.Context, accountType, date string, notMustParams ...gorequest.Params) (*MerchantFundDayEndBalanceResult, ApiError, error)
MerchantFundDayEndBalance 查询电商平台账户日终余额API accountType 账户类型 BASIC:基本账户 OPERATION:运营账户 FEES:手续费账户 date 日期 示例值:2019-08-17 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_4.shtml
func (*Client) PayPartnerTransactionsH5 ¶
func (c *Client) PayPartnerTransactionsH5(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsH5Result, ApiError, error)
PayPartnerTransactionsH5 H5下单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_1.shtml
func (*Client) PayPartnerTransactionsId ¶
func (c *Client) PayPartnerTransactionsId(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsIdResult, ApiError, error)
PayPartnerTransactionsId 微信支付订单号查询 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_2.shtml
func (*Client) PayPartnerTransactionsIdTransactionIdGet ¶ added in v1.0.28
func (c *Client) PayPartnerTransactionsIdTransactionIdGet(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsIdTransactionIdGetResult, ApiError, error)
PayPartnerTransactionsIdTransactionIdGet 微信支付订单号查询 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_2.shtml
func (*Client) PayPartnerTransactionsJsapi ¶
func (c *Client) PayPartnerTransactionsJsapi(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsJsapiResult, ApiError, error)
PayPartnerTransactionsJsapi JSAPI下单 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_1.shtml
func (*Client) PayPartnerTransactionsJsapiNotifyHttp ¶ added in v1.0.31
func (c *Client) PayPartnerTransactionsJsapiNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml PayPartnerTransactionsJsapiNotifyHttpRequest, response PayPartnerTransactionsJsapiNotifyHttpResponse, gcm []byte, err error)
PayPartnerTransactionsJsapiNotifyHttp JSAPI下单 - 回调通知 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_5.shtml
func (*Client) PayPartnerTransactionsNativePost ¶ added in v1.0.28
func (c *Client) PayPartnerTransactionsNativePost(ctx context.Context, notMustParams ...gorequest.Params) (*PayPartnerTransactionsNativePostResult, ApiError, error)
PayPartnerTransactionsNativePost Native下单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_1.shtml
func (*Client) PayPartnerTransactionsNativePostNotifyHttp ¶ added in v1.0.31
func (c *Client) PayPartnerTransactionsNativePostNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml PayPartnerTransactionsNativePostNotifyHttpRequest, response PayPartnerTransactionsNativePostNotifyHttpResponse, gcm []byte, err error)
PayPartnerTransactionsNativePostNotifyHttp 支付通知API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_5.shtml
func (*Client) PayPartnerTransactionsOutTradeNo ¶
func (c *Client) PayPartnerTransactionsOutTradeNo(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoResult, ApiError, error)
PayPartnerTransactionsOutTradeNo 商户订单号查询 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_2.shtml
func (*Client) PayPartnerTransactionsOutTradeNoClose ¶
func (c *Client) PayPartnerTransactionsOutTradeNoClose(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoCloseResult, ApiError, error)
PayPartnerTransactionsOutTradeNoClose 关闭订单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_3.shtml
func (*Client) PayPartnerTransactionsOutTradeNoOutTradeNoClosePost ¶ added in v1.0.28
func (c *Client) PayPartnerTransactionsOutTradeNoOutTradeNoClosePost(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoOutTradeNoClosePostResult, ApiError, error)
PayPartnerTransactionsOutTradeNoOutTradeNoClosePost 关闭订单API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_3.shtml
func (*Client) PayPartnerTransactionsOutTradeNoOutTradeNoGet ¶ added in v1.0.28
func (c *Client) PayPartnerTransactionsOutTradeNoOutTradeNoGet(ctx context.Context, outTradeNo string, notMustParams ...gorequest.Params) (*PayPartnerTransactionsOutTradeNoOutTradeNoGetResult, ApiError, error)
PayPartnerTransactionsOutTradeNoOutTradeNoGet 商户订单号查询 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_2.shtml
func (*Client) ProfitSharingMerchantConfigs ¶ added in v1.0.16
func (c *Client) ProfitSharingMerchantConfigs(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingMerchantConfigsResult, ApiError, error)
ProfitSharingMerchantConfigs 查询最大分账比例API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_7.shtml
func (*Client) ProfitSharingOrders ¶ added in v1.0.16
func (c *Client) ProfitSharingOrders(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingOrdersResult, ApiError, error)
ProfitSharingOrders 请求分账API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_1.shtml
func (*Client) ProfitSharingOrdersOutOrderNo ¶ added in v1.0.16
func (c *Client) ProfitSharingOrdersOutOrderNo(ctx context.Context, transactionId, outOrderNo string, notMustParams ...gorequest.Params) (*ProfitSharingOrdersOutOrderNoResult, ApiError, error)
ProfitSharingOrdersOutOrderNo 查询分账结果API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_2.shtml
func (*Client) ProfitSharingOrdersUnfreeze ¶ added in v1.0.16
func (c *Client) ProfitSharingOrdersUnfreeze(ctx context.Context, transactionId, outOrderNo, description string, notMustParams ...gorequest.Params) (*ProfitSharingOrdersUnfreezeResult, ApiError, error)
ProfitSharingOrdersUnfreeze 解冻剩余资金API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_5.shtml
func (*Client) ProfitSharingReceiversAdd ¶ added in v1.0.16
func (c *Client) ProfitSharingReceiversAdd(ctx context.Context, Type, account, name, relationType, customRelation string, notMustParams ...gorequest.Params) (*ProfitSharingReceiversAddResult, ApiError, error)
ProfitSharingReceiversAdd 添加分账接收方API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_8.shtml
func (*Client) ProfitSharingReceiversDelete ¶ added in v1.0.16
func (c *Client) ProfitSharingReceiversDelete(ctx context.Context, Type, account string, notMustParams ...gorequest.Params) (*ProfitSharingReceiversDeleteResult, ApiError, error)
ProfitSharingReceiversDelete 删除分账接收方API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_9.shtml
func (*Client) ProfitSharingReceiversNotifyHttp ¶ added in v1.0.31
func (c *Client) ProfitSharingReceiversNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml ProfitSharingReceiversNotifyHttpRequest, response ProfitSharingReceiversNotifyHttpResponse, gcm []byte, err error)
ProfitSharingReceiversNotifyHttp 分账动账通知API - 回调通知 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_5.shtml
func (*Client) ProfitSharingReturnOrders ¶ added in v1.0.16
func (c *Client) ProfitSharingReturnOrders(ctx context.Context, notMustParams ...gorequest.Params) (*ProfitSharingReturnOrdersResult, ApiError, error)
ProfitSharingReturnOrders 请求分账回退API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_3.shtml
func (*Client) ProfitSharingReturnOrdersOutReturnNo ¶ added in v1.0.16
func (c *Client) ProfitSharingReturnOrdersOutReturnNo(ctx context.Context, outReturnNo, outOrderNo string, notMustParams ...gorequest.Params) (*ProfitSharingReturnOrdersOutReturnNoResult, ApiError, error)
ProfitSharingReturnOrdersOutReturnNo 查询分账回退结果API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_4.shtml
func (*Client) ProfitSharingTransactionsAmounts ¶ added in v1.0.16
func (c *Client) ProfitSharingTransactionsAmounts(ctx context.Context, transactionId string, notMustParams ...gorequest.Params) (*ProfitSharingTransactionsAmountsResult, ApiError, error)
ProfitSharingTransactionsAmounts 查询剩余待分金额API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_6.shtml
func (*Client) RefundDomesticRefunds ¶
func (c *Client) RefundDomesticRefunds(ctx context.Context, notMustParams ...gorequest.Params) (*RefundDomesticRefundsResult, ApiError, error)
RefundDomesticRefunds 申请退款API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_9.shtml
func (*Client) RefundDomesticRefundsNoNotifyHttp ¶ added in v1.0.31
func (c *Client) RefundDomesticRefundsNoNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml RefundDomesticRefundsNoNotifyHttpRequest, response RefundDomesticRefundsNoNotifyHttpResponse, gcm []byte, err error)
RefundDomesticRefundsNoNotifyHttp 申请退款API - 回调通知 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_11.shtml
func (*Client) RefundDomesticRefundsOutRefundNo ¶
func (c *Client) RefundDomesticRefundsOutRefundNo(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsOutRefundNoResult, ApiError, error)
RefundDomesticRefundsOutRefundNo 查询单笔退款API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_9.shtml
func (*Client) RefundDomesticRefundsOutRefundNoGet ¶ added in v1.0.28
func (c *Client) RefundDomesticRefundsOutRefundNoGet(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsOutRefundNoGetResult, ApiError, error)
RefundDomesticRefundsOutRefundNoGet 查询单笔退款API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_10.shtml
func (*Client) RefundDomesticRefundsPost ¶ added in v1.0.28
func (c *Client) RefundDomesticRefundsPost(ctx context.Context, outRefundNo string, notMustParams ...gorequest.Params) (*RefundDomesticRefundsPostResult, ApiError, error)
RefundDomesticRefundsPost 申请退款API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_9.shtml
func (*Client) RefundDomesticRefundsPostNotifyHttp ¶ added in v1.0.31
func (c *Client) RefundDomesticRefundsPostNotifyHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (validateXml RefundDomesticRefundsPostNotifyHttpRequest, response RefundDomesticRefundsPostNotifyHttpResponse, gcm []byte, err error)
RefundDomesticRefundsPostNotifyHttp 退款结果通知API https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_11.shtml
func (*Client) SetClientIP ¶ added in v1.0.32
SetClientIP 配置
func (*Client) SetMchSslCer ¶ added in v1.0.32
func (*Client) SetMchSslKey ¶ added in v1.0.32
func (*Client) SetMchSslSerialNo ¶ added in v1.0.32
func (*Client) SetSerialNo ¶ added in v1.0.32
func (*Client) SetSpAppid ¶ added in v1.0.32
func (*Client) SetSpMchId ¶ added in v1.0.32
func (*Client) SetSubAppid ¶ added in v1.0.32
func (*Client) SetSubMchId ¶ added in v1.0.32
func (*Client) SignDecrypt ¶ added in v1.0.15
func (*Client) TraceEndSpan ¶ added in v1.0.32
func (c *Client) TraceEndSpan()
TraceEndSpan 结束OpenTelemetry链路追踪状态
func (*Client) TraceGetSpanID ¶ added in v1.0.32
TraceGetSpanID 获取OpenTelemetry链路追踪SpanID
func (*Client) TraceGetTraceID ¶ added in v1.0.32
TraceGetTraceID 获取OpenTelemetry链路追踪TraceID
func (*Client) TraceRecordError ¶ added in v1.0.32
func (c *Client) TraceRecordError(err error, options ...trace.EventOption)
TraceRecordError 记录OpenTelemetry链路追踪错误
func (*Client) TraceSetAttributes ¶ added in v1.0.32
TraceSetAttributes 设置OpenTelemetry链路追踪属性
func (*Client) TraceSetStatus ¶ added in v1.0.32
TraceSetStatus 设置OpenTelemetry链路追踪状态
type ClientConfig ¶ added in v1.0.9
type ClientConfig struct {
SpAppid string // 服务商应用ID
SpMchId string // 服务商户号
ApiV2 string // APIv2密钥
ApiV3 string // APIv3密钥
SerialNo string // 序列号
MchSslSerialNo string // pem 证书号
MchSslCer string // pem 内容
MchSslKey string // pem key 内容
}
ClientConfig 实例配置
type EcommerceFundBalanceResult ¶
type EcommerceFundBalanceResult struct {
Result EcommerceFundBalanceResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type EcommerceFundEndDayBalanceResult ¶
type EcommerceFundEndDayBalanceResult struct {
Result EcommerceFundEndDayBalanceResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type GetJsApiResult ¶
type GetJsApiResult struct {
AppId string `json:"app_id"` // 应用ID
TimeStamp string `json:"time_stamp"` // 时间戳
NonceStr string `json:"nonce_str"` // 随机字符串
Package string `json:"package"` // 订单详情扩展字符串
SignType string `json:"sign_type"` // 签名方式
PaySign string `json:"pay_sign"` // 签名
}
GetJsApiResult 返回参数
type MerchantFundBalanceResult ¶
type MerchantFundBalanceResult struct {
Result MerchantFundBalanceResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type MerchantFundDayEndBalanceResult ¶
type MerchantFundDayEndBalanceResult struct {
Result MerchantFundDayEndBalanceResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsH5Response ¶
type PayPartnerTransactionsH5Response struct {
H5Url string `json:"h5_url"` // 支付跳转链接
}
type PayPartnerTransactionsH5Result ¶
type PayPartnerTransactionsH5Result struct {
Result PayPartnerTransactionsH5Response // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsIdResponse ¶
type PayPartnerTransactionsIdResponse struct {
Appid string `json:"appid"`
Mchid string `json:"mchid"`
OutTradeNo string `json:"out_trade_no"`
TransactionId string `json:"transaction_id,omitempty"`
TradeType string `json:"trade_type,omitempty"`
TradeState string `json:"trade_state"`
TradeStateDesc string `json:"trade_state_desc"`
BankType string `json:"bank_type,omitempty"`
Attach string `json:"attach,omitempty"`
SuccessTime string `json:"success_time,omitempty"`
Payer struct {
Openid string `json:"openid"`
} `json:"payer"`
Amount struct {
Total int `json:"total,omitempty"`
PayerTotal int `json:"payer_total,omitempty"`
Currency string `json:"currency,omitempty"`
PayerCurrency string `json:"payer_currency,omitempty"`
} `json:"amount,omitempty"`
SceneInfo struct {
DeviceId string `json:"device_id,omitempty"`
}
PromotionDetail []struct {
CouponId string `json:"coupon_id"`
Name string `json:"name,omitempty"`
Scope string `json:"scope,omitempty"`
Type string `json:"type,omitempty"`
Amount int `json:"amount"`
StockId string `json:"stock_id,omitempty"`
WechatpayContribute int `json:"wechatpay_contribute,omitempty"`
MerchantContribute int `json:"merchant_contribute,omitempty"`
OtherContribute int `json:"other_contribute,omitempty"`
Currency string `json:"currency,omitempty"`
GoodsDetail []struct {
GoodsId string `json:"goods_id"`
Quantity int `json:"quantity"`
UnitPrice int `json:"unit_price"`
DiscountAmount int `json:"discount_amount"`
GoodsRemark string `json:"goods_remark,omitempty"`
} `json:"goods_detail"`
}
}
type PayPartnerTransactionsIdResult ¶
type PayPartnerTransactionsIdResult struct {
Result PayPartnerTransactionsIdResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsIdTransactionIdGetResponse ¶ added in v1.0.28
type PayPartnerTransactionsIdTransactionIdGetResponse struct {
SpAppid string `json:"sp_appid"` // 服务商应用ID
SpMchid string `json:"sp_mchid"` // 服务商户号
SubAppid string `json:"sub_appid"` // 子商户应用ID
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
TradeType string `json:"trade_type"` // 交易类型
TradeState string `json:"trade_state"` // 交易状态
TradeStateDesc string `json:"trade_state_desc"` // 交易状态描述
BankType string `json:"bank_type"` // 付款银行
Attach string `json:"attach"` // 附加数据
SuccessTime time.Time `json:"success_time"` // 支付完成时间
Payer struct {
SpOpenid string `json:"sp_openid"` // 用户服务标识
SubOpenid string `json:"sub_openid"` // 用户子标识
} `json:"payer"` // 支付者
Amount struct {
Total int `json:"total"` // 总金额
PayerTotal int `json:"payer_total"` // 用户支付金额
Currency string `json:"currency"` // 货币类型
PayerCurrency string `json:"payer_currency"` // 用户支付币种
} `json:"amount"` // 订单金额
SceneInfo struct {
DeviceId string `json:"device_id"` // 商户端设备号
} `json:"scene_info"` // 场景信息
PromotionDetail []interface{} `json:"promotion_detail"` // 优惠功能
}
type PayPartnerTransactionsIdTransactionIdGetResult ¶ added in v1.0.28
type PayPartnerTransactionsIdTransactionIdGetResult struct {
Result PayPartnerTransactionsIdTransactionIdGetResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsJsapiNotifyHttpRequest ¶ added in v1.0.31
type PayPartnerTransactionsJsapiNotifyHttpRequest struct {
Id string `json:"status" xml:"id"` // 通知ID
CreateTime string `json:"create_time" xml:"create_time"` // 通知创建时间
EventType string `json:"event_type" xml:"event_type"` // 通知类型
ResourceType string `json:"resource_type" xml:"resource_type"` // 通知数据类型
Resource struct {
Algorithm string `json:"algorithm" xml:"algorithm"` // 加密算法类型
Ciphertext string `json:"ciphertext" xml:"ciphertext"` // 数据密文
AssociatedData string `json:"associated_data,omitempty" xml:"associated_data,omitempty"` // 附加数据
OriginalType string `json:"original_type" xml:"original_type"` // 原始类型
Nonce string `json:"nonce" xml:"nonce"` // 随机串
} `json:"resource" xml:"resource"` // 通知数据
Summary string `json:"summary" xml:"summary"` // 回调摘要
}
PayPartnerTransactionsJsapiNotifyHttpRequest JSAPI下单 - 回调通知 - 请求参数
type PayPartnerTransactionsJsapiNotifyHttpResponse ¶ added in v1.0.31
type PayPartnerTransactionsJsapiNotifyHttpResponse struct {
SpAppid string `json:"sp_appid"` // 服务商应用ID
SpMchid string `json:"sp_mchid"` // 服务商户号
SubAppid string `json:"sub_appid,omitempty"` // 子商户应用ID
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
TradeType string `json:"trade_type"` // 交易类型
TradeState string `json:"trade_state"` // 交易状态
TradeStateDesc string `json:"trade_state_desc"` // 交易状态描述
BankType string `json:"bank_type"` // 付款银行
Attach string `json:"attach,omitempty"` // 附加数据
SuccessTime string `json:"success_time"` // 支付完成时间
Payer struct {
Openid string `json:"openid"` // 用户服务标识
SpOpenid string `json:"sp_openid,omitempty"` // 用户服务标识
SubOpenid string `json:"sub_openid,omitempty"` // 用户子标识
} `json:"payer"` // -支付者
Amount struct {
Total int `json:"total"` // 总金额
PayerTotal int `json:"payer_total"` // 用户支付金额
Currency string `json:"currency"` // 货币类型
PayerCurrency string `json:"payer_currency"` // 用户支付币种
} `json:"amount"` // 订单金额
SceneInfo struct {
DeviceId string `json:"device_id,omitempty"` //商户端设备号
} `json:"scene_info,omitempty"` // 场景信息
PromotionDetail []struct {
CouponId string `json:"coupon_id"` // 券ID
Name string `json:"name,omitempty"` // 优惠名称
Scope string `json:"scope,omitempty"` // 优惠范围
Type string `json:"type,omitempty"` // 优惠类型
Amount int `json:"amount"` // 优惠券面额
StockId string `json:"stock_id,omitempty"` // 活动ID
WechatpayContribute int `json:"wechatpay_contribute,omitempty"` // 微信出资
MerchantContribute int `json:"merchant_contribute,omitempty"` // 商户出资
OtherContribute int `json:"other_contribute,omitempty"` // 其他出资
Currency string `json:"currency,omitempty"` // 优惠币种
GoodsDetail []struct {
GoodsId string `json:"goods_id"` // 商品编码
Quantity int `json:"quantity"` // 商品数量
UnitPrice int `json:"unit_price"` // 商品单价
DiscountAmount int `json:"discount_amount"` // 商品优惠金额
GoodsRemark string `json:"goods_remark,omitempty"` // 商品备注
} `json:"goods_detail,omitempty"` // 单品列表
} `json:"promotion_detail,omitempty"` // 优惠功能
}
PayPartnerTransactionsJsapiNotifyHttpResponse JSAPI下单 - 回调通知 - 解密后数据
type PayPartnerTransactionsJsapiResponse ¶
type PayPartnerTransactionsJsapiResponse struct {
PrepayId string `json:"prepay_id"`
}
type PayPartnerTransactionsJsapiResult ¶
type PayPartnerTransactionsJsapiResult struct {
Result PayPartnerTransactionsJsapiResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsNativePostNotifyHttpRequest ¶ added in v1.0.31
type PayPartnerTransactionsNativePostNotifyHttpRequest struct {
Id string `json:"status" xml:"id"` // 通知ID
CreateTime string `json:"create_time" xml:"create_time"` // 通知创建时间
EventType string `json:"event_type" xml:"event_type"` // 通知类型
ResourceType string `json:"resource_type" xml:"resource_type"` // 通知数据类型
Resource struct {
Algorithm string `json:"algorithm" xml:"algorithm"` // 加密算法类型
Ciphertext string `json:"ciphertext" xml:"ciphertext"` // 数据密文
AssociatedData string `json:"associated_data,omitempty" xml:"associated_data,omitempty"` // 附加数据
OriginalType string `json:"original_type" xml:"original_type"` // 原始类型
Nonce string `json:"nonce" xml:"nonce"` // 随机串
} `json:"resource" xml:"resource"` // 通知数据
Summary string `json:"summary" xml:"summary"` // 回调摘要
}
PayPartnerTransactionsNativePostNotifyHttpRequest 支付通知API - 请求参数
type PayPartnerTransactionsNativePostNotifyHttpResponse ¶ added in v1.0.31
type PayPartnerTransactionsNativePostNotifyHttpResponse struct {
SpAppid string `json:"sp_appid"` // 服务商应用ID
SpMchid string `json:"sp_mchid"` // 服务商户号
SubAppid string `json:"sub_appid"` // 子商户应用ID
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TradeStateDesc string `json:"trade_state_desc"` // 交易状态描述
TradeType string `json:"trade_type"` // 交易类型
Attach string `json:"attach"` // 附加数据
TransactionId string `json:"transaction_id"` // 微信支付订单号
TradeState string `json:"trade_state"` // 交易状态
BankType string `json:"bank_type"` // 付款银行
SuccessTime time.Time `json:"success_time"` // 支付完成时间
Amount struct {
Total int `json:"total"` // 总金额
PayerTotal int `json:"payer_total"` // 用户支付金额
Currency string `json:"currency"` // 货币类型
PayerCurrency string `json:"payer_currency"` // 用户支付币种
} `json:"amount"` // 订单金额
Payer struct {
SpOpenid string `json:"sp_openid"` // 用户服务标识
SubOpenid string `json:"sub_openid"` // 用户子标识
} `json:"payer"` // 支付者
SceneInfo struct {
DeviceId string `json:"device_id"` // 商户端设备号
} `json:"scene_info"` // 场景信息
}
PayPartnerTransactionsNativePostNotifyHttpResponse 支付通知API - 解密后数据
type PayPartnerTransactionsNativePostResponse ¶ added in v1.0.28
type PayPartnerTransactionsNativePostResponse struct {
CodeUrl string `json:"code_url"` // 二维码链接
}
type PayPartnerTransactionsNativePostResult ¶ added in v1.0.28
type PayPartnerTransactionsNativePostResult struct {
Result PayPartnerTransactionsNativePostResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsOutTradeNoOutTradeNoClosePostResult ¶ added in v1.0.28
type PayPartnerTransactionsOutTradeNoOutTradeNoGetResponse ¶ added in v1.0.28
type PayPartnerTransactionsOutTradeNoOutTradeNoGetResponse struct {
SpAppid string `json:"sp_appid"` // 服务商应用ID
SpMchid string `json:"sp_mchid"` // 服务商户号
SubAppid string `json:"sub_appid"` // 子商户应用ID
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
TradeType string `json:"trade_type"` // 交易类型
TradeState string `json:"trade_state"` // 交易状态
TradeStateDesc string `json:"trade_state_desc"` // 交易状态描述
BankType string `json:"bank_type"` // 付款银行
Attach string `json:"attach"` // 附加数据
SuccessTime time.Time `json:"success_time"` // 支付完成时间
Payer struct {
SpOpenid string `json:"sp_openid"` // 用户服务标识
SubOpenid string `json:"sub_openid"` // 用户子标识
} `json:"payer"` // 支付者
Amount struct {
Total int `json:"total"` // 总金额
PayerTotal int `json:"payer_total"` // 用户支付金额
Currency string `json:"currency"` // 货币类型
PayerCurrency string `json:"payer_currency"` // 用户支付币种
} `json:"amount"` // 订单金额
SceneInfo struct {
DeviceId string `json:"device_id"` // 商户端设备号
} `json:"scene_info"` // 场景信息
}
type PayPartnerTransactionsOutTradeNoOutTradeNoGetResult ¶ added in v1.0.28
type PayPartnerTransactionsOutTradeNoOutTradeNoGetResult struct {
Result PayPartnerTransactionsOutTradeNoOutTradeNoGetResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type PayPartnerTransactionsOutTradeNoResponse ¶
type PayPartnerTransactionsOutTradeNoResponse struct {
SpAppid string `json:"sp_appid"` // 服务商应用ID
SpMchid string `json:"sp_mchid"` // 服务商户号
SubAppid string `json:"sub_appid"` // 子商户应用ID
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
TradeType string `json:"trade_type"` // 交易类型
TradeState string `json:"trade_state"` // 交易状态
TradeStateDesc string `json:"trade_state_desc"` // 交易状态描述
BankType string `json:"bank_type"` // 付款银行
Attach string `json:"attach"` // 附加数据
SuccessTime string `json:"success_time"` // 支付完成时间
Payer struct {
SpOpenid string `json:"sp_openid"` // 用户服务标识
SubOpenid string `json:"sub_openid"` // 用户子标识
} `json:"payer"` // 支付者
Amount struct {
Total int `json:"total"` // 总金额
PayerTotal int `json:"payer_total"` // 用户支付金额
Currency string `json:"currency"` // 货币类型
PayerCurrency string `json:"payer_currency"` // 用户支付币种
} `json:"amount"` // 订单金额
SceneInfo struct {
DeviceId string `json:"device_id"` // 商户端设备号
} `json:"scene_info"` // 场景信息
PromotionDetail []struct {
CouponId string `json:"coupon_id"` // 券ID
Name string `json:"name"` // 优惠名称
Scope string `json:"scope"` // 优惠范围
Type string `json:"type"` // 优惠类型
Amount int `json:"amount"` // 优惠券面额
StockId string `json:"stock_id"` // 活动ID
WechatpayContribute int `json:"wechatpay_contribute"` // 微信出资
MerchantContribute int `json:"merchant_contribute"` // 商户出资
OtherContribute int `json:"other_contribute"` // 其他出资
Currency string `json:"currency"` // 优惠币种
GoodsDetail []struct {
GoodsId string `json:"goods_id"` // 商品编码
Quantity int `json:"quantity"` // 商品数量
UnitPrice int `json:"unit_price"` // 商品单价
DiscountAmount int `json:"discount_amount"` // 商品优惠金额
GoodsRemark string `json:"goods_remark"` // 商品备注
} `json:"goods_detail"` // 单品列表
} `json:"promotion_detail"` // 优惠功能
}
type PayPartnerTransactionsOutTradeNoResult ¶
type PayPartnerTransactionsOutTradeNoResult struct {
Result PayPartnerTransactionsOutTradeNoResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingMerchantConfigsResponse ¶ added in v1.0.16
type ProfitSharingMerchantConfigsResult ¶ added in v1.0.16
type ProfitSharingMerchantConfigsResult struct {
Result ProfitSharingMerchantConfigsResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingOrdersOutOrderNoResponse ¶ added in v1.0.16
type ProfitSharingOrdersOutOrderNoResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
TransactionId string `json:"transaction_id"` // 微信订单号
OutOrderNo string `json:"out_order_no"` // 商户分账单号
OrderId string `json:"order_id"` // 微信分账单号
State string `json:"state"` // 分账单状态
Receivers []struct {
Amount int `json:"amount"` // 分账金额
Description string `json:"description"` // 分账描述
Type string `json:"type"` // 分账接收方类型
Account string `json:"account"` // 分账接收方账号
Result string `json:"result"` // 分账结果
FailReason string `json:"fail_reason"` // 分账失败原因
DetailId string `json:"detail_id"` // 分账明细单号
CreateTime string `json:"create_time"` // 分账创建时间
FinishTime string `json:"finish_time"` // 分账完成时间
} `json:"receivers,omitempty"` // 分账接收方列表
}
type ProfitSharingOrdersOutOrderNoResult ¶ added in v1.0.16
type ProfitSharingOrdersOutOrderNoResult struct {
Result ProfitSharingOrdersOutOrderNoResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingOrdersResponse ¶ added in v1.0.16
type ProfitSharingOrdersResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
TransactionId string `json:"transaction_id"` // 微信订单号
OutOrderNo string `json:"out_order_no"` // 商户分账单号
OrderId string `json:"order_id"` // 微信分账单号
State string `json:"state"` // 分账单状态
Receivers []struct {
Amount int `json:"amount"` // 分账金额
Description string `json:"description"` // 分账描述
Type string `json:"type"` // 分账接收方类型
Account string `json:"account"` // 分账接收方账号
Result string `json:"result"` // 分账结果
FailReason string `json:"fail_reason"` // 分账失败原因
DetailId string `json:"detail_id"` // 分账明细单号
CreateTime string `json:"create_time"` // 分账创建时间
FinishTime string `json:"finish_time"` // 分账完成时间
} `json:"receivers,omitempty"` // 分账接收方列表
}
type ProfitSharingOrdersResult ¶ added in v1.0.16
type ProfitSharingOrdersResult struct {
Result ProfitSharingOrdersResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingOrdersUnfreezeResponse ¶ added in v1.0.16
type ProfitSharingOrdersUnfreezeResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
TransactionId string `json:"transaction_id"` // 微信订单号
OutOrderNo string `json:"out_order_no"` // 商户分账单号
OrderId string `json:"order_id"` // 微信分账单号
State string `json:"state"` // 分账单状态
Receivers []struct {
Amount int `json:"amount"` // 分账金额
Description string `json:"description"` // 分账描述
Type string `json:"type"` // 分账接收方类型
Account string `json:"account"` // 分账接收方账号
Result string `json:"result"` // 分账结果
FailReason string `json:"fail_reason"` // 分账失败原因
DetailId string `json:"detail_id"` // 分账明细单号
CreateTime string `json:"create_time"` // 分账创建时间
FinishTime string `json:"finish_time"` // 分账完成时间
} `json:"receivers,omitempty"` // 分账接收方列表
}
type ProfitSharingOrdersUnfreezeResult ¶ added in v1.0.16
type ProfitSharingOrdersUnfreezeResult struct {
Result ProfitSharingOrdersUnfreezeResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingReceiversAddResponse ¶ added in v1.0.16
type ProfitSharingReceiversAddResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
Type string `json:"type"` // 分账接收方类型
Account string `json:"account"` // 分账接收方账号
Name string `json:"name,omitempty"` // 分账接收方全称
RelationType string `json:"relation_type"` // 与分账方的关系类型
CustomRelation string `json:"custom_relation,omitempty"` // 自定义的分账关系
}
type ProfitSharingReceiversAddResult ¶ added in v1.0.16
type ProfitSharingReceiversAddResult struct {
Result ProfitSharingReceiversAddResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingReceiversDeleteResponse ¶ added in v1.0.16
type ProfitSharingReceiversDeleteResult ¶ added in v1.0.16
type ProfitSharingReceiversDeleteResult struct {
Result ProfitSharingReceiversDeleteResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingReceiversNotifyHttpRequest ¶ added in v1.0.31
type ProfitSharingReceiversNotifyHttpRequest struct {
Id string `json:"status" xml:"id"` // 通知ID
CreateTime string `json:"create_time" xml:"create_time"` // 通知创建时间
EventType string `json:"event_type" xml:"event_type"` // 通知类型
Summary string `json:"summary" xml:"summary"` // 通知简要说明
ResourceType string `json:"resource_type" xml:"resource_type"` // 通知数据类型
Resource struct {
Algorithm string `json:"algorithm" xml:"algorithm"` // 加密算法类型
Ciphertext string `json:"ciphertext" xml:"ciphertext"` // 数据密文
AssociatedData string `json:"associated_data,omitempty" xml:"associated_data,omitempty"` // 附加数据
OriginalType string `json:"original_type" xml:"original_type"` // 原始类型
Nonce string `json:"nonce" xml:"nonce"` // 随机串
} `json:"resource" xml:"resource"` // 通知数据
}
ProfitSharingReceiversNotifyHttpRequest 分账动账通知API - 回调通知 - 请求参数
type ProfitSharingReceiversNotifyHttpResponse ¶ added in v1.0.31
type ProfitSharingReceiversNotifyHttpResponse struct {
SpMchid string `json:"sp_mchid"` // 服务商商户号
SubMchid string `json:"sub_mchid"` // 子商户号
TransactionId string `json:"transaction_id"` // 微信订单号
OrderId string `json:"order_id"` // 微信分账/回退单号
OutOrderNo string `json:"out_order_no"` // 商户分账/回退单号
Receiver struct {
Type string `json:"type"` // 分账接收方类型
Account string `json:"account"` // 分账接收方账号
Amount int `json:"amount"` // 分账动账金额
Description string `json:"description"` // 分账/回退描述
} `json:"receiver"` // 分账接收方列表
SuccessTime string `json:"success_time"` // 成功时间
}
ProfitSharingReceiversNotifyHttpResponse 分账动账通知API - 回调通知 - 解密后数据
type ProfitSharingReturnOrdersOutReturnNoResponse ¶ added in v1.0.16
type ProfitSharingReturnOrdersOutReturnNoResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
OrderId string `json:"order_id"` // 微信分账单号
OutOrderNo string `json:"out_order_no"` // 商户分账单号
OutReturnNo string `json:"out_return_no"` // 商户回退单号
ReturnId string `json:"return_id"` // 微信回退单号
ReturnMchid string `json:"return_mchid"` // 回退商户号
Amount int `json:"amount"` // 回退金额
Description string `json:"description"` // 回退描述
Result string `json:"result"` // 回退结果
FailReason string `json:"fail_reason"` // 失败原因
CreateTime string `json:"create_time"` // 创建时间
FinishTime string `json:"finish_time"` // 完成时间
}
type ProfitSharingReturnOrdersOutReturnNoResult ¶ added in v1.0.16
type ProfitSharingReturnOrdersOutReturnNoResult struct {
Result ProfitSharingReturnOrdersOutReturnNoResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingReturnOrdersResponse ¶ added in v1.0.16
type ProfitSharingReturnOrdersResponse struct {
SubMchid string `json:"sub_mchid"` // 子商户号
OrderId string `json:"order_id"` // 微信分账单号
OutOrderNo string `json:"out_order_no"` // 商户分账单号
OutReturnNo string `json:"out_return_no"` // 商户回退单号
ReturnId string `json:"return_id"` // 微信回退单号
ReturnMchid string `json:"return_mchid"` // 回退商户号
Amount int `json:"amount"` // 回退金额
Description string `json:"description"` // 回退描述
Result string `json:"result"` // 回退结果
FailReason string `json:"fail_reason"` // 失败原因
CreateTime string `json:"create_time"` // 创建时间
FinishTime string `json:"finish_time"` // 完成时间
}
type ProfitSharingReturnOrdersResult ¶ added in v1.0.16
type ProfitSharingReturnOrdersResult struct {
Result ProfitSharingReturnOrdersResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type ProfitSharingTransactionsAmountsResponse ¶ added in v1.0.16
type ProfitSharingTransactionsAmountsResult ¶ added in v1.0.16
type ProfitSharingTransactionsAmountsResult struct {
Result ProfitSharingTransactionsAmountsResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type RefundDomesticRefundsNoNotifyHttpRequest ¶ added in v1.0.31
type RefundDomesticRefundsNoNotifyHttpRequest struct {
Id string `json:"status" xml:"id"` // 通知ID
CreateTime string `json:"create_time" xml:"create_time"` // 通知创建时间
EventType string `json:"event_type" xml:"event_type"` // 通知类型
Summary string `json:"summary" xml:"summary"` // 通知简要说明
ResourceType string `json:"resource_type" xml:"resource_type"` // 通知数据类型
Resource struct {
Algorithm string `json:"algorithm" xml:"algorithm"` // 加密算法类型
Ciphertext string `json:"ciphertext" xml:"ciphertext"` // 数据密文
AssociatedData string `json:"associated_data,omitempty" xml:"associated_data,omitempty"` // 附加数据
OriginalType string `json:"original_type" xml:"original_type"` // 原始类型
Nonce string `json:"nonce" xml:"nonce"` // 随机串
} `json:"resource" xml:"resource"` // 通知数据
}
RefundDomesticRefundsNoNotifyHttpRequest 申请退款API - 回调通知 - 请求参数
type RefundDomesticRefundsNoNotifyHttpResponse ¶ added in v1.0.31
type RefundDomesticRefundsNoNotifyHttpResponse struct {
SpMchid string `json:"sp_mchid"` // 服务商户号
SubMchid string `json:"sub_mchid"` // 子商户号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
OutRefundNo string `json:"out_refund_no"` // 商户退款单号
RefundId string `json:"refund_id"` // 微信支付退款单号
RefundStatus string `json:"refund_status"` // 退款状态
SuccessTime string `json:"success_time"` // 退款成功时间
UserReceivedAccount string `json:"user_received_account"` // 退款入账账户
Amount struct {
Total int `json:"total"` // 订单金额
Refund int `json:"refund"` // 退款金额
PayerTotal int `json:"payer_total"` // 用户支付金额
PayerRefund int `json:"payer_refund"` // 用户退款金额
} `json:"amount"` // 金额信息
}
RefundDomesticRefundsNoNotifyHttpResponse 申请退款API - 回调通知 - 解密后数据
type RefundDomesticRefundsOutRefundNoGetResponse ¶ added in v1.0.28
type RefundDomesticRefundsOutRefundNoGetResponse struct {
RefundId string `json:"refund_id"` // 微信支付退款单号
OutRefundNo string `json:"out_refund_no"` // 商户退款单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
Channel string `json:"channel"` // 退款渠道
UserReceivedAccount string `json:"user_received_account"` // 退款入账账户
SuccessTime time.Time `json:"success_time"` // 退款成功时间
CreateTime time.Time `json:"create_time"` // 退款创建时间
Status string `json:"status"` // 退款状态
FundsAccount string `json:"funds_account"` // 资金账户
Amount struct {
Total int `json:"total"` // 订单金额
Refund int `json:"refund"` // 退款金额
From []struct {
Account string `json:"account"` // 出资账户类型
Amount int `json:"amount"` // 出资金额
} `json:"from"` // 退款出资账户及金额
PayerTotal int `json:"payer_total"` // 用户支付金额
PayerRefund int `json:"payer_refund"` // 用户退款金额
SettlementRefund int `json:"settlement_refund"` // 应结退款金额
SettlementTotal int `json:"settlement_total"` // 应结订单金额
DiscountRefund int `json:"discount_refund"` // 优惠退款金额
Currency string `json:"currency"` // 退款币种
RefundFee int `json:"refund_fee"` // 手续费退款金额
} `json:"amount"` // 金额信息
PromotionDetail []struct {
PromotionId string `json:"promotion_id"` // 券ID
Scope string `json:"scope"` // 优惠范围
Type string `json:"type"` // 优惠类型
Amount int `json:"amount"` // 优惠券面额
RefundAmount int `json:"refund_amount"` // 优惠退款金额
GoodsDetail []struct {
MerchantGoodsId string `json:"merchant_goods_id"` // 商户侧商品编码
WechatpayGoodsId string `json:"wechatpay_goods_id"` // 微信支付商品编码
GoodsName string `json:"goods_name"` // 商品名称
UnitPrice int `json:"unit_price"` // 商品单价
RefundAmount int `json:"refund_amount"` // 商品退款金额
RefundQuantity int `json:"refund_quantity"` // 商品退货数量
} `json:"goods_detail"` // 商品列表
} `json:"promotion_detail"` // 优惠退款信息
}
type RefundDomesticRefundsOutRefundNoGetResult ¶ added in v1.0.28
type RefundDomesticRefundsOutRefundNoGetResult struct {
Result RefundDomesticRefundsOutRefundNoGetResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type RefundDomesticRefundsOutRefundNoResponse ¶
type RefundDomesticRefundsOutRefundNoResponse struct {
RefundId string `json:"refund_id"`
OutRefundNo string `json:"out_refund_no"`
TransactionId string `json:"transaction_id"`
OutTradeNo string `json:"out_trade_no"`
Channel string `json:"channel"`
UserReceivedAccount string `json:"user_received_account"`
SuccessTime string `json:"success_time"`
CreateTime time.Time `json:"create_time"`
Status string `json:"status"`
FundsAccount string `json:"funds_account"`
Amount struct {
Total int `json:"total"`
Refund int `json:"refund"`
From []struct {
Account string `json:"account"`
Amount int `json:"amount"`
} `json:"from"`
PayerTotal int `json:"payer_total"`
PayerRefund int `json:"payer_refund"`
SettlementRefund int `json:"settlement_refund"`
SettlementTotal int `json:"settlement_total"`
DiscountRefund int `json:"discount_refund"`
Currency string `json:"currency"`
} `json:"amount"`
PromotionDetail []struct {
PromotionId string `json:"promotion_id"`
Scope string `json:"scope"`
Type string `json:"type"`
Amount int `json:"amount"`
RefundAmount int `json:"refund_amount"`
GoodsDetail struct {
MerchantGoodsId string `json:"merchant_goods_id"`
WechatpayGoodsId string `json:"wechatpay_goods_id"`
GoodsName string `json:"goods_name"`
UnitPrice int `json:"unit_price"`
RefundAmount int `json:"refund_amount"`
RefundQuantity int `json:"refund_quantity"`
} `json:"goods_detail"`
} `json:"promotion_detail"`
}
type RefundDomesticRefundsOutRefundNoResult ¶
type RefundDomesticRefundsOutRefundNoResult struct {
Result RefundDomesticRefundsOutRefundNoResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type RefundDomesticRefundsPostNotifyHttpRequest ¶ added in v1.0.31
type RefundDomesticRefundsPostNotifyHttpRequest struct {
Id string `json:"status" xml:"id"` // 通知ID
CreateTime string `json:"create_time" xml:"create_time"` // 通知创建时间
EventType string `json:"event_type" xml:"event_type"` // 通知类型
ResourceType string `json:"resource_type" xml:"resource_type"` // 通知数据类型
Resource struct {
Algorithm string `json:"algorithm" xml:"algorithm"` // 加密算法类型
Ciphertext string `json:"ciphertext" xml:"ciphertext"` // 数据密文
AssociatedData string `json:"associated_data,omitempty" xml:"associated_data,omitempty"` // 附加数据
OriginalType string `json:"original_type" xml:"original_type"` // 原始类型
Nonce string `json:"nonce" xml:"nonce"` // 随机串
} `json:"resource" xml:"resource"` // 通知数据
Summary string `json:"summary" xml:"summary"` // 回调摘要
}
RefundDomesticRefundsPostNotifyHttpRequest 退款结果通知API - 请求参数
type RefundDomesticRefundsPostNotifyHttpResponse ¶ added in v1.0.31
type RefundDomesticRefundsPostNotifyHttpResponse struct {
SpMchid string `json:"sp_mchid"` // 服务商户号
SubMchid string `json:"sub_mchid"` // 子商户号
TransactionId string `json:"transaction_id"` // 商户订单号
OutTradeNo string `json:"out_trade_no"` // 微信支付订单号
RefundId string `json:"refund_id"` // 商户退款单号
OutRefundNo string `json:"out_refund_no"` // 微信支付退款单号
RefundStatus string `json:"refund_status"` // 退款状态
SuccessTime time.Time `json:"success_time"` // 退款成功时间
UserReceivedAccount string `json:"user_received_account"` // 退款入账账户
Amount struct {
Total int `json:"total"` // 订单金额
Refund int `json:"refund"` // 退款金额
PayerTotal int `json:"payer_total"` // 用户支付金额
PayerRefund int `json:"payer_refund"` // 用户退款金额
} `json:"amount"` // 金额信息
}
RefundDomesticRefundsPostNotifyHttpResponse 退款结果通知API - 解密后数据
type RefundDomesticRefundsPostResponse ¶ added in v1.0.28
type RefundDomesticRefundsPostResponse struct {
RefundId string `json:"refund_id"` // 微信支付退款单号
OutRefundNo string `json:"out_refund_no"` // 商户退款单号
TransactionId string `json:"transaction_id"` // 微信支付订单号
OutTradeNo string `json:"out_trade_no"` // 商户订单号
Channel string `json:"channel"` // 退款渠道
UserReceivedAccount string `json:"user_received_account"` // 退款入账账户
SuccessTime time.Time `json:"success_time"` // 退款成功时间
CreateTime time.Time `json:"create_time"` // 退款创建时间
Status string `json:"status"` // 退款状态
FundsAccount string `json:"funds_account"` // 资金账户
Amount struct {
Total int `json:"total"` // 订单金额
Refund int `json:"refund"` // 退款金额
From []struct {
Account string `json:"account"` // 出资账户类型
Amount int `json:"amount"` // 出资金额
} `json:"from"` // 退款出资账户及金额
PayerTotal int `json:"payer_total"` // 用户支付金额
PayerRefund int `json:"payer_refund"` // 用户退款金额
SettlementRefund int `json:"settlement_refund"` // 应结退款金额
SettlementTotal int `json:"settlement_total"` // 应结订单金额
DiscountRefund int `json:"discount_refund"` // 优惠退款金额
Currency string `json:"currency"` // 退款币种
RefundFee int `json:"refund_fee"` // 手续费退款金额
} `json:"amount"` // 金额信息
PromotionDetail []struct {
PromotionId string `json:"promotion_id"` // 券ID
Scope string `json:"scope"` // 优惠范围
Type string `json:"type"` // 优惠类型
Amount int `json:"amount"` // 优惠券面额
RefundAmount int `json:"refund_amount"` // 优惠退款金额
GoodsDetail []struct {
MerchantGoodsId string `json:"merchant_goods_id"` // 商户侧商品编码
WechatpayGoodsId string `json:"wechatpay_goods_id"` // 微信支付商品编码
GoodsName string `json:"goods_name"` // 商品名称
UnitPrice int `json:"unit_price"` // 商品单价
RefundAmount int `json:"refund_amount"` // 商品退款金额
RefundQuantity int `json:"refund_quantity"` // 商品退货数量
} `json:"goods_detail"` // 商品列表
} `json:"promotion_detail"` // 优惠退款信息
}
type RefundDomesticRefundsPostResult ¶ added in v1.0.28
type RefundDomesticRefundsPostResult struct {
Result RefundDomesticRefundsPostResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
type RefundDomesticRefundsResponse ¶
type RefundDomesticRefundsResponse struct {
RefundId string `json:"refund_id"`
OutRefundNo string `json:"out_refund_no"`
TransactionId string `json:"transaction_id"`
OutTradeNo string `json:"out_trade_no"`
Channel string `json:"channel"`
UserReceivedAccount string `json:"user_received_account"`
SuccessTime time.Time `json:"success_time"`
CreateTime time.Time `json:"create_time"`
Status string `json:"status"`
FundsAccount string `json:"funds_account"`
Amount struct {
Total int `json:"total"`
Refund int `json:"refund"`
From []struct {
Account string `json:"account"`
Amount int `json:"amount"`
} `json:"from"`
PayerTotal int `json:"payer_total"`
PayerRefund int `json:"payer_refund"`
SettlementRefund int `json:"settlement_refund"`
SettlementTotal int `json:"settlement_total"`
DiscountRefund int `json:"discount_refund"`
Currency string `json:"currency"`
} `json:"amount"`
PromotionDetail []struct {
PromotionId string `json:"promotion_id"`
Scope string `json:"scope"`
Type string `json:"type"`
Amount int `json:"amount"`
RefundAmount int `json:"refund_amount"`
GoodsDetail struct {
MerchantGoodsId string `json:"merchant_goods_id"`
WechatpayGoodsId string `json:"wechatpay_goods_id"`
GoodsName string `json:"goods_name"`
UnitPrice int `json:"unit_price"`
RefundAmount int `json:"refund_amount"`
RefundQuantity int `json:"refund_quantity"`
} `json:"goods_detail"`
} `json:"promotion_detail"`
}
type RefundDomesticRefundsResult ¶
type RefundDomesticRefundsResult struct {
Result RefundDomesticRefundsResponse // 结果
Body []byte // 内容
Http gorequest.Response // 请求
}
Source Files
¶
- bill.fundflowbill.get.go
- bill.sub-merchant-fundflowbill.get.go
- bill.tradebill.get.go
- certificates.go
- client.config.go
- client.const.go
- client.go
- client.opentelemetry.go
- ecommerce.fund.balance.go
- ecommerce.fund.enddaybalance.go
- merchant.fund.balance.go
- merchant.fund.dayendbalance.go
- pay.jsapi.go
- pay.partner.transactions.h5.go
- pay.partner.transactions.id.go
- pay.partner.transactions.id.transaction_id.get.go
- pay.partner.transactions.jsapi.go
- pay.partner.transactions.jsapi.notify.http.go
- pay.partner.transactions.native.post.go
- pay.partner.transactions.native.post.notify.http.go
- pay.partner.transactions.out-trade-no.close.go
- pay.partner.transactions.out-trade-no.go
- pay.partner.transactions.out-trade-no.out_trade_no.close.post.go
- pay.partner.transactions.out-trade-no.out_trade_no.get.go
- profitsharing.merchant-configs.go
- profitsharing.orders.go
- profitsharing.orders.out_order_no.go
- profitsharing.orders.unfreeze.go
- profitsharing.receivers.add.go
- profitsharing.receivers.delete.go
- profitsharing.receivers.notify.http.go
- profitsharing.return-orders.go
- profitsharing.return-orders.out_return_no.go
- profitsharing.transactions.amounts.go
- refund.domestic.refunds.go
- refund.domestic.refunds.notify.http.go
- refund.domestic.refunds.out_refund_no.get.go
- refund.domestic.refunds.out_refund_no.go
- refund.domestic.refunds.post.go
- refund.domestic.refunds.post.notify.http.go
- request.go
- sign.decrypt.go
- sign.go
- sign.rsa.go
- version.go