v2

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*huifupay.Client
}

func NewClient

func NewClient(config huifupay.Config, options ...huifupay.ClientOption) *Client

func (*Client) MerchantBasicdataQuery

func (c *Client) MerchantBasicdataQuery(ctx context.Context, req *MerchantBasicdataQueryRequest) (resp *MerchantBasicdataQueryResponse, err error)

MerchantBasicdataQuery 商户详细信息查询 https://paas.huifu.com/partners/api#/shgl/shjj/api_shjj_shxxxxcx_kyc 最近更新时间:2023.4.26

func (*Client) MerchantBasicdataSettlementQuery

func (c *Client) MerchantBasicdataSettlementQuery(ctx context.Context, req *MerchantBasicdataSettlementQueryRequest) (resp *MerchantBasicdataSettlementQueryResponse, err error)

MerchantBasicdataSettlementQuery 结算记录查询 https://paas.huifu.com/partners/api#/jyjs/qx/api_jsjlfycx 最近更新时间:2023.4.30

func (*Client) MerchantBusiBillConfig

func (c *Client) MerchantBusiBillConfig(ctx context.Context, req *MerchantBusiBillConfigRequest) (resp *MerchantBusiBillConfigResponse, err error)

MerchantBusiBillConfig 交易结算对账文件配置 https://paas.huifu.com/partners/api#/jyjs/api_jyjs_wjpz 最近更新时间:2023.5.24

func (*Client) MerchantBusiBillQuery

func (c *Client) MerchantBusiBillQuery(ctx context.Context, req *MerchantBusiBillQueryRequest) (resp *MerchantBusiBillQueryResponse, err error)

MerchantBusiBillQuery 交易结算对账单配置查询 https://paas.huifu.com/partners/api#/jyjs/api_jyjs_wjpzcx 最近更新时间:2023.5.24

func (*Client) SupplementaryPicture

func (c *Client) SupplementaryPicture(ctx context.Context, filePath string, req *SupplementaryPictureRequest) (resp *SupplementaryPictureResponse, err error)

SupplementaryPicture 图片上传 https://paas.huifu.com/partners/api#/shgl/shjj/api_shjj_shtpsc?id=%e5%9b%be%e7%89%87%e4%b8%8a%e4%bc%a0 最近更新时间:2024.3.1

func (*Client) TradeAcctpaymentAcctlogQuery

func (c *Client) TradeAcctpaymentAcctlogQuery(ctx context.Context, req *TradeAcctpaymentAcctlogQueryRequest) (resp *TradeAcctpaymentAcctlogQueryResponse, err error)

TradeAcctpaymentAcctlogQuery 账务流水查询 https://paas.huifu.com/partners/api#/yuer/api_acctlscx 最近更新时间:2023.4.29

func (*Client) TradeAcctpaymentBalanceQuery

func (c *Client) TradeAcctpaymentBalanceQuery(ctx context.Context, req *TradeAcctpaymentBalanceQueryRequest) (resp *TradeAcctPaymentBalanceQueryResponse, err error)

TradeAcctpaymentBalanceQuery 账户余额信息查询接口 https://paas.huifu.com/partners/api#/jyjs/api_jyjs_yuexxcx 最近更新时间:2023.4.21

func (*Client) TradeCheckFilequery

func (c *Client) TradeCheckFilequery(ctx context.Context, req *TradeCheckFilequeryRequest) (resp *TradeCheckFilequeryResponse, err error)

TradeCheckFilequery 交易结算对账单查询 https://paas.huifu.com/partners/api#/jyjs/api_jyjs_wjcx 最近更新时间:2023.5.24

func (*Client) TradeCheckReplay

func (c *Client) TradeCheckReplay(ctx context.Context, req *TradeCheckReplayRequest) (resp *TradeCheckReplayResponse, err error)

TradeCheckReplay 交易结算对账文件重新生成 https://paas.huifu.com/partners/api/#/jyjs/api_jyjs_wjbsc 最近更新时间:2023.5.11

func (*Client) TradePaymentDelaytransConfirm

func (c *Client) TradePaymentDelaytransConfirm(ctx context.Context, req *TradePaymentDelaytransConfirmRequest) (resp *TradePaymentDelaytransConfirmResponse, err error)

TradePaymentDelaytransConfirm 交易确认接口 https://paas.huifu.com/partners/api#/smzf/api_jyqr 最近更新时间:2023.5.23

func (*Client) TradePaymentDelaytransConfirmNotify

func (c *Client) TradePaymentDelaytransConfirmNotify(ctx context.Context, req *http.Request) (n *TradePaymentDelaytransConfirmNotify, err error)

TradePaymentDelaytransConfirmNotify 异步通知

func (*Client) TradePaymentDelaytransConfirmquery

func (c *Client) TradePaymentDelaytransConfirmquery(ctx context.Context, req *TradePaymentDelaytransConfirmqueryRequest) (resp *TradePaymentDelaytransConfirmqueryResponse, err error)

TradePaymentDelaytransConfirmquery 交易确认查询接口 https://paas.huifu.com/partners/api#/smzf/api_jyqrcx 最近更新时间:2023.5.23

func (*Client) TradePaymentDelaytransConfirmrefund

func (c *Client) TradePaymentDelaytransConfirmrefund(ctx context.Context, req *TradePaymentDelaytransConfirmrefundRequest) (resp *TradePaymentDelaytransConfirmrefundResponse, err error)

TradePaymentDelaytransConfirmrefund 交易确认退款接口 https://paas.huifu.com/partners/api#/smzf/api_jyqrtk 最近更新时间:2023.5.23

func (*Client) TradePaymentDelaytransConfirmrefundquery

func (c *Client) TradePaymentDelaytransConfirmrefundquery(ctx context.Context, req *TradePaymentDelaytransConfirmrefundqueryRequest) (resp *TradePaymentDelaytransConfirmrefundqueryResponse, err error)

TradePaymentDelaytransConfirmrefundquery 交易确认退款查询接口 https://paas.huifu.com/partners/api#/smzf/api_jyqrtkcq 最近更新时间:2023.5.23

func (*Client) TradePaymentJspay

func (c *Client) TradePaymentJspay(ctx context.Context, req *TradePaymentJspayRequest) (resp *TradePaymentJspayResponse, err error)

TradePaymentJspay 聚合正扫接口 https://paas.huifu.com/partners/api#/smzf/api_jhzs?id=h5wx 最近更新时间:2023.4.24

func (*Client) TradePaymentJspayNotify

func (c *Client) TradePaymentJspayNotify(ctx context.Context, req *http.Request) (n *TradePaymentJspayNotify, err error)

func (*Client) TradePaymentMicropay

func (c *Client) TradePaymentMicropay(ctx context.Context, req *TradePaymentMicropayRequest) (resp *TradePaymentMicropayResponse, err error)

TradePaymentMicropay 聚合反扫接口 https://paas.huifu.com/partners/api#/smzf/api_jhfs 最近更新时间:2023.4.28

func (*Client) TradePaymentMicropayNotify

func (c *Client) TradePaymentMicropayNotify(ctx context.Context, req *http.Request) (n *TradePaymentMicropayNotify, err error)

TradePaymentMicropayNotify 异步通知

func (*Client) TradePaymentScanPayCloseQuery

func (c *Client) TradePaymentScanPayCloseQuery(ctx context.Context, req *TradePaymentScanPayCloseQueryRequest) (resp *TradePaymentScanPayCloseQueryResponse, err error)

TradePaymentScanPayCloseQuery 扫码交易关单查询 https://paas.huifu.com/partners/api#/smzf/api_jygdcx 最近更新时间:2023.3.31

func (*Client) TradePaymentScanpayClose

func (c *Client) TradePaymentScanpayClose(ctx context.Context, req *TradePaymentScanpayCloseRequest) (resp *TradePaymentScanpayCloseResponse, err error)

TradePaymentScanpayClose 扫码交易关单 https://paas.huifu.com/partners/api#/smzf/api_qrpay_jygd 最近更新时间:2023.10.26

func (*Client) TradePaymentScanpayQuery

func (c *Client) TradePaymentScanpayQuery(ctx context.Context, req *TradePaymentScanpayQueryRequest) (resp *TradePaymentScanPayQueryResponse, err error)

TradePaymentScanpayQuery 扫码交易查询 https://paas.huifu.com/partners/api#/smzf/api_qrpay_cx?id=ewm 最近更新时间:2024.4.18

func (*Client) TradePaymentScanpayRefund

func (c *Client) TradePaymentScanpayRefund(ctx context.Context, req *TradePaymentScanpayRefundRequest) (resp *TradePaymentScanpayRefundResponse, err error)

TradePaymentScanpayRefund 扫码交易退款 https://paas.huifu.com/partners/api#/smzf/api_qrpay_tk?id=appwx 最近更新时间:2023.4.28

func (*Client) TradePaymentScanpayRefundNotify

func (c *Client) TradePaymentScanpayRefundNotify(ctx context.Context, req *http.Request) (n *TradePaymentScanpayRefundNotify, err error)

func (*Client) TradePaymentScanpayRefundQuery

func (c *Client) TradePaymentScanpayRefundQuery(ctx context.Context, req *TradePaymentScanpayRefundQueryRequest) (resp *TradePaymentScanpayRefundQueryResponse, err error)

TradePaymentScanpayRefundQuery 扫码交易退款查询接口 https://paas.huifu.com/partners/api#/smzf/api_qrpay_tkcx?id=appwx 最近更新时间:2023.4.28

func (*Client) TradeSettlementEnchashment

func (c *Client) TradeSettlementEnchashment(ctx context.Context, req *TradeSettlementEnchashmentRequest) (resp *TradeSettlementEnchashmentResponse, err error)

TradeSettlementEnchashment 提现接口 https://paas.huifu.com/partners/api#/jyjs/qx/api_qx 最近更新时间:2023.4.26

func (*Client) TradeSettlementEnchashmentNotify

func (c *Client) TradeSettlementEnchashmentNotify(ctx context.Context, req *http.Request) (n *TradeSettlementEnchashmentNotify, err error)

TradeSettlementEnchashmentNotify 异步通知

func (*Client) TradeSettlementQuery

func (c *Client) TradeSettlementQuery(ctx context.Context, req *TradeSettlementQueryRequest) (resp *TradeSettlementQueryResponse, err error)

TradeSettlementQuery 出金交易查询接口 https://paas.huifu.com/partners/api#/jyjs/qx/api_cjjycx 最近更新时间:2023.4.26

type MerchantBasicdataQueryCashCardInfo

type MerchantBasicdataQueryCashCardInfo struct {
	CardType         string `json:"card_type"`
	CardName         string `json:"card_name"`
	CardNo           string `json:"card_no"`
	ProvId           string `json:"prov_id"`
	AreaId           string `json:"area_id"`
	BankCode         string `json:"bank_code"`
	BankName         string `json:"bank_name"`
	BranchCode       string `json:"branch_code"`
	BranchName       string `json:"branch_name"`
	CertType         string `json:"cert_type"`
	CertNo           string `json:"cert_no"`
	CertValidityType string `json:"cert_validity_type"`
	CertBeginDate    string `json:"cert_begin_date"`
	CertEndDate      string `json:"cert_end_date"`
	Status           string `json:"status"`
	TokenNo          string `json:"token_no"`
	IsSettleDefault  string `json:"is_settle_default"`
}

type MerchantBasicdataQueryRequest

type MerchantBasicdataQueryRequest struct {
	ReqSeqId string `json:"req_seq_id"`
	ReqDate  string `json:"req_date"`
	HuifuId  string `json:"huifu_id"`
}

type MerchantBasicdataQueryResponse

type MerchantBasicdataQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode                   string                               `json:"resp_code"`
		RespDesc                   string                               `json:"resp_desc"`
		ProductId                  string                               `json:"product_id"`
		UpperHuifuId               string                               `json:"upper_huifu_id"`
		ExtMerId                   string                               `json:"ext_mer_id"`
		RegName                    string                               `json:"reg_name"`
		ShortName                  string                               `json:"short_name"`
		ReceiptName                string                               `json:"receipt_name"`
		Remarks                    string                               `json:"remarks"`
		CustType                   string                               `json:"cust_type"`
		EntType                    string                               `json:"ent_type"`
		BusiType                   string                               `json:"busi_type"`
		Mcc                        string                               `json:"mcc"`
		LicenseType                string                               `json:"license_type"`
		LicenseCode                string                               `json:"license_code"`
		LicenseValidityType        string                               `json:"license_validity_type"`
		LicenseBeginDate           string                               `json:"license_begin_date"`
		LicenseEndDate             string                               `json:"license_end_date"`
		RegProvId                  string                               `json:"reg_prov_id"`
		RegAreaId                  string                               `json:"reg_area_id"`
		RegDistrictId              string                               `json:"reg_district_id"`
		RegDetail                  string                               `json:"reg_detail"`
		ProvId                     string                               `json:"prov_id"`
		AreaId                     string                               `json:"area_id"`
		DistrictId                 string                               `json:"district_id"`
		DetailAddr                 string                               `json:"detail_addr"`
		LegalName                  string                               `json:"legal_name"`
		LegalCertType              string                               `json:"legal_cert_type"`
		LegalCertNo                string                               `json:"legal_cert_no"`
		LegalCertValidityType      string                               `json:"legal_cert_validity_type"`
		LegalCertBeginDate         string                               `json:"legal_cert_begin_date"`
		LegalCertEndDate           string                               `json:"legal_cert_end_date"`
		LegalMobileNo              string                               `json:"legal_mobile_no"`
		LegalAddr                  string                               `json:"legal_addr"`
		Occupation                 string                               `json:"occupation"`
		BeneficiaryInfoList        string                               `json:"beneficiary_info_list"`
		ContactName                string                               `json:"contact_name"`
		ContactMobileNo            string                               `json:"contact_mobile_no"`
		ContactEmail               string                               `json:"contact_email"`
		ServicePhone               string                               `json:"service_phone"`
		LoginName                  string                               `json:"login_name"`
		SmsSendFlag                string                               `json:"sms_send_flag"`
		MerUrl                     string                               `json:"mer_url"`
		MerIcp                     string                               `json:"mer_icp"`
		OpenLicenceNo              string                               `json:"open_licence_no"`
		QryCashCardInfoList        string                               `json:"qry_cash_card_info_list"`
		QryCashCardInfoListObject  []MerchantBasicdataQueryCashCardInfo `autoassign:"QryCashCardInfoList"`
		QryCashConfigList          string                               `json:"qry_cash_config_list"`
		QrySettleConfigList        string                               `json:"qry_settle_config_list"`
		CollectionSettleConfigList string                               `json:"collection_settle_config_list"`
		AgreementInfoList          string                               `json:"agreement_info_list"`
		SignUserInfoList           string                               `json:"sign_user_info_list"`
		OnlineBusiType             string                               `json:"online_busi_type"`
		OnlineMediaInfoList        string                               `json:"online_media_info_list"`
		QuickFlag                  string                               `json:"quick_flag"`
		OnlineFlag                 string                               `json:"online_flag"`
		WithholdFlag               string                               `json:"withhold_flag"`
		PreAuthorizationFlag       string                               `json:"pre_authorization_flag"`
		WebFlag                    string                               `json:"web_flag"`
		BalancePayFlag             string                               `json:"balance_pay_flag"`
		QryBalancePayConfig        string                               `json:"qry_balance_pay_config"`
		OnlineFeeConfList          string                               `json:"online_fee_conf_list"`
		DelayFlag                  string                               `json:"delay_flag"`
		ForcedDelayFlag            string                               `json:"forced_delay_flag"`
		OutFeeFlag                 string                               `json:"out_fee_flag"`
		OutFeeHuifuId              string                               `json:"out_fee_huifu_id"`
		OutFeeAcctType             string                               `json:"out_fee_acct_type"`
		QryWxConfList              string                               `json:"qry_wx_conf_list"`
		QryAliConfList             string                               `json:"qry_ali_conf_list"`
		QryBankCardConf            string                               `json:"qry_bank_card_conf"`
		QryUnionConf               string                               `json:"qry_union_conf"`
		BankBigAmtPayConfig        string                               `json:"bank_big_amt_pay_config"`
		OutOrderFundsMerge         string                               `json:"out_order_funds_merge"`
		CombinePayConfig           string                               `json:"combine_pay_config"`
		WxZlConf                   string                               `json:"wx_zl_conf"`
		AliZlConfList              string                               `json:"ali_zl_conf_list"`
		FileInfoList               string                               `json:"file_info_list"`
		ReconRespAddr              string                               `json:"recon_resp_addr"`
		EnterFee                   float64                              `json:"enter_fee"`
		EnterFeeFlag               string                               `json:"enter_fee_flag"`
		MerIdentity                string                               `json:"mer_Identity"`
		MerLevel                   string                               `json:"mer_level"`
		MerConfigInfo              string                               `json:"mer_config_info"`
		ElecAcctConfig             string                               `json:"elec_acct_config"`
		TaxConfig                  string                               `json:"tax_config"`
		OnlineRefund               string                               `json:"online_refund"`
		PlatformRefund             string                               `json:"platform_refund"`
		SupportRevoke              string                               `json:"support_revoke"`
		SplitBillResult            string                               `json:"split_bill_result"`
		ShareHolderInfoList        string                               `json:"share_holder_info_list"`
		HeadOfficeFlag             string                               `json:"head_office_flag"`
	} `json:"data"`
}

type MerchantBasicdataSettlementQueryRequest

type MerchantBasicdataSettlementQueryRequest struct {
	ReqSeqId    string `json:"req_seq_id"`
	ReqDate     string `json:"req_date"`
	HuifuId     string `json:"huifu_id"`
	BeginDate   string `json:"begin_date"`
	EndDate     string `json:"end_date"`
	PageSize    string `json:"page_size"`
	SettleCycle string `json:"settle_cycle"`
	PageNum     string `json:"page_num"`
	TransStat   string `json:"trans_stat"`
	SortColumn  string `json:"sort_column"`
	SortOrder   string `json:"sort_order"`
}

type MerchantBasicdataSettlementQueryResponse

type MerchantBasicdataSettlementQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode           string `json:"resp_code"`
		RespDesc           string `json:"resp_desc"`
		ResultCount        int    `json:"result_count"`
		PageSize           int    `json:"page_size"`
		PageNum            int    `json:"page_num"`
		TransLogResultList string `json:"trans_log_result_list"`
	} `json:"data"`
}

type MerchantBusiBillConfigRequest

type MerchantBusiBillConfigRequest struct {
	ReqDate         string `json:"req_date"`
	ReqSeqId        string `json:"req_seq_id"`
	HuifuId         string `json:"huifu_id"`
	ReconSendFlag   string `json:"recon_send_flag"`
	FtpAddr         string `json:"ftp_addr"`
	FtpUser         string `json:"ftp_user"`
	FtpPwd          string `json:"ftp_pwd"`
	FileType        string `json:"file_type"`
	AsSettleFlag    string `json:"as_settle_flag"`
	NotifyUrl       string `json:"notify_url"`
	ContainUser     string `json:"contain_user"`
	ContainMerchant string `json:"contain_merchant"`
}

type MerchantBusiBillConfigResponse

type MerchantBusiBillConfigResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode        string `json:"resp_code"`
		RespDesc        string `json:"resp_desc"`
		ReqSeqId        string `json:"req_seq_id"`
		ReqDate         string `json:"req_date"`
		HuifuId         string `json:"huifu_id"`
		ReconSendFlag   string `json:"recon_send_flag"`
		FtpAddr         string `json:"ftp_addr"`
		FtpUser         string `json:"ftp_user"`
		FileType        string `json:"file_type"`
		AsSettleFlag    string `json:"as_settle_flag"`
		NotifyUrl       string `json:"notify_url"`
		ContainUser     string `json:"contain_user"`
		ContainMerchant string `json:"contain_merchant"`
	} `json:"data"`
}

type MerchantBusiBillQueryRequest

type MerchantBusiBillQueryRequest struct {
	ReqDate  string `json:"req_date"`
	ReqSeqId string `json:"req_seq_id"`
	HuifuId  string `json:"huifu_id"`
}

type MerchantBusiBillQueryResponse

type MerchantBusiBillQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode        string `json:"resp_code"`
		RespDesc        string `json:"resp_desc"`
		HuifuId         string `json:"huifu_id"`
		Nature          string `json:"nature"`
		ReconSendFlag   string `json:"recon_send_flag"`
		FtpAddr         string `json:"ftp_addr"`
		FtpUser         string `json:"ftp_user"`
		FileType        string `json:"file_type"`
		AsSettleFlag    string `json:"as_settle_flag"`
		NotifyUrl       string `json:"notify_url"`
		ContainUser     string `json:"contain_user"`
		ContainMerchant string `json:"contain_merchant"`
	} `json:"data"`
}

type SupplementaryPictureRequest

type SupplementaryPictureRequest struct {
	ReqSeqID string `json:"req_seq_id"` // 业务请求流水号,业务请求流水号;示例值:2022012614120615001
	ReqDate  string `json:"req_date"`   // 业务请求日期,日期格式:yyyyMMdd;示例值:20220915

	// 图片类型,具体取值请参考各接口文档中的字段说明。枚举取值表;示例值:F01
	// https://paas.huifu.com/partners/api/#/csfl/api_csfl_wjlx
	FileType string `json:"file_type"`

	HuifuID string `json:"huifu_id"` // 商户号,渠道与一级代理商的直属商户ID;示例值:6666000123123123 如果商户未开户没有商户号,可以为空。不支持"企业用户基本信息开户"和"个人用户基本信息开户"接口所返回的用户号;
	FileURL string `json:"file_url"` // 文件url链接,文件url链接与file文件流不能同时上传;文件支持类型:JPG,BMP,PNG;单个图片最大支持2M;除去图片外其他类型文件支持10M 示例值:https://cloudpnrcdn.oss-cn-shanghai.aliyuncs.com/opps/imgs/guide/jinjian/%E8%90%A5%E4%B8%9A%E6%89%A7%E7%85%A71-2.png
}

type SupplementaryPictureResponse

type SupplementaryPictureResponse struct {
	*response.BaseResponse
	Data struct {
		RespCode string `json:"resp_code"` // resp_code 字段
		RespDesc string `json:"resp_desc"` // resp_desc 字段
		FileID   string `json:"file_id"`   // file_id 字段
	} `json:"data"`
}

type TradeAcctPaymentBalanceQueryResponse

type TradeAcctPaymentBalanceQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		ReqDate            string                                     `json:"req_date"`
		ReqSeqID           string                                     `json:"req_seq_id"`
		AcctInfoList       string                                     `json:"acctinfo_list"`
		AcctInfoListObject []TradeAcctpaymentBalanceQueryAcctInfoList `autoassign:"AcctInfoList"`
	} `json:"data"`
}

type TradeAcctpaymentAcctlogListItem

type TradeAcctpaymentAcctlogListItem struct {
	AcctLogId           string `json:"acct_log_id"`
	AcctDate            string `json:"acct_date"`
	TransDateTime       string `json:"trans_date_time"`
	AcctTransType       string `json:"acct_trans_type"`
	AcctTransTypeCode   string `json:"acct_trans_type_code"`
	AcctProductReqSeqId string `json:"acct_product_req_seq_id"`
	DebitType           string `json:"debit_type"`
	TransAmt            string `json:"trans_amt"`
	FeeAmt              string `json:"fee_amt"`
	BalanceAmt          string `json:"balance_amt"`
	HfSeqId             string `json:"hf_seq_id"`
}

type TradeAcctpaymentAcctlogQueryRequest

type TradeAcctpaymentAcctlogQueryRequest struct {
	ReqSeqId string `json:"req_seq_id"`
	HuifuId  string `json:"huifu_id"`
	AcctDate string `json:"acct_date"`
	PageSize string `json:"page_size"`
	PageNum  string `json:"page_num"`
	AcctId   string `json:"acct_id"`
}

type TradeAcctpaymentAcctlogQueryResponse

type TradeAcctpaymentAcctlogQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		HuifuId           string                            `json:"huifu_id"`
		MerName           string                            `json:"mer_name"`
		MerShortName      string                            `json:"mer_short_name"`
		AcctType          string                            `json:"acct_type"`
		AcctId            string                            `json:"acct_id"`
		PageSize          string                            `json:"page_size"`
		PageNum           string                            `json:"page_num"`
		ResultCount       string                            `json:"result_count"`
		AcctLogList       string                            `json:"acct_log_list"`
		AcctLogListObject []TradeAcctpaymentAcctlogListItem `autoassign:"AcctLogList"`
	} `json:"data"`
}

type TradeAcctpaymentBalanceQueryAcctInfoList

type TradeAcctpaymentBalanceQueryAcctInfoList struct {
	HuifuID    string `json:"huifu_id"`
	AcctId     string `json:"acct_id"`
	AcctType   string `json:"acct_type"`
	BalanceAmt string `json:"balance_amt"`
	AvlBal     string `json:"avl_bal"`
	FrzBal     string `json:"frz_bal"`
	LastAvlBal string `json:"last_avl_bal"`
	AcctStat   string `json:"acct_stat"`
}

type TradeAcctpaymentBalanceQueryRequest

type TradeAcctpaymentBalanceQueryRequest struct {
	ReqDate  string `json:"req_date"`
	ReqSeqID string `json:"req_seq_id"`
	HuifuID  string `json:"huifu_id"`
}

type TradeCheckFilequeryFileDetail

type TradeCheckFilequeryFileDetail struct {
	HuifuId       string `json:"huifu_id"`
	FileType      string `json:"file_type"`
	FileId        string `json:"file_id"`
	FileName      string `json:"file_name"`
	DownloadUrl   string `json:"download_url"`
	DataDate      string `json:"data_date"`
	TaskStat      string `json:"task_stat"`
	TaskStartTime string `json:"task_start_time"`
	TaskEndTime   string `json:"task_end_time"`
}

type TradeCheckFilequeryRequest

type TradeCheckFilequeryRequest struct {
	ReqDate       string `json:"req_date"`
	ReqSeqId      string `json:"req_seq_id"`
	HuifuId       string `json:"huifu_id"`
	FileDate      string `json:"file_date"`
	FileTypeQuery string `json:"file_type_query"`
}

type TradeCheckFilequeryResponse

type TradeCheckFilequeryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode    string                          `json:"resp_code"`
		RespDesc    string                          `json:"resp_desc"`
		ReqDate     string                          `json:"req_date"`
		ReqSeqId    string                          `json:"req_seq_id"`
		FileDetails []TradeCheckFilequeryFileDetail `json:"file_details"`
		TaskDetails []TradeCheckFilequeryTaskDetail `json:"task_details"`
	} `json:"data"`
}

type TradeCheckFilequeryTaskDetail

type TradeCheckFilequeryTaskDetail struct {
	HuifuId       string `json:"huifu_id"`
	FileType      string `json:"file_type"`
	FileId        string `json:"file_id"`
	FileName      string `json:"file_name"`
	DownloadUrl   string `json:"download_url"`
	DataDate      string `json:"data_date"`
	TaskStat      string `json:"task_stat"`
	TaskStartTime string `json:"task_start_time"`
	TaskEndTime   string `json:"task_end_time"`
}

type TradeCheckReplayRequest

type TradeCheckReplayRequest struct {
	ReqSeqId string `json:"req_seq_id"`
	ReqDate  string `json:"req_date"`
	HuifuId  string `json:"huifu_id"`
	FileType string `json:"file_type"`
}

type TradeCheckReplayResponse

type TradeCheckReplayResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode    string `json:"resp_code"`
		RespDesc    string `json:"resp_desc"`
		ReqSeqId    string `json:"req_seq_id"`
		ReqDate     string `json:"req_date"`
		HuifuId     string `json:"huifu_id"`
		DownloadUrl string `json:"download_url"`
		FileType    string `json:"file_type"`
	} `json:"data"`
}

type TradePaymentAlipayResponse

type TradePaymentAlipayResponse struct {
	AppId          string `json:"app_id"`
	BuyerId        string `json:"buyer_id"`
	BuyerLogonId   string `json:"buyer_logon_id"`
	BuyerPayAmount string `json:"buyer_pay_amount"`
}

type TradePaymentDelaytransConfirmNotify

type TradePaymentDelaytransConfirmNotify struct {
	notify.Notify
	RespCode string `json:"resp_code"`
	RespDesc string `json:"resp_desc"`
	RespData struct {
		ReqSeqId          string                                   `json:"req_seq_id"`
		ReqDate           string                                   `json:"req_date"`
		HuifuId           string                                   `json:"huifu_id"`
		HfSeqId           string                                   `json:"hf_seq_id"`
		TransStat         string                                   `json:"trans_stat"`
		PayConfirmDetails []TradePaymentDelaytransPayConfirmDetail `json:"pay_confirm_details"`
	} `json:"resp_data"`
}

TradePaymentDelaytransConfirmNotify 异步通知

type TradePaymentDelaytransConfirmRequest

type TradePaymentDelaytransConfirmRequest struct {
	ReqDate              string                          `json:"req_date"`
	ReqSeqId             string                          `json:"req_seq_id"`
	HuifuId              string                          `json:"huifu_id"`
	OrgReqDate           string                          `json:"org_req_date"`
	OrgReqSeqId          string                          `json:"org_req_seq_id,omitempty"`
	OrgMerOrdId          string                          `json:"org_mer_ord_id,omitempty"`
	OrgHfSeqId           string                          `json:"org_hf_seq_id,omitempty"`
	AcctSplitBunch       string                          `json:"acct_split_bunch"`
	AcctSplitBunchObject TradePaymentJspayAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"`
	RiskCheckData        string                          `json:"risk_check_data"`
	PayType              string                          `json:"pay_type"`
	Remark               string                          `json:"remark"`
	HycFlag              string                          `json:"hyc_flag"`
	SalaryModleType      string                          `json:"salary_modle_type"`
	BmemberId            string                          `json:"bmember_id"`
	HycAttachId          string                          `json:"hyc_attach_id"`
	NotifyUrl            string                          `json:"notify_url"`
}

type TradePaymentDelaytransConfirmResponse

type TradePaymentDelaytransConfirmResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode        string `json:"resp_code"`
		RespDesc        string `json:"resp_desc"`
		HuifuId         string `json:"huifu_id"`
		ReqDate         string `json:"req_date"`
		ReqSeqId        string `json:"req_seq_id"`
		TransStat       string `json:"trans_stat"`
		HfSeqId         string `json:"hf_seq_id"`
		UnconfirmAmt    string `json:"unconfirm_amt"`
		ConfirmedAmt    string `json:"confirmed_amt"`
		AcctRespCode    string `json:"acct_resp_code"`
		AcctRespDesc    string `json:"acct_resp_desc"`
		OrgMerOrdId     string `json:"org_mer_ord_id"`
		OrgReqDate      string `json:"org_req_date"`
		OrgReqSeqId     string `json:"org_req_seq_id"`
		OrgHfSeqId      string `json:"org_hf_seq_id"`
		HycFlag         string `json:"hyc_flag"`
		HycAttachId     string `json:"hyc_attach_id"`
		SalaryModleType string `json:"salary_modle_type"`
		BmemberId       string `json:"bmember_id"`
	}
}

type TradePaymentDelaytransConfirmqueryAcctSplitBunch added in v0.0.2

type TradePaymentDelaytransConfirmqueryAcctSplitBunch struct {
	HuifuId   string `json:"huifu_id"`
	AcctId    string `json:"acct_id"`
	DivAmt    string `json:"div_amt"`
	TransStat string `json:"trans_stat"`
}

type TradePaymentDelaytransConfirmqueryRequest

type TradePaymentDelaytransConfirmqueryRequest struct {
	OrgReqDate  string `json:"org_req_date"`
	OrgReqSeqId string `json:"org_req_seq_id"`
	HuifuId     string `json:"huifu_id"`
}

type TradePaymentDelaytransConfirmqueryResponse

type TradePaymentDelaytransConfirmqueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode             string                                             `json:"resp_code"`
		RespDesc             string                                             `json:"resp_desc"`
		HuifuId              string                                             `json:"huifu_id"`
		OrgReqSeqId          string                                             `json:"org_req_seq_id"`
		TransStat            string                                             `json:"trans_stat"`
		UnconfirmAmt         string                                             `json:"unconfirm_amt"`
		ConfirmedAmt         string                                             `json:"confirmed_amt"`
		HfSeqId              string                                             `json:"hf_seq_id"`
		AcctSplitBunch       string                                             `json:"acct_split_bunch"`
		AcctSplitBunchObject []TradePaymentDelaytransConfirmqueryAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"`
		HycFlag              string                                             `json:"hyc_flag"`
		HycAttachId          string                                             `json:"hyc_attach_id"`
	} `json:"data"`
}

type TradePaymentDelaytransConfirmrefundRequest

type TradePaymentDelaytransConfirmrefundRequest struct {
	ReqDate              string                                  `json:"req_date"`
	ReqSeqId             string                                  `json:"req_seq_id"`
	HuifuId              string                                  `json:"huifu_id"`
	OrgReqDate           string                                  `json:"org_req_date"`
	OrgReqSeqId          string                                  `json:"org_req_seq_id,omitempty"`
	AcctSplitBunch       string                                  `json:"acct_split_bunch"`
	AcctSplitBunchObject TradePaymentScanpayRefundAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"`
	LoanFlag             string                                  `json:"loan_flag"`
	LoanUndertaker       string                                  `json:"loan_undertaker"`
	LoanAcctType         string                                  `json:"loan_acct_type"`
}

type TradePaymentDelaytransConfirmrefundResponse

type TradePaymentDelaytransConfirmrefundResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode       string `json:"resp_code"`
		RespDesc       string `json:"resp_desc"`
		TransStat      string `json:"trans_stat"`
		HfSeqId        string `json:"hf_seq_id"`
		ReqDate        string `json:"req_date"`
		ReqSeqId       string `json:"req_seq_id"`
		HuifuId        string `json:"huifu_id"`
		OrgReqSeqId    string `json:"org_req_seq_id"`
		LoanFlag       string `json:"loan_flag"`
		LoanUndertaker string `json:"loan_undertaker"`
		LoanAcctType   string `json:"loan_acct_type"`
		UnconfirmAmt   string `json:"unconfirm_amt"`
		ConfirmedAmt   string `json:"confirmed_amt"`
		OrgReqDate     string `json:"org_req_date"`
		OrgHfSeqId     string `json:"org_hf_seq_id"`
	} `json:"data"`
}

type TradePaymentDelaytransConfirmrefundqueryPayConfirmAcctDetail added in v0.0.2

type TradePaymentDelaytransConfirmrefundqueryPayConfirmAcctDetail struct {
	HuifuId   string `json:"huifu_id"`
	AcctId    string `json:"acct_id"`
	DivAmt    string `json:"div_amt"`
	TransStat string `json:"trans_stat"`
}

type TradePaymentDelaytransConfirmrefundqueryRequest

type TradePaymentDelaytransConfirmrefundqueryRequest struct {
	HuifuId     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`
	OrgReqSeqId string `json:"org_req_seq_id,omitempty"`
	OrgHfSeqId  string `json:"org_hf_seq_id,omitempty"`
}

type TradePaymentDelaytransConfirmrefundqueryResponse

type TradePaymentDelaytransConfirmrefundqueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode                   string                                                         `json:"resp_code"`
		RespDesc                   string                                                         `json:"resp_desc"`
		HuifuId                    string                                                         `json:"huifu_id"`
		OrgReqDate                 string                                                         `json:"org_req_date"`
		OrgHfSeqId                 string                                                         `json:"org_hf_seq_id"`
		OrgReqSeqId                string                                                         `json:"org_req_seq_id"`
		TransStat                  string                                                         `json:"trans_stat"`
		PayConfirmAcctDetails      string                                                         `json:"pay_confirm_acct_details"`
		PayConfirmAcctDetailObject []TradePaymentDelaytransConfirmrefundqueryPayConfirmAcctDetail `json:"-" autoassign:"PayConfirmAcctDetails"`
	} `json:"data"`
}

type TradePaymentDelaytransPayConfirmDetail

type TradePaymentDelaytransPayConfirmDetail struct {
	HuifuId    string `json:"huifu_id"`
	AcctId     string `json:"acct_id"`
	DivAmt     string `json:"div_amt"`
	FeeHuifuId string `json:"fee_huifu_id"`
	FeeAcctId  string `json:"fee_acct_id"`
	FeeAmt     string `json:"fee_amt"`
	TransStat  string `json:"trans_stat"`
}

type TradePaymentJspayAcctSplitBunch

type TradePaymentJspayAcctSplitBunch struct {
	AcctInfos []TradePaymentJspayAcctSplitInfo `json:"acct_infos"`
}

type TradePaymentJspayAcctSplitInfo

type TradePaymentJspayAcctSplitInfo struct {
	HuifuId string `json:"huifu_id"` //分账接收方ID
	DivAmt  string `json:"div_amt"`  //分账金额	单位元,需保留小数点后两位
	AcctId  string `json:"acct_id"`  //分账账户	可指定账户号,仅支持基本户、现金户
}

type TradePaymentJspayNotify

type TradePaymentJspayNotify struct {
	notify.Notify
	RespCode          string                  `json:"resp_code"`
	RespDesc          string                  `json:"resp_desc"`
	HuifuId           string                  `json:"huifu_id"`
	ReqSeqId          string                  `json:"req_seq_id"`
	ReqDate           string                  `json:"req_date"`
	TransType         string                  `json:"trans_type"`
	HfSeqId           string                  `json:"hf_seq_id"`
	OutTransId        string                  `json:"out_trans_id"`
	PartyOrderId      string                  `json:"party_order_id"`
	TransAmt          string                  `json:"trans_amt"`
	PayAmt            string                  `json:"pay_amt"`
	SettlementAmt     string                  `json:"settlement_amt"`
	EndTime           string                  `json:"end_time"`
	AcctDate          string                  `json:"acct_date"`
	TransStat         string                  `json:"trans_stat"`
	FeeAmount         string                  `json:"fee_amount"`
	CombinedpayFeeAmt string                  `json:"combinedpay_fee_amt"`
	DebitType         string                  `json:"debit_type"`
	IsDiv             string                  `json:"is_div"`
	IsDelayAcct       string                  `json:"is_delay_acct"`
	WxUserId          string                  `json:"wx_user_id"`
	WxResponse        TradePaymentJspayWxData `json:"wx_response"`
	DcResponse        string                  `json:"dc_response"`
	UnionpayResponse  string                  `json:"unionpay_response"`
	DeviceType        string                  `json:"device_type"`
	MerDevLocation    string                  `json:"mer_dev_location"`
	BankCode          string                  `json:"bank_code"`
	BankMessage       string                  `json:"bank_message"`
	Remark            string                  `json:"remark"`
	FqChannels        string                  `json:"fq_channels"`
	SplitFeeInfo      string                  `json:"split_fee_info"`
	AtuSubMerId       string                  `json:"atu_sub_mer_id"`
	DevsId            string                  `json:"devs_id"`
}

type TradePaymentJspayPayInfo

type TradePaymentJspayPayInfo struct {
	AppId     string `json:"appId"`
	TimeStamp string `json:"timestamp"`
	NonceStr  string `json:"nonceStr"`
	Package   string `json:"package"`
	SignType  string `json:"signType"`
	PaySign   string `json:"paySign"`
}

type TradePaymentJspayRequest

type TradePaymentJspayRequest struct {
	ReqSeqId             string                          `json:"req_seq_id"`
	ReqDate              string                          `json:"req_date"`
	HuifuId              string                          `json:"huifu_id"`
	AcctId               string                          `json:"acct_id"`
	GoodsDesc            string                          `json:"goods_desc"`
	TradeType            string                          `json:"trade_type"`                    //T_JSAPI: 微信公众号 T_MINIAPP: 微信小程序 A_JSAPI: 支付宝JS A_NATIVE: 支付宝正扫 U_NATIVE: 银联正扫 U_JSAPI: 银联JS D_NATIVE: 数字人民币正扫 T_H5:微信直连H5支付 T_APP:微信APP支付 T_NATIVE:微信正扫
	TransAmt             string                          `json:"trans_amt"`                     //单位元,需保留小数点后两位
	TimeExpire           string                          `json:"time_expire"`                   //交易有效期
	WxData               string                          `json:"wx_data"`                       //微信参数集合
	WxDataObject         TradePaymentJspayWxData         `json:"-" autoassign:"WxData"`         //微信参数集合
	AlipayData           string                          `json:"alipay_data"`                   //支付宝参数集合
	UnionpayData         string                          `json:"unionpay_data"`                 //银联参数集合
	DcData               string                          `json:"dc_data"`                       //数字人民币参数集合
	DelayAcctFlag        string                          `json:"delay_acct_flag"`               //Y 为延迟 N为不延迟,不传默认N;
	FeeFlag              int8                            `json:"fee_flag"`                      //1: 外扣 2: 内扣 (默认取控台配置值);
	AcctSplitBunch       string                          `json:"acct_split_bunch"`              //分账对象
	AcctSplitBunchObject TradePaymentJspayAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"` //分账对象
	TermDivCouponType    int8                            `json:"term_div_coupon_type"`          //传入分账遇到优惠的处理规则
	CombinedpayData      string                          `json:"combinedpay_data"`
	LimitPayType         string                          `json:"limit_pay_type"`
	FqMerDiscountFlag    string                          `json:"fq_mer_discount_flag"`
	ChannelNo            string                          `json:"channel_no"`
	PayScene             string                          `json:"pay_scene"`
	Remark               string                          `json:"remark"`
	RiskCheckData        string                          `json:"risk_check_data"`
	TerminalDeviceData   string                          `json:"terminal_device_data"`
	NotifyUrl            string                          `json:"notify_url"` //交易异步通知地址,http或https开头
}

type TradePaymentJspayResponse

type TradePaymentJspayResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		ReqDate          string                   `json:"req_date"`
		ReqSeqId         string                   `json:"req_seq_id"`
		HfSeqId          string                   `json:"hf_seq_id"`
		TradeType        string                   `json:"trade_type"`
		TransAmt         string                   `json:"trans_amt"`
		TransStat        string                   `json:"trans_stat"`
		HuifuId          string                   `json:"huifu_id"`
		BankCode         string                   `json:"bank_code"`
		BankMessage      string                   `json:"bank_message"`
		DelayAcctFlag    string                   `json:"delay_acct_flag"`
		PayInfo          string                   `json:"pay_info"`
		PayInfoObject    TradePaymentJspayPayInfo `json:"-" autoassign:"PayInfo"`
		QrCode           string                   `json:"qr_code"`
		AlipayResponse   string                   `json:"alipay_response"`
		WxResponse       string                   `json:"wx_response"`
		WxResponseObject TradePaymentJspayWxData  `json:"-" autoassign:"WxResponse"`
		UnionpayResponse string                   `json:"unionpay_response"`
		Remark           string                   `json:"remark"`
	} `json:"data"`
}

type TradePaymentJspayWxData

type TradePaymentJspayWxData struct {
	SubAppid  string `json:"sub_appid"`  //子商户公众账号id
	Openid    string `json:"openid"`     //用户标识
	SubOpenid string `json:"sub_openid"` //子商户用户标识
}

type TradePaymentMicropayAcctSplitBunch

type TradePaymentMicropayAcctSplitBunch struct {
	AcctInfos []TradePaymentMicropayAcctSplitInfo `json:"acct_infos"`
}

type TradePaymentMicropayAcctSplitInfo

type TradePaymentMicropayAcctSplitInfo struct {
	HuifuID string `json:"huifu_id"`
	DivAmt  string `json:"div_amt"`
	AcctID  string `json:"acct_id"`
}

type TradePaymentMicropayNotify

type TradePaymentMicropayNotify struct {
	notify.Notify
	RespCode              string                                          `json:"resp_code"`
	RespDesc              string                                          `json:"resp_desc"`
	HfSeqId               string                                          `json:"hf_seq_id"`
	ReqSeqId              string                                          `json:"req_seq_id"`
	ReqDate               string                                          `json:"req_date"`
	AcctDate              string                                          `json:"acct_date"`
	EndTime               string                                          `json:"end_time"`
	HuifuId               string                                          `json:"huifu_id"`
	TransType             string                                          `json:"trans_type"`
	TransStat             string                                          `json:"trans_stat"`
	TransAmt              string                                          `json:"trans_amt"`
	PayAmt                string                                          `json:"pay_amt"`
	SettlementAmt         string                                          `json:"settlement_amt"`
	FeeAmount             string                                          `json:"fee_amount"`
	FeeFlag               int                                             `json:"fee_flag"`
	OutTransId            string                                          `json:"out_trans_id"`
	PartyOrderId          string                                          `json:"party_order_id"`
	DebitType             string                                          `json:"debit_type"`
	AcctSplitBunch        TradePaymentMicropayNotifyAcctSplitBunch        `json:"acct_split_bunch"`
	IsDelayAcct           string                                          `json:"is_delay_acct"`
	IsDiv                 string                                          `json:"is_div"`
	WxUserId              string                                          `json:"wx_user_id"`
	WxResponse            TradePaymentMicropayNotifyWxResponse            `json:"wx_response"`
	AlipayResponse        TradePaymentMicropayNotifyAlipayResponse        `json:"alipay_response"`
	UnionpayResponse      TradePaymentMicropayNotifyUnionpayResponse      `json:"unionpay_response"`
	DcResponse            TradePaymentMicropayNotifyDcResponse            `json:"dc_response"`
	MerDevLocation        TradePaymentMicropayNotifyMerDevLocation        `json:"mer_dev_location"`
	TransFeeAllowanceInfo TradePaymentMicropayNotifyTransFeeAllowanceInfo `json:"trans_fee_allowance_info"`
	CombinedpayData       []TradePaymentMicropayNotifyCombinedPayData     `json:"combinedpay_data"`
	CombinedpayFeeAmt     string                                          `json:"combinedpay_fee_amt"`
	BankCode              string                                          `json:"bank_code"`
	BankMessage           string                                          `json:"bank_message"`
	Remark                string                                          `json:"remark"`
	NotifyType            int                                             `json:"notify_type"`
	DeviceType            string                                          `json:"device_type"`
	FeeFormulaInfos       []TradePaymentMicropayNotifyFeeFormulaInfos     `json:"fee_formula_infos"`
	SplitFeeInfo          string                                          `json:"split_fee_info"`
	AtuSubMerId           string                                          `json:"atu_sub_mer_id"`
	DevsId                string                                          `json:"devs_id"`
}

TradePaymentMicropayNotify 异步通知

type TradePaymentMicropayNotifyAcctSplitBunch

type TradePaymentMicropayNotifyAcctSplitBunch struct {
	FeeHuifuID  string                                    `json:"fee_huifu_id"`
	FeeAcctDate string                                    `json:"fee_acct_date"`
	AcctInfos   []TradePaymentMicropayNotifyAcctSplitInfo `json:"acct_infos"`
}

type TradePaymentMicropayNotifyAcctSplitInfo

type TradePaymentMicropayNotifyAcctSplitInfo struct {
	DivAmt   string `json:"div_amt"`
	HuifuID  string `json:"huifu_id"`
	AcctDate string `json:"acct_date"`
}

type TradePaymentMicropayNotifyAlipayResponse

type TradePaymentMicropayNotifyAlipayResponse struct {
	AppId          string `json:"app_id"`
	BuyerId        string `json:"buyer_id"`
	BuyerLogonId   string `json:"buyer_logon_id"`
	BuyerPayAmount string `json:"buyer_pay_amount"`
}

type TradePaymentMicropayNotifyCombinedPayData

type TradePaymentMicropayNotifyCombinedPayData struct {
	HuifuID  string `json:"huifu_id"`
	UserType string `json:"user_type"`
	AcctId   string `json:"acct_id"`
	Amount   string `json:"amount"`
}

type TradePaymentMicropayNotifyDcResponse

type TradePaymentMicropayNotifyDcResponse struct {
}

type TradePaymentMicropayNotifyFeeFormulaInfos

type TradePaymentMicropayNotifyFeeFormulaInfos struct {
	FeeFormula string `json:"fee_formula"`
	FeeType    string `json:"fee_type"`
	HuifuID    string `json:"huifu_id"`
}

type TradePaymentMicropayNotifyMerDevLocation

type TradePaymentMicropayNotifyMerDevLocation struct {
}

type TradePaymentMicropayNotifyTransFeeAllowanceInfo

type TradePaymentMicropayNotifyTransFeeAllowanceInfo struct {
	ReceivableFeeAmt string `json:"receivable_fee_amt"`
	ActualFeeAmt     string `json:"actual_fee_amt"`
	AllowanceFeeAmt  string `json:"allowance_fee_amt"`
	AllowanceType    string `json:"allowance_type"`
	NoAllowanceDesc  string `json:"no_allowance_desc"`
}

type TradePaymentMicropayNotifyUnionpayResponse

type TradePaymentMicropayNotifyUnionpayResponse struct {
}

type TradePaymentMicropayNotifyWxResponse

type TradePaymentMicropayNotifyWxResponse struct {
	SubAppid  string `json:"sub_appid"`  //子商户公众账号id
	Openid    string `json:"openid"`     //用户标识
	SubOpenid string `json:"sub_openid"` //子商户用户标识
}

type TradePaymentMicropayRequest

type TradePaymentMicropayRequest struct {
	ReqDate              string                             `json:"req_date"`
	ReqSeqId             string                             `json:"req_seq_id"`
	HuifuId              string                             `json:"huifu_id"`
	TransAmt             string                             `json:"trans_amt"`
	GoodsDesc            string                             `json:"goods_desc"`
	AuthCode             string                             `json:"auth_code"`
	TimeExpire           string                             `json:"time_expire"`
	FeeFlag              string                             `json:"fee_flag"`
	LimitPayType         string                             `json:"limit_pay_type"`
	DelayAcctFlag        string                             `json:"delay_acct_flag"`
	ChannelNo            string                             `json:"channel_no"`
	CombinedpayData      string                             `json:"combinedpay_data"`
	PayScene             string                             `json:"pay_scene"`
	AcctSplitBunch       string                             `json:"acct_split_bunch"`
	AcctSplitBunchObject TradePaymentMicropayAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"`
	TermDivCouponType    string                             `json:"term_div_coupon_type"`
	WxData               string                             `json:"wx_data"`
	AlipayData           string                             `json:"alipay_data"`
	UnionpayData         string                             `json:"unionpay_data"`
	RiskCheckData        string                             `json:"risk_check_data"`
	RiskCheckDataObject  TradePaymentMicropayRiskCheckData  `json:"-" autoassign:"RiskCheckData"`
	TerminalDeviceInfo   string                             `json:"terminal_device_info"`
	NotifyUrl            string                             `json:"notify_url"`
	Remark               string                             `json:"remark"`
	AcctId               string                             `json:"acct_id"`
}

type TradePaymentMicropayResponse

type TradePaymentMicropayResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		ReqDate          string `json:"req_date"`
		ReqSeqId         string `json:"req_seq_id"`
		HfSeqId          string `json:"hf_seq_id"`
		OutTransId       string `json:"out_trans_id"`
		PartyOrderId     string `json:"party_order_id"`
		HuifuId          string `json:"huifu_id"`
		TransAmt         string `json:"trans_amt"`
		PayAmt           string `json:"pay_amt"`
		SettlementAmt    string `json:"settlement_amt"`
		TradeType        string `json:"trade_type"`
		TransStat        string `json:"trans_stat"`
		AcctStat         string `json:"acct_stat"`
		DebitType        string `json:"debit_type"`
		BankCode         string `json:"bank_code"`
		BankDesc         string `json:"bank_desc"`
		DelayAcctFlag    string `json:"delay_acct_flag"`
		EndTime          string `json:"end_time"`
		WxUserId         string `json:"wx_user_id"`
		WxResponse       string `json:"wx_response"`
		AlipayResponse   string `json:"alipay_response"`
		DcResponse       string `json:"dc_response"`
		MerDevLocation   string `json:"mer_dev_location"`
		Remark           string `json:"remark"`
		FeeAmt           string `json:"fee_amt"`
		UnionpayResponse string `json:"unionpay_response"`
		AcctId           string `json:"acct_id"`
		FeeHuifuId       string `json:"fee_huifu_id"`
		FeeFlag          int    `json:"fee_flag"`
		DeviceType       string `json:"device_type"`
		FeeFormulaInfos  string `json:"fee_formula_infos"`
		AtuSubMerId      string `json:"atu_sub_mer_id"`
	} `json:"data"`
}

type TradePaymentMicropayRiskCheckData

type TradePaymentMicropayRiskCheckData struct {
	IpAddr      string `json:"ip_addr"`
	BaseStation string `json:"base_station"`
	Latitude    string `json:"latitude"`
	Longitude   string `json:"longitude"`
}

type TradePaymentScanPayCloseQueryRequest

type TradePaymentScanPayCloseQueryRequest struct {
	ReqDate     string `json:"req_date"`
	ReqSeqId    string `json:"req_seq_id"`
	HuifuId     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`
	OrgReqSeqId string `json:"org_req_seq_id"`
}

type TradePaymentScanPayCloseQueryResponse

type TradePaymentScanPayCloseQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		HuifuId      string `json:"huifu_id"`
		ReqDate      string `json:"req_date"`
		ReqSeqId     string `json:"req_seq_id"`
		OrgReqDate   string `json:"org_req_date"`
		OrgReqSeqId  string `json:"org_req_seq_id"`
		OrgHfSeqId   string `json:"org_hf_seq_id"`
		OrgTransStat string `json:"org_trans_stat"`
		TransStat    string `json:"trans_stat"`
	} `json:"data"`
}

type TradePaymentScanPayQueryResponse

type TradePaymentScanPayQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		BagentId                  string                                   `json:"bagent_id"`         // 渠道商商户号
		HuifuId                   string                                   `json:"huifu_id"`          // 商户号
		OrgReqDate                string                                   `json:"org_req_date"`      // 原交易请求日期
		OrgHfSeqId                string                                   `json:"org_hf_seq_id"`     // 交易返回的全局流水号
		OrgReqSeqId               string                                   `json:"org_req_seq_id"`    // 原交易请求流水号
		OutTransId                string                                   `json:"out_trans_id"`      //用户账单上的交易订单号
		PartyOrderId              string                                   `json:"party_order_id"`    //用户账单上的商户订单号
		TransAmt                  string                                   `json:"trans_amt"`         //交易金额 单位元
		PayAmt                    string                                   `json:"pay_amt"`           //消费者实付金额 单位元
		SettlementAmt             string                                   `json:"settlement_amt"`    //结算金额 单位元
		UnconfirmAmt              string                                   `json:"unconfirm_amt"`     //待确认总金额 单位元
		ConfirmedAmt              string                                   `json:"confirmed_amt"`     //已确认总金额 单位元
		TransType                 string                                   `json:"trans_type"`        //T_JSAPI: 微信公众号 T_MINIAPP: 微信小程序 A_JSAPI: 支付宝JS A_NATIVE: 支付宝正扫 U_NATIVE: 银联正扫 U_JSAPI: 银联JS D_NATIVE: 数字人民币正扫 T_H5:微信直连H5支付 T_APP:微信APP支付 T_NATIVE:微信正扫
		TransStat                 string                                   `json:"trans_stat"`        //交易状态 P:处理中;S:成功;F:失败;I: 初始
		TransTime                 string                                   `json:"trans_time"`        //交易时间 格式:HHMMSS
		EndTime                   string                                   `json:"end_time"`          //支付完成时间 格式yyyyMMddHHMMSS
		DelayAcctFlag             string                                   `json:"delay_acct_flag"`   //延迟标识 Y:延迟 N:不延迟
		AcctId                    string                                   `json:"acct_id"`           //账户号
		AcctDate                  string                                   `json:"acct_date"`         //账务日期 格式:yyyyMMdd
		AcctStat                  string                                   `json:"acct_stat"`         //账务状态 "I:初始"; "P:处理中"; "S:成功"; "F:失败
		DebitType                 string                                   `json:"debit_type"`        //借贷标识 D:借记卡,C:信用卡,Z:借贷合一卡,O:其他;
		FeeHuifuId                string                                   `json:"fee_huifu_id"`      //手续费商户号
		FeeFormulaInfos           string                                   `json:"fee_formula_infos"` //手续费费率信息 交易成功时返回手续费费率信息
		FeeFormulaInfosObject     []TradePaymentScanpayQueryFeeFormulaInfo `autoassign:"FeeFormulaInfos"`
		FeeAmt                    string                                   `json:"fee_amt"`           //手续费金额 单位元
		FeeType                   string                                   `json:"fee_type"`          //手续费扣款标志 INNER:内扣,OUTSIDE:外扣;
		WxUserId                  string                                   `json:"wx_user_id"`        //微信用户唯一标识码
		WxResponse                string                                   `json:"wx_response"`       //微信返回的响应报文
		AlipayResponse            string                                   `json:"alipay_response"`   //支付宝返回的响应报文
		UnionpayResponse          string                                   `json:"unionpay_response"` //银联返回的响应报文
		DivFlag                   string                                   `json:"div_flag"`          //是否分账交易 Y:分账交易,N:非分账交易;
		AcctSplitBunch            string                                   `json:"acct_split_bunch"`  //分账对象
		AcctSplitBunchObject      TradePaymentScanpayQueryAcctSplitBunch   `json:"-" autoassign:"AcctSplitBunch"`
		SplitFeeInfo              string                                   `json:"split_fee_info"` //分账手续费信息
		SplitFeeInfoObject        TradePaymentScanpayQuerySplitFeeInfo     `json:"-" autoassign:"SplitFeeInfo"`
		CombinedpayData           string                                   `json:"combinedpay_data"`               //补贴支付信息 jsonArray字符串
		CombinedpayFeeAmt         string                                   `json:"combinedpay_fee_amt"`            //补贴支付手续费金额 单位元
		TransFeeAllowanceInfo     string                                   `json:"trans_fee_allowance_info"`       //手续费补贴信息 jsonObject
		Remark                    string                                   `json:"remark"`                         //备注
		DeviceType                string                                   `json:"device_type"`                    //终端类型 01-智能POS 02-扫码POS 03-云音箱 04-台牌 05-云打印 06-扫脸设备 07-收银机 08-收银助手 09-传统POS 10-一体音箱 11-虚拟终端
		MerDevLocation            string                                   `json:"mer_dev_location"`               //商户终端定位 jsonObject字符串
		MerPriv                   string                                   `json:"mer_priv"`                       //商户私有域
		AuthNo                    string                                   `json:"auth_no"`                        //授权号
		PasswordTrade             string                                   `json:"password_trade"`                 //输入密码提示 Y-等待用户输入密码状态
		MerName                   string                                   `json:"mer_name"`                       //商户名称
		ShopName                  string                                   `json:"shop_name"`                      //店铺名称
		PreAuthAmt                string                                   `json:"pre_auth_amt"`                   //预授权金额 单位元,需保留小数点后两位
		PreAuthPayAmt             string                                   `json:"pre_auth_pay_amt"`               //预授权完成金额 单位元,需保留小数点后两位
		OrgAuthNo                 string                                   `json:"org_auth_no"`                    //原授权号
		PreAuthHfSeqId            string                                   `json:"pre_auth_hf_seq_id"`             //预授权汇付全局流水号
		PreAuthPayFeeAmount       string                                   `json:"pre_auth_pay_fee_amount"`        //预授权完成手续费 单位元,需保留小数点后两位
		PreAuthPayRefundFeeAmount string                                   `json:"pre_auth_pay_refund_fee_amount"` //预授权完成退还手续费 单位元,需保留小数点后两位
		OrgFeeFlag                string                                   `json:"org_fee_flag"`                   //原手续费扣款标志 INNER:内扣, OUTSIDE:外扣;
		OrgFeeRecType             string                                   `json:"org_fee_rec_type"`               //原手续费扣取方式 1:实收,2:后收;
		OrgAllowanceType          string                                   `json:"org_allowance_type"`             //原补贴类型 0-不补贴,1-补贴,2-部分补贴;
		FqChannels                string                                   `json:"fq_channels"`                    //信用卡分期资产方式 代表优先使用资产类型;alipayfq_cc:表示信⽤卡分期
		BankCode                  string                                   `json:"bank_code"`                      //外部通道返回码
		BankDesc                  string                                   `json:"bank_desc"`                      //外部通道返回描述
		AtuSubMerId               string                                   `json:"atu_sub_mer_id"`                 //ATU真实商户号
		DcResponse                string                                   `json:"dc_response"`                    //数字货币返回的响应报文 JsonObject
	} `json:"data"`
}

type TradePaymentScanpayCloseRequest

type TradePaymentScanpayCloseRequest struct {
	ReqDate     string `json:"req_date"`
	ReqSeqId    string `json:"req_seq_id"`
	HuifuId     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`   //原交易请求日期 格式:yyyyMMdd
	OrgReqSeqId string `json:"org_req_seq_id"` //原交易请求流水号
}

type TradePaymentScanpayCloseResponse

type TradePaymentScanpayCloseResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		HuifuId      string `json:"huifu_id"`
		ReqDate      string `json:"req_date"`
		ReqSeqId     string `json:"req_seq_id"`
		OrgReqDate   string `json:"org_req_date"`
		OrgReqSeqId  string `json:"org_req_seq_id"`
		OrgHfSeqId   string `json:"org_hf_seq_id"`
		OrgTransStat string `json:"org_trans_stat"`
		TransStat    string `json:"trans_stat"`
	} `json:"data"`
}

type TradePaymentScanpayQueryAcctSplitBunch

type TradePaymentScanpayQueryAcctSplitBunch struct {
	AcctInfos []TradePaymentScanpayQueryAcctSplitInfo `json:"acct_infos"`
}

type TradePaymentScanpayQueryAcctSplitInfo

type TradePaymentScanpayQueryAcctSplitInfo struct {
	DivAmt  string `json:"div_amt"`  //分账金额 单位元,需保留小数点后两位
	HuifuId string `json:"huifu_id"` //分账接收方ID
	AcctId  string `json:"acct_id"`  //分账接收方子账户
}

type TradePaymentScanpayQueryFeeFormulaInfo

type TradePaymentScanpayQueryFeeFormulaInfo struct {
	FeeFormula string `json:"fee_formula"` //手续费公式 示例值:AMT*0.003
	FeeType    string `json:"fee_type"`    //手续费类型 TRANS_FEE:交易手续费;ACCT_FEE:组合支付账户补贴手续费
	HuifuId    string `json:"huifu_id"`    //商户号 组合支付账户补贴时,补贴账户的huifuId
}

type TradePaymentScanpayQueryRequest

type TradePaymentScanpayQueryRequest struct {
	HuifuID     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`
	OutOrderID  string `json:"out_ord_id,omitempty"`
	OrgHFSeqID  string `json:"org_hf_seq_id,omitempty"`
	OrgReqSeqID string `json:"org_req_seq_id,omitempty"`
}

type TradePaymentScanpayQuerySplitFeeDetails

type TradePaymentScanpayQuerySplitFeeDetails struct {
	SplitFeeAmt     string `json:"split_fee_amt"`      //分账手续费金额(元)
	SplitFeeHuifuId string `json:"split_fee_huifu_id"` //分账手续费商户号
	SplitFeeAcctId  string `json:"split_fee_acct_id"`  //分账手续费承担方账号
}

type TradePaymentScanpayQuerySplitFeeInfo

type TradePaymentScanpayQuerySplitFeeInfo struct {
	TotalSplitFeeAmt string                                    `json:"total_split_fee_amt"` //分账手续费总金额(元)
	SplitFeeFlag     int                                       `json:"split_fee_flag"`      //分账手续费扣款标志 1: 外扣 2: 内扣;
	SplitFeeDetails  []TradePaymentScanpayQuerySplitFeeDetails `json:"split_fee_details"`   //分账手续费明细
}

type TradePaymentScanpayRefundAcctInfo

type TradePaymentScanpayRefundAcctInfo struct {
	DivAmt      string `json:"div_amt"`
	HuifuId     string `json:"huifu_id"`
	PartLoanAmt string `json:"part_loan_amt,omitempty"`
}

type TradePaymentScanpayRefundAcctSplitBunch

type TradePaymentScanpayRefundAcctSplitBunch struct {
	AcctInfos []TradePaymentScanpayRefundAcctInfo `json:"acct_infos,omitempty"`
}

func (TradePaymentScanpayRefundAcctSplitBunch) IsEmpty

type TradePaymentScanpayRefundNotify

type TradePaymentScanpayRefundNotify struct {
	notify.Notify
	RespCode         string                                           `json:"resp_code"`
	RespDesc         string                                           `json:"resp_desc"`
	HuifuId          string                                           `json:"huifu_id"`
	ReqDate          string                                           `json:"req_date"`
	ReqSeqId         string                                           `json:"req_seq_id"`
	HfSeqId          string                                           `json:"hf_seq_id"`
	OrgReqDate       string                                           `json:"org_req_date"`
	OrgReqSeqId      string                                           `json:"org_req_seq_id"`
	OrgOrdAmt        string                                           `json:"org_ord_amt"`
	OrgFeeAmt        string                                           `json:"org_fee_amt"`
	TransDate        string                                           `json:"trans_date"`
	TransTime        string                                           `json:"trans_time"`
	TransFinishTime  string                                           `json:"trans_finish_time"`
	TransType        string                                           `json:"trans_type"`
	TransStat        string                                           `json:"trans_stat"`
	OrdAmt           string                                           `json:"ord_amt"`
	ActualRefAmt     string                                           `json:"actual_ref_amt"`
	TotalRefAmt      string                                           `json:"total_ref_amt"`
	TotalRefFeeAmt   string                                           `json:"total_ref_fee_amt"`
	RefCut           string                                           `json:"ref_cut"`
	AcctSplitBunch   TradePaymentScanpayRefundNotifyAcctSplitBunch    `json:"acct_split_bunch"`
	PartyOrderId     string                                           `json:"party_order_id"`
	WxResponse       TradePaymentScanpayRefundNotifyWxResponse        `json:"wx_response"`
	DcResponse       TradePaymentScanpayRefundNotifyDcResponse        `json:"dc_response"`
	CombinedpayData  []TradePaymentScanpayRefundNotifyCombinedPayData `json:"combinedpay_data"`
	Remark           string                                           `json:"remark"`
	BankCode         string                                           `json:"bank_code"`
	BankMessage      string                                           `json:"bank_message"`
	UnionpayResponse TradePaymentScanpayRefundNotifyUnionpayResponse  `json:"unionpay_response"`
}

TradePaymentScanpayRefundNotify 异步通知

type TradePaymentScanpayRefundNotifyAcctInfo

type TradePaymentScanpayRefundNotifyAcctInfo struct {
	DivAmt  string `json:"div_amt"`
	HuifuID string `json:"huifu_id"`
}

type TradePaymentScanpayRefundNotifyAcctSplitBunch

type TradePaymentScanpayRefundNotifyAcctSplitBunch struct {
	FeeAmt    string                                    `json:"fee_amt"`
	AcctInfos []TradePaymentScanpayRefundNotifyAcctInfo `json:"acct_infos"`
}

type TradePaymentScanpayRefundNotifyCombinedPayData

type TradePaymentScanpayRefundNotifyCombinedPayData struct {
}

type TradePaymentScanpayRefundNotifyDcResponse

type TradePaymentScanpayRefundNotifyDcResponse struct {
}

type TradePaymentScanpayRefundNotifyUnionpayResponse

type TradePaymentScanpayRefundNotifyUnionpayResponse struct {
}

type TradePaymentScanpayRefundNotifyWxResponse

type TradePaymentScanpayRefundNotifyWxResponse struct {
	SubAppid  string `json:"sub_appid"`  //子商户公众账号id
	Openid    string `json:"openid"`     //用户标识
	SubOpenid string `json:"sub_openid"` //子商户用户标识
}

type TradePaymentScanpayRefundQueryRequest

type TradePaymentScanpayRefundQueryRequest struct {
	HuifuId     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`
	OrgHfSeqId  string `json:"org_hf_seq_id,omitempty"`
	OrgReqSeqId string `json:"org_req_seq_id,omitempty"`
	MerOrdId    string `json:"mer_ord_id,omitempty"`
}

type TradePaymentScanpayRefundQueryResponse

type TradePaymentScanpayRefundQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		HuifuId               string `json:"huifu_id"`
		OrgHfSeqId            string `json:"org_hf_seq_id"`
		OrgReqDate            string `json:"org_req_date"`
		OrgReqSeqId           string `json:"org_req_seq_id"`
		OrdAmt                string `json:"ord_amt"`
		ActualRefAmt          string `json:"actual_ref_amt"`
		TransDate             string `json:"trans_date"`
		TransTime             string `json:"trans_time"`
		TransType             string `json:"trans_type"`
		TransStat             string `json:"trans_stat"`
		BankCode              string `json:"bank_code"`
		BankMessage           string `json:"bank_message"`
		FeeAmt                string `json:"fee_amt"`
		AcctSplitBunch        string `json:"acct_split_bunch"`
		SplitFeeInfo          string `json:"split_fee_info"`
		CombinedpayData       string `json:"combinedpay_data"`
		CombinedpayFeeAmt     string `json:"combinedpay_fee_amt"`
		DcResponse            string `json:"dc_response"`
		OrgPartyOrderId       string `json:"org_party_order_id"`
		AuthNo                string `json:"auth_no"`
		DebitFlag             string `json:"debit_flag"`
		MerName               string `json:"mer_name"`
		MerPriv               string `json:"mer_priv"`
		OrgAuthNo             string `json:"org_auth_no"`
		OrgOutOrderId         string `json:"org_out_order_id"`
		PreAuthCanceFeeAmount string `json:"pre_auth_cance_fee_amount"`
		PreAuthCancelAmt      string `json:"pre_auth_cancel_amt"`
		PreAuthHfSeqId        string `json:"pre_auth_hf_seq_id"`
		ShopName              string `json:"shop_name"`
		FqAcqOrdAmt           string `json:"fq_acq_ord_amt"`
		FqAcqFeeAmt           string `json:"fq_acq_fee_amt"`
		OthOrdAmt             string `json:"oth_ord_amt"`
		OthFeeAmt             string `json:"oth_fee_amt"`
		WxResponse            string `json:"wx_response"`
		AlipayResponse        string `json:"alipay_response"`
		TransFinishTime       string `json:"trans_finish_time"`
		UnionpayResponse      string `json:"unionpay_response"`
	} `json:"data"`
}

type TradePaymentScanpayRefundRequest

type TradePaymentScanpayRefundRequest struct {
	ReqDate              string                                  `json:"req_date"`
	ReqSeqId             string                                  `json:"req_seq_id"`
	HuifuId              string                                  `json:"huifu_id"`
	OrdAmt               string                                  `json:"ord_amt"`
	OrgReqDate           string                                  `json:"org_req_date"`
	OrgHfSeqId           string                                  `json:"org_hf_seq_id"`
	AcctSplitBunch       string                                  `json:"acct_split_bunch,omitempty"`
	AcctSplitBunchObject TradePaymentScanpayRefundAcctSplitBunch `json:"-" autoassign:"AcctSplitBunch"`
	OrgPartyOrderId      string                                  `json:"org_party_order_id"`
	OrgReqSeqId          string                                  `json:"org_req_seq_id"`
	WxData               string                                  `json:"wx_data"`
	DigitalCurrencyData  string                                  `json:"digital_currency_data"`
	CombinedpayData      string                                  `json:"combinedpay_data"`
	UnionpayData         string                                  `json:"unionpay_data"`
	Remark               string                                  `json:"remark"`
	LoanFlag             string                                  `json:"loan_flag"`
	LoanUndertaker       string                                  `json:"loan_undertaker"`
	LoanAcctType         string                                  `json:"loan_acct_type"`
	RiskCheckData        string                                  `json:"risk_check_data"`
	ErminalDeviceData    string                                  `json:"erminal_device_data"`
	NotifyUrl            string                                  `json:"notify_url"`
}

type TradePaymentScanpayRefundResponse

type TradePaymentScanpayRefundResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		ProductId        string `json:"product_id"`
		HuifuId          string `json:"huifu_id"`
		ReqDate          string `json:"req_date"`
		ReqSeqId         string `json:"req_seq_id"`
		HfSeqId          string `json:"hf_seq_id"`
		OrgReqDate       string `json:"org_req_date"`
		OrgReqSeqId      string `json:"org_req_seq_id"`
		TransDate        string `json:"trans_date"`
		TransTime        string `json:"trans_time"`
		TransFinishTime  string `json:"trans_finish_time"`
		TransStat        string `json:"trans_stat"`
		OrdAmt           string `json:"ord_amt"`
		ActualRefAmt     string `json:"actual_ref_amt"`
		AcctSplitBunch   string `json:"acct_split_bunch"`
		WxResponse       string `json:"wx_response"`
		AlipayResponse   string `json:"alipay_response"`
		CombinedpayData  string `json:"combinedpay_data"`
		Remark           string `json:"remark"`
		LoanFlag         string `json:"loan_flag"`
		LoanUndertaker   string `json:"loan_undertaker"`
		LoanAcctType     string `json:"loan_acct_type"`
		BankCode         string `json:"bank_code"`
		BankMessage      string `json:"bank_message"`
		UnionpayResponse string `json:"unionpay_response"`
		DcResponse       string `json:"dc_response"`
	} `json:"data"`
}

type TradeSettlementEnchashmentNotify

type TradeSettlementEnchashmentNotify struct {
	notify.Notify
	SubRespCode   string `json:"sub_resp_code"`
	SubRespDesc   string `json:"sub_resp_desc"`
	ReqSeqId      string `json:"req_seq_id"`
	ReqDate       string `json:"req_date"`
	HfSeqId       string `json:"hf_seq_id"`
	TransStatus   string `json:"trans_status"`
	AcctStatus    string `json:"acct_status"`
	ChannelStatus string `json:"channel_status"`
	FeeAmt        string `json:"fee_amt"`
	CashAmt       string `json:"cash_amt"`
	MsgType       string `json:"msg_type"`
}

TradeSettlementEnchashmentNotify 异步通知

type TradeSettlementEnchashmentRequest

type TradeSettlementEnchashmentRequest struct {
	ReqDate            string `json:"req_date"`
	ReqSeqId           string `json:"req_seq_id"`
	CashAmt            string `json:"cash_amt"` //单位元
	HuifuId            string `json:"huifu_id"`
	AcctId             string `json:"acct_id"`
	IntoAcctDateType   string `json:"into_acct_date_type"`
	TokenNo            string `json:"token_no"`
	EnchashmentChannel string `json:"enchashment_channel"`
	Remark             string `json:"remark"`
	NotifyUrl          string `json:"notify_url"`
}

type TradeSettlementEnchashmentResponse

type TradeSettlementEnchashmentResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		response.DataHeader
		ReqDate   string `json:"req_date"`
		ReqSeqId  string `json:"req_seq_id"`
		HfSeqId   string `json:"hf_seq_id"`
		TransStat string `json:"trans_stat"`
		HuifuId   string `json:"huifu_id"`
		AcctId    string `json:"acct_id"`
	} `json:"data"`
}

type TradeSettlementQueryRequest

type TradeSettlementQueryRequest struct {
	HuifuId     string `json:"huifu_id"`
	OrgReqDate  string `json:"org_req_date"`
	OrgReqSeqId string `json:"org_req_seq_id,omitempty"`
	OrgHfSeqId  string `json:"org_hf_seq_id,omitempty"`
}

type TradeSettlementQueryResponse

type TradeSettlementQueryResponse struct {
	*response.BaseResponse
	response.Sign
	Data struct {
		RespCode    string `json:"resp_code"`
		RespDesc    string `json:"resp_desc"`
		OrgHfSeqId  string `json:"org_hf_seq_id"`
		OrgReqDate  string `json:"org_req_date"`
		TransStatus string `json:"trans_status"`
		OrgReqSeqId string `json:"org_req_seq_id"`
		TransDesc   string `json:"trans_desc"`
		CashAmt     string `json:"cash_amt"`
		FeeAmt      string `json:"fee_amt"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL