Documentation ¶
Index ¶
- type AdditionInfo
- type AppInfo
- type ApplyBusinessInfo
- type AuditDetail
- type BankAccountInfo
- type BizStoreInfo
- type BusinessInfo
- type BusinessLicenseInfo
- type CertificateData
- type CertificateInfo
- type CertificateResp
- type ContactInfo
- type ContractInformation
- type CorePaymentInfo
- type DeviceInfo
- type EduPaPayAmount
- type EduPaPayDeviceInformation
- type EduSchoolPayAmount
- type EduSchoolPayDeviceInfo
- type EduSchoolPayPayer
- type EduSchoolPayPromotionList
- type EduSchoolPaySceneInfo
- type EduSchoolPaySettleInfo
- type EncryptCertificate
- type FaceCollections
- type FaceMessageCiphertext
- type FaceMessagePlaintext
- type FacePayUser
- type IDCardInfo
- type IDDocInfo
- type Identification
- type IdentityInfo
- type LimitBankCard
- type MerchantInfo
- type MicroBizInfo
- type MicroMobileInfo
- type MicroOnlineInfo
- type MicroStoreInfo
- type MiniProgramInfo
- type MpInfo
- type OTReqAmount
- type OTReqBusiness
- type OTReqSceneInfo
- type OTReqSettleInfo
- type OTRespAmount
- type OTRespPayer
- type OTRespSceneInfo
- type OrganizationInfo
- type PayerInfo
- type PaymentGoodsDetail
- type PaymentRefundAmount
- type PaymentRefundFrom
- type PromotionList
- type ReqAddProfitSharingReceiver
- type ReqDeleteProfitSharingReceiver
- type ReqEduPaPayPresign
- type ReqEduPaPayTransactions
- type ReqEduSchoolPayPreSign
- type ReqEduSchoolPayTransactions
- type ReqGetAuthInfo
- type ReqGetRepaymentUrl
- type ReqIncomingSubmitApplication
- type ReqInitiateProfitSharing
- type ReqInitiateProfitSharingReturnOrders
- type ReqJSAPIOrders
- type ReqJSAPIOrdersForPartner
- type ReqModifySettlement
- type ReqObtainAuthToken
- type ReqOfflinefaceTransactions
- type ReqPayCredential
- type ReqPaymentQueryOrder
- type ReqPaymentRefund
- type ReqPresignToken
- type ReqProfitSharingReceivers
- type ReqSendEduPaPayNotifications
- type ReqSmartGuideAssign
- type ReqSmartGuideRegister
- type ReqSmartGuideUpdate
- type ReqUnfreezeRemainingFunds
- type ReqUpdateRequestData
- type ReqUpdateUserInfo
- type ReqUploadImage
- type RespAddProfitSharingReceiver
- type RespApplyTransactionBill
- type RespContractQuery
- type RespDeleteProfitSharingReceiver
- type RespEduPaPayContractQuery
- type RespEduPaPayContractQueryList
- type RespEduPaPayPresign
- type RespEduPaPayQueryOrder
- type RespEduSchoolPayAmount
- type RespEduSchoolPayContractQuery
- type RespEduSchoolPayContractQueryPage
- type RespEduSchoolPayPreSign
- type RespEduSchoolPayTransactions
- type RespGetAuthInfo
- type RespGetRepaymentUrl
- type RespGetStatusRepairOrder
- type RespIncomingSubmitApplication
- type RespInitiateProfitSharing
- type RespInitiateProfitSharingReturnOrders
- type RespJSAPIOrders
- type RespObtainAuthToken
- type RespOfflinefaceTransactions
- type RespOrganizationInfo
- type RespPayCredential
- type RespPaymentRefund
- type RespPresignToken
- type RespProfitSharingReceivers
- type RespQueryFaceUserInfo
- type RespQueryMaximumSplitRatio
- type RespQueryProfitSharingResult
- type RespQueryProfitSharingReturnOrders
- type RespQueryRemainingFrozenAmount
- type RespQueryRepurchaseUsersList
- type RespSmartGuideQuery
- type RespSmartGuideRegister
- type RespUnfreezeRemainingFunds
- type RespUploadImage
- type SalesInfo
- type SceneInfo
- type SettlementAccount
- type SettlementInfo
- type StaffInfo
- type StudentInfo
- type SubjectInfo
- type TradeAmountInfo
- type UboInfo
- type WebInfo
- type WebInitData
- type WeworkInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionInfo ¶ added in v1.3.5
type AdditionInfo struct { LegalPersonCommitment string `json:"legal_person_commitment,omitempty"` LegalPersonVideo string `json:"legal_person_video,omitempty"` BusinessAdditionPics []string `json:"business_addition_pics,omitempty"` BusinessAdditionMsg string `json:"business_addition_msg,omitempty"` }
type ApplyBusinessInfo ¶ added in v1.3.5
type AuditDetail ¶
type AuditDetail struct { Field string `json:"field"` FieldName string `json:"field_name"` RejectReason string `json:"reject_reason"` }
AuditDetail AuditDetail
type BankAccountInfo ¶ added in v1.3.5
type BankAccountInfo struct { BankAccountType string `json:"bank_account_type"` AccountName string `json:"account_name"` AccountBank string `json:"account_bank"` BankAddressCode string `json:"bank_address_code"` BankBranchID string `json:"bank_branch_id,omitempty"` BankName string `json:"bank_name,omitempty"` AccountNumber string `json:"account_number"` }
type BizStoreInfo ¶ added in v1.3.5
type BizStoreInfo struct { BizStoreName string `json:"biz_store_name"` BizAddressCode string `json:"biz_address_code"` BizStoreAddress string `json:"biz_store_address"` StoreEntrancePic []string `json:"store_entrance_pic"` IndoorPic []string `json:"indoor_pic"` BizSubAppid string `json:"biz_sub_appid,omitempty"` }
type BusinessInfo ¶
type BusinessInfo struct { BusinessProductId int `json:"business_product_id"` //平台产品ID BusinessSceneId int `json:"business_scene_id"` //平台场景ID }
BusinessInfo BusinessInfo
type BusinessLicenseInfo ¶ added in v1.3.5
type CertificateData ¶
type CertificateData struct { EncryptCertificate *EncryptCertificate `json:"encrypt_certificate"` DecryptCertificate string `json:"decrypt_certificate"` SerialNo string `json:"serial_no"` EffectiveTime time.Time `json:"effective_time "` ExpireTime time.Time `json:"expire_time "` }
CertificateData CertificateData
type CertificateInfo ¶ added in v1.3.5
type CertificateInfo struct { CertCopy string `json:"cert_copy"` CertType string `json:"cert_type"` CertNumber string `json:"cert_number"` MerchantName string `json:"merchant_name"` CompanyAddress string `json:"company_address"` LegalPerson string `json:"legal_person"` PeriodBegin string `json:"period_begin"` PeriodEnd string `json:"period_end"` }
type CertificateResp ¶
type CertificateResp struct {
Data []*CertificateData `json:"data"`
}
CertificateResp CertificateResp
type ContactInfo ¶ added in v1.3.5
type ContractInformation ¶
type CorePaymentInfo ¶
type CorePaymentInfo struct { BankType string `json:"bank_type"` //付款银行 CorePaymentInfo struct { Amount int64 `json:"amount"` //支付金额 Currency string `json:"currency"` //支付币种 } `json:"core_payment_info"` }
CorePaymentInfo CorePaymentInfo
type EduPaPayAmount ¶
type EduSchoolPayAmount ¶ added in v1.4.0
type EduSchoolPayDeviceInfo ¶ added in v1.4.0
type EduSchoolPayPayer ¶ added in v1.4.0
type EduSchoolPayPromotionList ¶ added in v1.4.0
type EduSchoolPayPromotionList 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"` WechatPayContribute int64 `json:"wechatpay_contribute"` //微信出资金额 MerchantContribute int64 `json:"merchant_contribute"` //商家出资金额 OtherContribute int64 `json:"other_contribute"` //其他出资金额 }
type EduSchoolPaySceneInfo ¶ added in v1.4.0
type EduSchoolPaySettleInfo ¶ added in v1.4.0
type EduSchoolPaySettleInfo struct {
ProfitSharing bool `json:"profit_sharing"`
}
type EncryptCertificate ¶
type EncryptCertificate struct { Algorithm string `json:"algorithm"` Nonce string `json:"nonce"` AssociatedData string `json:"associated_data"` Ciphertext string `json:"ciphertext"` }
EncryptCertificate EncryptCertificate
type FaceCollections ¶
type FaceCollections struct { CollectionId string `json:"collection_id"` UserId string `json:"user_id"` OrganizationId string `json:"organization_id"` CollectionState string `json:"collection_state"` RegisterPhotoUploadTime string `json:"register_photo_upload_time"` ConfirmTime string `json:"confirm_time"` }
FaceCollections FaceCollections
type FaceMessageCiphertext ¶
type FaceMessageCiphertext struct { ID string `json:"id"` //通知唯一ID CreateTime string `json:"create_time"` //通知创建的时间 EventType string `json:"event_type"` //通知的类型 ResourceType string `json:"resource_type"` //通知的资源数据类型 Resource struct { Algorithm string `json:"algorithm"` //加密算法类型 Ciphertext string `json:"ciphertext"` //数据密文 OriginalType string `json:"original_type"` //原始回调类型 AssociatedData string `json:"associated_data"` //附加数据 Nonce string `json:"nonce"` //随机串 } `json:"resource"` //通知资源数据 Summary string `json:"summary"` //回调摘要 }
FaceMessageCiphertext 签约解约报文数据
type FaceMessagePlaintext ¶
type FaceMessagePlaintext struct { UserId string `json:"user_id"` //微信刷脸用户唯一标识 OutUserId string `json:"out_user_id"` //商户刷脸用户唯一标识 OrganizationId string `json:"organization_id"` //机构编号 MchId string `json:"mch_id"` //微信支付分配的商户号 NotifyCreateTime string `json:"notify_create_time"` //通知创建时间 Appid string `json:"appid"` //微信APPID Openid string `json:"openid"` //微信openid }
FaceMessagePlaintext 签约解约解密明文
type FacePayUser ¶
type FacePayUser struct { OutUserId string `json:"out_user_id"` IdentificationName string `json:"identification_name,omitempty"` OrganizationId string `json:"organization_id"` Identification *Identification `json:"identification,omitempty"` Phone string `json:"phone,omitempty"` }
FacePayUser FacePayUser
type IDCardInfo ¶ added in v1.3.5
type Identification ¶
type Identification struct { IdentificationType string `json:"identification_type"` IdentificationNumber string `json:"identification_number"` }
Identification Identification
type IdentityInfo ¶ added in v1.3.5
type IdentityInfo struct { IDDocType string `json:"id_doc_type"` IDCardInfo *IDCardInfo `json:"id_card_info,omitempty"` //身份证信息 IDDocInfo *IDDocInfo `json:"id_doc_info,omitempty"` //其他证件信息 Owner bool `json:"owner"` }
type LimitBankCard ¶
type LimitBankCard struct { BankCardNumber string `json:"bank_card_number"` IdentificationName string `json:"identification_name"` Identification *Identification `json:"identification,omitempty"` ValidThru string `json:"valid_thru,omitempty"` BankType string `json:"bank_type,omitempty"` Phone string `json:"phone,omitempty"` }
LimitBankCard LimitBankCard
type MerchantInfo ¶
type MerchantInfo struct { Mchid string `json:"mchid"` //商户号 SubMchid string `json:"sub_mchid"` //子商户号 Appid string `json:"appid"` //商户公众号 SubAppid string `json:"sub_appid"` //子商户公众号 }
MerchantInfo MerchantInfo
type MicroBizInfo ¶ added in v1.3.5
type MicroBizInfo struct { MicroBizType string `json:"micro_biz_type"` MicroStoreInfo *MicroStoreInfo `json:"micro_store_info,omitempty"` //门店场所 MicroMobileInfo *MicroMobileInfo `json:"micro_mobile_info,omitempty"` //流动经营/便民服务 MicroOnlineInfo *MicroOnlineInfo `json:"micro_online_info,omitempty"` //线上商品/服务交易 }
type MicroMobileInfo ¶ added in v1.3.5
type MicroOnlineInfo ¶ added in v1.3.5
type MicroStoreInfo ¶ added in v1.3.5
type MicroStoreInfo struct { MicroName string `json:"micro_name"` MicroAddressCode string `json:"micro_address_code"` MicroAddress string `json:"micro_address"` StoreEntrancePic string `json:"store_entrance_pic"` MicroIndoorCopy string `json:"micro_indoor_copy"` StoreLongitude string `json:"store_longitude,omitempty"` StoreLatitude string `json:"store_latitude,omitempty"` }
type MiniProgramInfo ¶ added in v1.3.5
type OTReqAmount ¶
type OTReqAmount struct { Total int64 `json:"total"` //总金额 Currency string `json:"currency"` //货币类型 }
OTReqAmount OTReqAmount
type OTReqBusiness ¶
type OTReqBusiness struct { BusinessProductId int `json:"business_product_id"` //平台产品ID BusinessSceneId int `json:"business_scene_id"` //平台场景ID }
OTReqBusiness OTReqBusiness
type OTReqSceneInfo ¶
type OTReqSceneInfo struct {
DeviceIp string `json:"device_ip"` //设备IP
}
OTReqSceneInfo OTReqSceneInfo
type OTReqSettleInfo ¶
type OTReqSettleInfo struct {
ProfitSharing bool `json:"profit_sharing,omitempty"` //是否支持分账
}
OTReqSettleInfo OTReqSettleInfo
type OTRespAmount ¶
type OTRespAmount struct { Total int64 `json:"total"` //订单金额 PayTotal int64 `json:"pay_total"` //用户支付金额 Currency string `json:"currency"` //货币类型 PayCurrency string `json:"pay_currency"` //用户支付货币类型 }
OTRespAmount OTRespAmount
type OTRespPayer ¶
type OTRespPayer struct { SPOpenid string `json:"sp_openid"` //公众号下的openid SubOpenid string `json:"sub_openid"` //子公众号下的openid }
OTRespPayer OTRespPayer
type OTRespSceneInfo ¶
type OTRespSceneInfo struct {
DeviceIp string `json:"device_ip"` //设备IP
}
OTRespSceneInfo OTRespSceneInfo
type OrganizationInfo ¶ added in v1.3.5
type PayerInfo ¶
type PayerInfo struct { Openid string `json:"openid"` //公众号下的openid SubOpenid string `json:"sub_openid"` //子公众号下的openid }
PayerInfo PayerInfo
type PaymentGoodsDetail ¶
type PaymentGoodsDetail struct { MerchantGoodsId string `json:"merchant_goods_id"` WechatpayGoodsId string `json:"wechatpay_goods_id,omitempty"` GoodsName string `json:"goods_name,omitempty"` UnitPrice int `json:"unit_price"` RefundAmount int `json:"refund_amount"` RefundQuantity int `json:"refund_quantity"` }
type PaymentRefundAmount ¶
type PaymentRefundAmount struct { Refund int `json:"refund"` From *[]PaymentRefundFrom `json:"from,omitempty"` Total int `json:"total"` Currency string `json:"currency"` }
type PaymentRefundFrom ¶
type PromotionList ¶
type PromotionList struct { PromotionId string `json:"promotion_id"` //优惠ID Name string `json:"name"` //优惠名称 AmountInfo TradeAmountInfo `json:"amount_info"` //优惠金额 WxPayContribute int64 `json:"wxpay_contribute"` //微信出资金额 MerchantContribute int64 `json:"merchant_contribute"` //商家出资金额 OtherContribute int64 `json:"other_contribute"` //其他出资金额 }
PromotionList PromotionList
type ReqAddProfitSharingReceiver ¶ added in v1.3.4
type ReqAddProfitSharingReceiver struct { SubMchid string `json:"sub_mchid"` Appid string `json:"appid"` SubAppid string `json:"sub_appid"` Type string `json:"type"` Account string `json:"account"` Name string `json:"name"` RelationType string `json:"relation_type"` CustomRelation string `json:"custom_relation"` }
ReqAddProfitSharingReceiver 添加分账接收方请求参数
type ReqDeleteProfitSharingReceiver ¶ added in v1.3.4
type ReqDeleteProfitSharingReceiver struct { SubMchid string `json:"sub_mchid"` Appid string `json:"appid"` SubAppid string `json:"sub_appid"` Type string `json:"type"` Account string `json:"account"` }
ReqDeleteProfitSharingReceiver 删除分账接收方请求参数
type ReqEduPaPayPresign ¶
type ReqEduPaPayPresign struct { AppId string `json:"appid"` SubMchId string `json:"sub_mchid"` SubAppId string `json:"sub_appid"` OpenId string `json:"openid"` SubOpenId string `json:"sub_openid"` PlanId string `json:"plan_id"` UserId string `json:"user_id"` PeriodStartDate string `json:"period_start_date"` TradeScene string `json:"trade_scene"` }
type ReqEduPaPayTransactions ¶
type ReqEduPaPayTransactions struct { Appid string `json:"appid"` SubMchId string `json:"sub_mchid"` SubAppId string `json:"sub_appid"` Body string `json:"body"` Attach string `json:"attach"` OutTradeNo string `json:"out_trade_no"` GoodsTag string `json:"goods_tag"` NotifyUrl string `json:"notify_url"` ContractId string `json:"contract_id"` TradeScene string `json:"trade_scene"` Amount EduPaPayAmount `json:"amount"` DeviceInformation EduPaPayDeviceInformation `json:"device_information"` }
type ReqEduSchoolPayPreSign ¶ added in v1.4.0
type ReqEduSchoolPayPreSign struct { AppId string `json:"appid"` OpenId string `json:"openid"` PlanId string `json:"plan_id"` UserId string `json:"user_id"` SchoolId string `json:"school_id"` OutContractCode string `json:"out_contract_code"` ContractMode string `json:"contract_mode"` DowngradeDefaultContract bool `json:"downgrade_default_contract"` Identity *struct { RealName string `json:"real_name"` CredentialType string `json:"credential_type"` IdCardNumber string `json:"id_card_number"` } `json:"identity,omitempty"` BankCard *struct { BankCardNo string `json:"bank_card_no"` ValidThru string `json:"valid_thru"` Phone string `json:"phone"` BankType string `json:"bank_type"` } `json:"bank_card,,omitempty"` }
type ReqEduSchoolPayTransactions ¶ added in v1.4.0
type ReqEduSchoolPayTransactions struct { Appid string `json:"appid"` SubMchId string `json:"sub_mchid"` SubAppId string `json:"sub_appid"` Description string `json:"description"` Attach string `json:"attach"` OutTradeNo string `json:"out_trade_no"` GoodsTag string `json:"goods_tag"` ContractId string `json:"contract_id"` UserId string `json:"user_id"` Amount EduSchoolPayAmount `json:"amount"` SceneInfo EduSchoolPaySceneInfo `json:"scene_info"` DeviceInfo EduSchoolPayDeviceInfo `json:"device_info"` SettleInfo EduSchoolPaySettleInfo `json:"settle_info"` }
type ReqGetAuthInfo ¶
type ReqGetAuthInfo struct { SpAppid string `json:"sp_appid"` SubAppid string `json:"sub_appid"` SubMchid string `json:"sub_mchid"` DeviceId string `json:"device_id"` RawData string `json:"raw_data"` OrganizationId string `json:"organization_id"` }
ReqGetAuthInfo ReqGetAuthInfo
type ReqGetRepaymentUrl ¶
type ReqGetRepaymentUrl struct { OutUserId string `json:"out_user_id"` OrganizationId string `json:"organization_id"` }
ReqGetRepaymentUrl ReqGetRepaymentUrl
type ReqIncomingSubmitApplication ¶ added in v1.3.5
type ReqIncomingSubmitApplication struct { BusinessCode string `json:"business_code"` ContactInfo ContactInfo `json:"contact_info"` SubjectInfo SubjectInfo `json:"subject_info"` BusinessInfo ApplyBusinessInfo `json:"business_info"` SettlementInfo SettlementInfo `json:"settlement_info"` BankAccountInfo BankAccountInfo `json:"bank_account_info"` AdditionInfo AdditionInfo `json:"addition_info"` }
type ReqInitiateProfitSharing ¶ added in v1.3.4
type ReqInitiateProfitSharing struct { SubMchid string `json:"sub_mchid"` Appid string `json:"appid"` SubAppid string `json:"sub_appid"` TransactionID string `json:"transaction_id"` OutOrderNo string `json:"out_order_no"` Receivers []ReqProfitSharingReceivers `json:"receivers"` //分账接收方列表 UnfreezeUnsplit bool `json:"unfreeze_unsplit"` }
ReqInitiateProfitSharing 发起分账请求参数
type ReqInitiateProfitSharingReturnOrders ¶ added in v1.3.4
type ReqInitiateProfitSharingReturnOrders struct { SubMchid string `json:"sub_mchid"` OrderID string `json:"order_id"` OutReturnNo string `json:"out_return_no"` ReturnMchid string `json:"return_mchid"` Amount int `json:"amount"` Description string `json:"description"` }
ReqInitiateProfitSharingReturnOrders 请求分账回退请求参数
type ReqJSAPIOrders ¶ added in v1.3.8
type ReqJSAPIOrders struct { Appid string `json:"appid"` Mchid string `json:"mchid"` Description string `json:"description"` OutTradeNo string `json:"out_trade_no"` TimeExpire *string `json:"time_expire,omitempty"` Attach string `json:"attach"` NotifyUrl string `json:"notify_url"` GoodsTag string `json:"goods_tag"` Amount struct { Total int `json:"total"` Currency string `json:"currency"` } `json:"amount"` Payer struct { Openid string `json:"openid"` } `json:"payer"` Detail *struct { CostPrice int `json:"cost_price"` InvoiceId string `json:"invoice_id"` GoodsDetail *[]struct { MerchantGoodsId string `json:"merchant_goods_id"` WechatPayGoodsId string `json:"wechatpay_goods_id"` GoodsName string `json:"goods_name"` Quantity int `json:"quantity"` UnitPrice int `json:"unit_price"` } `json:"goods_detail,omitempty"` } `json:"detail,omitempty"` SceneInfo *struct { PayerClientIp string `json:"payer_client_ip"` DeviceId string `json:"device_id"` StoreInfo struct { Id string `json:"id"` Name string `json:"name"` AreaCode string `json:"area_code"` Address string `json:"address"` } `json:"store_info"` } `json:"scene_info,omitempty"` SettleInfo struct { ProfitSharing bool `json:"profit_sharing"` } `json:"settle_info"` }
type ReqJSAPIOrdersForPartner ¶ added in v1.3.8
type ReqJSAPIOrdersForPartner struct { SpAppid string `json:"sp_appid"` SpMchid string `json:"sp_mchid"` SubAppid string `json:"sub_appid"` SubMchid string `json:"sub_mchid"` Description string `json:"description"` OutTradeNo string `json:"out_trade_no"` TimeExpire *string `json:"time_expire,omitempty"` Attach string `json:"attach"` NotifyUrl string `json:"notify_url"` GoodsTag string `json:"goods_tag"` Amount struct { Total int `json:"total"` Currency string `json:"currency"` } `json:"amount"` Payer struct { SpOpenid string `json:"sp_openid"` SubOpenid string `json:"sub_openid"` } `json:"payer"` Detail *struct { CostPrice int `json:"cost_price"` InvoiceId string `json:"invoice_id"` GoodsDetail *[]struct { MerchantGoodsId string `json:"merchant_goods_id"` WechatPayGoodsId string `json:"wechatpay_goods_id"` GoodsName string `json:"goods_name"` Quantity int `json:"quantity"` UnitPrice int `json:"unit_price"` } `json:"goods_detail,omitempty"` } `json:"detail,omitempty"` SceneInfo *struct { PayerClientIp string `json:"payer_client_ip"` DeviceId string `json:"device_id"` StoreInfo struct { Id string `json:"id"` Name string `json:"name"` AreaCode string `json:"area_code"` Address string `json:"address"` } `json:"store_info"` } `json:"scene_info,omitempty"` SettleInfo struct { ProfitSharing bool `json:"profit_sharing"` } `json:"settle_info"` }
type ReqModifySettlement ¶ added in v1.3.5
type ReqObtainAuthToken ¶
type ReqObtainAuthToken struct { Scene string `json:"scene"` WebInitData WebInitData `json:"web_init_data"` }
ReqObtainAuthToken ReqObtainAuthToken
type ReqOfflinefaceTransactions ¶
type ReqOfflinefaceTransactions struct { AuthCode string `json:"auth_code"` //支付凭证 SpAppid string `json:"sp_appid"` //服务商appid SubAppid string `json:"sub_appid,omitempty"` //子商户appid SpMchid string `json:"sp_mchid"` //商户号 SubMchid string `json:"sub_mchid"` //子商户号 Amount OTReqAmount `json:"amount"` //金额信息 SceneInfo OTReqSceneInfo `json:"scene_info"` //支付场景信息 GoodsTag string `json:"goods_tag,omitempty"` //优惠标记 Description string `json:"description"` //商品信息 Attach string `json:"attach"` //商户附加信息 SettleInfo *OTReqSettleInfo `json:"settle_info,omitempty"` //结算信息 OutTradeNo string `json:"out_trade_no"` // 商户单号 Business OTReqBusiness `json:"business"` //业务信息 }
ReqOfflinefaceTransactions ReqOfflinefaceTransactions
type ReqPayCredential ¶
type ReqPayCredential struct { PayCredential string `json:"pay_credential"` //支付凭证 MerchantInfo MerchantInfo `json:"merchant_info"` //商户信息 TradeAmountInfo TradeAmountInfo `json:"trade_amount_info"` //金额信息 SceneInfo SceneInfo `json:"scene_info"` //支付场景信息 DeviceInfo DeviceInfo `json:"device_info"` //设备信息 GoodsTag string `json:"goods_tag"` //优惠标记 Description string `json:"description"` //商品信息 Attach string `json:"attach"` //商户附加信息 OutTradeNo string `json:"out_trade_no"` //商户订单号 BusinessInfo BusinessInfo `json:"business_info"` //业务信息 }
ReqPayCredential ReqPayCredential
type ReqPaymentQueryOrder ¶ added in v1.3.7
type ReqPaymentQueryOrder struct { Amount struct { Currency string `json:"currency"` PayerCurrency string `json:"payer_currency"` PayerTotal int `json:"payer_total"` Total int `json:"total"` } `json:"amount"` Appid string `json:"appid"` Attach string `json:"attach"` BankType string `json:"bank_type"` Mchid string `json:"mchid"` OutTradeNo string `json:"out_trade_no"` Payer struct { Openid string `json:"openid"` } `json:"payer"` PromotionDetail []interface{} `json:"promotion_detail"` SuccessTime string `json:"success_time"` TradeState string `json:"trade_state"` TradeStateDesc string `json:"trade_state_desc"` TradeType string `json:"trade_type"` TransactionId string `json:"transaction_id"` }
type ReqPaymentRefund ¶
type ReqPaymentRefund struct { SubMchid string `json:"sub_mchid"` TransactionId string `json:"transaction_id,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` OutRefundNo string `json:"out_refund_no"` Reason string `json:"reason,omitempty"` NotifyUrl string `json:"notify_url,omitempty"` FundsAccount string `json:"funds_account,omitempty"` Amount PaymentRefundAmount `json:"amount"` GoodsDetail *[]PaymentGoodsDetail `json:"goods_detail,omitempty"` }
type ReqPresignToken ¶
type ReqPresignToken struct { BusinessName string `json:"business_name"` //业务类型 FacePayUser FacePayUser `json:"facepay_user"` //刷脸用户信息 LimitBankCard *LimitBankCard `json:"limit_bank_card,omitempty"` //签约银行卡信息 ContractMode string `json:"contract_mode,omitempty"` //签约模式 LIMIT_BANK_CARD:指定卡签约;PRIORITY_BANK_CARD:优先卡签约;LIMIT_NONE:任意卡签约 }
ReqPresignToken ReqPresignToken
type ReqProfitSharingReceivers ¶ added in v1.3.4
type ReqProfitSharingReceivers struct { Type string `json:"type"` Account string `json:"account"` Name string `json:"name"` Amount int `json:"amount"` Description string `json:"description"` }
ReqProfitSharingReceivers 分账接收方信息
type ReqSmartGuideAssign ¶ added in v1.3.9
type ReqSmartGuideRegister ¶ added in v1.3.9
type ReqSmartGuideRegister struct { SubMchId string `json:"sub_mchid"` CorpId string `json:"corpid"` StoreId int `json:"store_id"` UserId string `json:"userid"` Name string `json:"name"` Mobile string `json:"mobile"` QrCode string `json:"qr_code"` Avatar string `json:"avatar"` GroupQrcode string `json:"group_qrcode,omitempty"` }
type ReqSmartGuideUpdate ¶ added in v1.3.9
type ReqUnfreezeRemainingFunds ¶ added in v1.3.4
type ReqUnfreezeRemainingFunds struct { SubMchid string `json:"sub_mchid"` TransactionID string `json:"transaction_id"` OutOrderNo string `json:"out_order_no"` Description string `json:"description"` }
ReqUnfreezeRemainingFunds 解冻剩余资金请求参数
type ReqUpdateRequestData ¶
type ReqUpdateRequestData struct { UserName string `json:"user_name"` UserType string `json:"user_type"` StudentInfo *StudentInfo `json:"student_info,omitempty"` StaffInfo *StaffInfo `json:"staff_info,omitempty"` Status string `json:"status"` Phone string `json:"phone"` }
ReqUpdateRequestData ReqUpdateRequestData
type ReqUpdateUserInfo ¶
type ReqUpdateUserInfo struct { OrganizationId string `json:"organization_id"` OutUserId string `json:"out_user_id"` RequestData ReqUpdateRequestData `json:"request_data"` }
ReqUpdateUserInfo ReqUpdateUserInfo
type ReqUploadImage ¶
ReqUploadImage ReqUploadImage
type RespAddProfitSharingReceiver ¶ added in v1.3.4
type RespAddProfitSharingReceiver struct { SubMchid string `json:"sub_mchid"` Type string `json:"type"` Account string `json:"account"` Name string `json:"name"` RelationType string `json:"relation_type"` CustomRelation string `json:"custom_relation"` }
RespAddProfitSharingReceiver 添加分账接收方返回参数
type RespApplyTransactionBill ¶ added in v1.3.5
type RespContractQuery ¶
type RespContractQuery struct { ContractId string `json:"contract_id"` //签约ID Mchid string `json:"mchid"` //商户号 OrganizationId string `json:"organization_id"` //机构ID UserId string `json:"user_id"` //用户ID OpenId string `json:"openid"` //签约用户openid ContractState string `json:"contract_state"` //签约状态 ContractSignedTime string `json:"contract_signed_time"` //签约时间 ContractTerminatedTime string `json:"contract_terminated_time"` //解约时间 ContractMode string `json:"contract_mode"` //签约模式 LIMIT_BANK_CARD:指定卡签约;PRIORITY_BANK_CARD:优先卡签约;LIMIT_NONE:任意卡签约 ContractBankCardFrom string `json:"contract_bank_card_from"` //签约卡来源 MERCHANT_LIMITED_BANK_CARD:商户指定的签约卡;USER_SELECT_FREE:用户选择的签约卡 }
RespContractQuery RespContractQuery
type RespDeleteProfitSharingReceiver ¶ added in v1.3.4
type RespDeleteProfitSharingReceiver struct { SubMchid string `json:"sub_mchid"` Type string `json:"type"` Account string `json:"account"` }
RespDeleteProfitSharingReceiver 删除分账接收方返回参数
type RespEduPaPayContractQuery ¶
type RespEduPaPayContractQuery struct { SpMchId string `json:"sp_mchid"` AppId string `json:"appid"` SubMchId string `json:"sub_mchid"` SubAppId string `json:"sub_appid"` OpenId string `json:"openid"` SubOpenId string `json:"sub_openid"` PlanId string `json:"plan_id"` ContractInformation ContractInformation `json:"contract_information"` }
type RespEduPaPayContractQueryList ¶
type RespEduPaPayContractQueryList struct { TotalCount int `json:"total_count"` Offset int `json:"offset"` Limit int `json:"limit"` Data []RespEduPaPayContractQuery `json:"data"` }
type RespEduPaPayPresign ¶
type RespEduPaPayPresign struct {
PresignToken string `json:"presign_token"`
}
type RespEduPaPayQueryOrder ¶
type RespEduPaPayQueryOrder struct { SpMchId string `json:"sp_mchid"` AppId string `json:"appid"` SubMchId string `json:"sub_mchid"` SubAppId string `json:"sub_appid"` OutTradeNo string `json:"out_trade_no"` TransactionId string `json:"transaction_id"` Attach string `json:"attach"` BankType string `json:"bank_type"` SuccessTime string `json:"success_time"` TradeState string `json:"trade_state"` TradeStateDescription string `json:"trade_state_description"` Payer struct { OpenId string `json:"openid"` SubOpenId string `json:"sub_openid"` } `json:"payer"` Amount struct { Total int64 `json:"total"` PayerTotal int64 `json:"payer_total"` DiscountTotal int64 `json:"discount_total"` Currency string `json:"currency"` } `json:"amount"` DeviceInformation struct { DeviceId string `json:"device_id"` DeviceIp string `json:"device_ip"` } `json:"device_information"` PromotionDetail []struct { CouponId string `json:"coupon_id"` Name string `json:"name"` Scope string `json:"scope"` Type string `json:"type"` Amount int64 `json:"amount"` StockId string `json:"stock_id"` WechatpayContribute int64 `json:"wechatpay_contribute"` MerchantContribute int64 `json:"merchant_contribute"` OtherContribute int64 `json:"other_contribute"` } `json:"promotion_detail"` }
type RespEduSchoolPayAmount ¶ added in v1.4.0
type RespEduSchoolPayContractQuery ¶ added in v1.4.0
type RespEduSchoolPayContractQuery struct { ContractId string `json:"contract_id"` MchId string `json:"mchid"` AppId string `json:"appid"` OpenId string `json:"openid"` PlanId string `json:"plan_id"` ContractStatus string `json:"contract_status"` CreateTime string `json:"create_time"` OutContractCode string `json:"out_contract_code"` }
type RespEduSchoolPayContractQueryPage ¶ added in v1.4.0
type RespEduSchoolPayPreSign ¶ added in v1.4.0
type RespEduSchoolPayPreSign struct {
PreSignToken string `json:"presign_token"`
}
type RespEduSchoolPayTransactions ¶ added in v1.4.0
type RespEduSchoolPayTransactions struct { MchId string `json:"mchid"` //商户号 Appid string `json:"appid"` SubMchId string `json:"sub_mchid"` //子商户号 SubAppid string `json:"sub_appid"` 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 EduSchoolPayPayer `json:"payer"` Amount RespEduSchoolPayAmount `json:"amount"` DeviceInfo EduSchoolPayDeviceInfo `json:"device_info"` PromotionDetail []EduSchoolPayPromotionList `json:"promotion_detail"` //优惠信息 }
type RespGetAuthInfo ¶
type RespGetAuthInfo struct {
AuthInfo string `json:"authinfo"`
}
RespGetAuthInfo RespGetAuthInfo
type RespGetRepaymentUrl ¶
type RespGetRepaymentUrl struct { RepaymentUrl string `json:"repayment_url"` ExpireAt string `json:"expire_at"` }
RespGetRepaymentUrl RespGetRepaymentUrl
type RespGetStatusRepairOrder ¶
type RespGetStatusRepairOrder struct { BusinessCode string `json:"business_code"` ApplymentId int64 `json:"applyment_id"` SubMchid string `json:"sub_mchid"` SignUrl string `json:"sign_url"` ApplymentState string `json:"applyment_state"` ApplymentStateMsg string `json:"applyment_state_msg"` AuditDetail []AuditDetail `json:"audit_detail"` }
RespGetStatusRepairOrder RespGetStatusRepairOrder
type RespIncomingSubmitApplication ¶ added in v1.3.5
type RespIncomingSubmitApplication struct {
ApplymentID int64 `json:"applyment_id"`
}
type RespInitiateProfitSharing ¶ added in v1.3.4
type RespInitiateProfitSharing 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 []RespProfitSharingReceivers `json:"receivers"` }
RespInitiateProfitSharing 发起分账返回参数
type RespInitiateProfitSharingReturnOrders ¶ added in v1.3.4
type RespInitiateProfitSharingReturnOrders 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"` }
RespInitiateProfitSharingReturnOrders 请求分账回退返回结果
type RespJSAPIOrders ¶ added in v1.3.8
type RespJSAPIOrders struct {
PrepayId string `json:"prepay_id"`
}
type RespObtainAuthToken ¶
type RespObtainAuthToken struct {
Token string `json:"token"`
}
RespObtainAuthToken RespObtainAuthToken
type RespOfflinefaceTransactions ¶
type RespOfflinefaceTransactions struct { SpAppid string `json:"sp_appid"` SubAppid string `json:"sub_appid"` SpMchid string `json:"sp_mchid"` //商户号 SubMchid string `json:"sub_mchid"` //子商户号 Payer OTRespPayer `json:"payer"` Amount OTRespAmount `json:"amount"` PromotionDetail []PromotionList `json:"promotion_detail"` //优惠信息 SceneInfo OTRespSceneInfo `json:"scene_info"` //支付场景信息 BankType string `json:"bank_type"` //付款银行 TradeType string `json:"trade_type"` //交易类型 TradeState string `json:"trade_state"` //交易状态 TradeStateDescription string `json:"trade_state_description"` //交易描述 ErrorType string `json:"error_type"` //trade_state为PAYERROR时存在,“NOT_ENOUGH”和“NOTENOUGH”表示用户余额不足 DebtState string `json:"debt_state"` //欠款状态 Description string `json:"description"` //商品信息 Attach string `json:"attach"` //商户附加信息 SuccessTime string `json:"success_time"` //支付成功时间 TransactionId string `json:"transaction_id"` //微信订单号 RepaymentTransactionId string `json:"repayment_transaction_id"` //还款微信单号 OutTradeNo string `json:"out_trade_no"` //商户单号 }
RespOfflinefaceTransactions RespOfflinefaceTransactions
type RespOrganizationInfo ¶
type RespOrganizationInfo struct { OrganizationId string `json:"organization_id"` OrganizationName string `json:"organization_name"` }
RespOrganizationInfo RespOrganizationInfo
type RespPayCredential ¶
type RespPayCredential struct { MerchantInfo MerchantInfo `json:"merchant_info"` //商户信息 PayerInfo PayerInfo `json:"payer_info"` //支付用户信息 TradeAmountInfo TradeAmountInfo `json:"trade_amount_info"` //金额信息 PromotionList []PromotionList `json:"promotion_list"` //优惠信息 SceneInfo SceneInfo `json:"scene_info"` //支付场景信息 CorePaymentInfo CorePaymentInfo `json:"core_payment_info"` //支付信息 TradeType string `json:"trade_type"` //交易类型 TradeState string `json:"trade_state"` //交易状态 TradeStateDesc string `json:"trade_state_desc"` //交易状态描述 Body string `json:"body"` //商品信息 Attach string `json:"attach"` //商户附加信息 PaymentTime string `json:"payment_time"` //支付成功时间 TransactionId string `json:"transaction_id"` //微信订单号 OutTradeNo string `json:"out_trade_no"` //商户订单号 }
RespPayCredential RespPayCredential
type RespPaymentRefund ¶
type RespPaymentRefund 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 string `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 RespPresignToken ¶
type RespPresignToken struct {
PresignToken string `json:"presign_token"`
}
RespPresignToken RespPresignToken
type RespProfitSharingReceivers ¶ added in v1.3.4
type RespProfitSharingReceivers struct { Amount int `json:"amount"` Description string `json:"description"` Type string `json:"type"` Account string `json:"account"` Result string `json:"result"` DetailID string `json:"detail_id"` FailReason string `json:"fail_reason"` CreateTime string `json:"create_time"` FinishTime string `json:"finish_time"` }
RespProfitSharingReceivers is RespProfitSharingReceivers
type RespQueryFaceUserInfo ¶
type RespQueryFaceUserInfo struct { UserId string `json:"user_id"` //微信侧刷脸用户唯一ID OutUserId string `json:"out_user_id"` //商户刷脸用户ID OrganizationId string `json:"organization_id"` //机构ID UserName string `json:"user_name"` //姓名 UserType string `json:"user_type"` //用户类型 学生:STUDENT教职工:STAFF StudentInfo StudentInfo `json:"student_info"` //学生信息 StaffInfo StaffInfo `json:"staff_info"` //教职工信息 Status string `json:"status"` //用户状态 NOMAL:正常状态 DISABLED:禁用状态,此时支付被限制 ContractState string `json:"contract_state"` //签约状态 FaceImageOk bool `json:"face_image_ok"` //人脸图片上传状态 ContractId string `json:"contract_id"` //签约ID }
RespQueryFaceUserInfo RespQueryFaceUserInfo
type RespQueryMaximumSplitRatio ¶ added in v1.3.4
type RespQueryMaximumSplitRatio struct { SubMchid string `json:"sub_mchid"` MaxRatio int `json:"max_ratio"` }
RespQueryMaximumSplitRatio 查询最大分账比例API
type RespQueryProfitSharingResult ¶ added in v1.3.4
type RespQueryProfitSharingResult 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 []RespProfitSharingReceivers `json:"receivers"` }
RespQueryProfitSharingResult is RespQueryProfitSharingResult
type RespQueryProfitSharingReturnOrders ¶ added in v1.3.4
type RespQueryProfitSharingReturnOrders 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"` }
RespQueryProfitSharingReturnOrders 查询分账回退结果返回参数
type RespQueryRemainingFrozenAmount ¶ added in v1.3.4
type RespQueryRemainingFrozenAmount struct { TransactionID string `json:"transaction_id"` UnsplitAmount int `json:"unsplit_amount"` }
RespQueryRemainingFrozenAmount 查询剩余待分金额返回参数
type RespQueryRepurchaseUsersList ¶
type RespQueryRepurchaseUsersList struct {
FaceCollections []FaceCollections `json:"face_collections"`
}
RespQueryRepurchaseUsersList RespQueryRepurchaseUsersList
type RespSmartGuideQuery ¶ added in v1.3.9
type RespSmartGuideQuery struct { TotalCount int `json:"total_count"` Limit int `json:"limit"` Offset int `json:"offset"` Data []struct { GuideId string `json:"guide_id"` StoreId int `json:"store_id"` Name string `json:"name"` Mobile string `json:"mobile"` Userid string `json:"userid"` WorkId string `json:"work_id"` } `json:"data"` }
type RespSmartGuideRegister ¶ added in v1.3.9
type RespSmartGuideRegister struct {
GuideId string `json:"guide_id"`
}
type RespUnfreezeRemainingFunds ¶ added in v1.3.4
type RespUnfreezeRemainingFunds 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 []RespProfitSharingReceivers `json:"receivers"` }
RespUnfreezeRemainingFunds 解冻剩余资金返回参数
type RespUploadImage ¶
type RespUploadImage struct {
MediaId string `json:"media_id"`
}
RespUploadImage RespUploadImage
type SalesInfo ¶ added in v1.3.5
type SalesInfo struct { SalesScenesType []string `json:"sales_scenes_type"` BizStoreInfo *BizStoreInfo `json:"biz_store_info,omitempty"` MpInfo *MpInfo `json:"mp_info,omitempty"` MiniProgramInfo *MiniProgramInfo `json:"mini_program_info,omitempty"` AppInfo *AppInfo `json:"app_info,omitempty"` WebInfo *WebInfo `json:"web_info,omitempty"` WeworkInfo *WeworkInfo `json:"wework_info,omitempty"` }
type SceneInfo ¶
type SceneInfo struct {
DeviceIp string `json:"device_ip"` //设备IP
}
SceneInfo SceneInfo
type SettlementAccount ¶
type SettlementAccount struct { AccountType string `json:"account_type"` AccountBank string `json:"account_bank"` BankName string `json:"bank_name"` BankBranchId string `json:"bank_branch_id"` AccountNumber string `json:"account_number"` VerifyResult string `json:"verify_result"` }
SettlementAccount SettlementAccount
type SettlementInfo ¶ added in v1.3.5
type SettlementInfo struct { SettlementID string `json:"settlement_id"` QualificationType string `json:"qualification_type"` Qualifications []string `json:"qualifications,omitempty"` ActivitiesID string `json:"activities_id,omitempty"` ActivitiesRate string `json:"activities_rate,omitempty"` ActivitiesAdditions []string `json:"activities_additions,omitempty"` }
type StaffInfo ¶
type StaffInfo struct {
Occupation string `json:"occupation"`
}
StaffInfo StaffInfo
type StudentInfo ¶
type StudentInfo struct {
ClassName string `json:"class_name"`
}
StudentInfo StudentInfo
type SubjectInfo ¶ added in v1.3.5
type SubjectInfo struct { SubjectType string `json:"subject_type"` MicroBizInfo *MicroBizInfo `json:"micro_biz_info,omitempty"` //小微辅助证明材料(小微专用) BusinessLicenseInfo *BusinessLicenseInfo `json:"business_license_info,omitempty"` //营业执照(特约) CertificateInfo *CertificateInfo `json:"certificate_info,omitempty"` //登记证书 (特约) OrganizationInfo *OrganizationInfo `json:"organization_info,omitempty"` //组织机构代码证(特约) CertificateLetterCopy string `json:"certificate_letter_copy,omitempty"` //单位证明函照片(特约) IdentityInfo IdentityInfo `json:"identity_info"` //经营者/法人身份证件(公共) UboInfo *UboInfo `json:"ubo_info,omitempty"` //最终受益人信息(UBO) (特约) }
type TradeAmountInfo ¶
type TradeAmountInfo struct { Amount int64 `json:"amount"` //总金额 Currency string `json:"currency"` //货币类型 }
TradeAmountInfo TradeAmountInfo
type UboInfo ¶ added in v1.3.5
type UboInfo struct { IDType string `json:"id_type"` IDCardCopy string `json:"id_card_copy"` IDCardNational string `json:"id_card_national"` IDDocCopy string `json:"id_doc_copy"` Name string `json:"name"` IDNumber string `json:"id_number"` IDPeriodBegin string `json:"id_period_begin"` IDPeriodEnd string `json:"id_period_end"` }
type WebInitData ¶
type WebInitData struct { OutUserId string `json:"out_user_id"` //商户侧用户ID OrganizationId string `json:"organization_id"` //机构ID }
WebInitData WebInitData