Documentation ¶
Index ¶
- Constants
- func DecryptOpenDataToBodyMap(encryptedData, secretKey string) (bm gopay.BodyMap, err error)
- func DecryptOpenDataToStruct(encryptedData, secretKey string, beanPtr any) (err error)
- func FormatURLParam(body gopay.BodyMap) (urlParam string)
- func GetCertSN(certPathOrData any) (sn string, err error)
- func GetRootCertSN(rootCertPathOrData any) (sn string, err error)
- func GetRsaSign(bm gopay.BodyMap, signType string, privateKey *rsa.PrivateKey) (sign string, err error)
- func ParseNotifyByURLValues(value url.Values) (bm gopay.BodyMap, err error)
- func ParseNotifyToBodyMap(req *http.Request) (bm gopay.BodyMap, err error)
- func VerifySign(alipayPublicKey string, notifyBean any) (ok bool, err error)
- func VerifySignWithCert(aliPayPublicKeyCert, notifyBean any) (ok bool, err error)
- func VerifySyncSign(aliPayPublicKey, signData, sign string) (ok bool, err error)
- func VerifySyncSignWithCert(alipayPublicKeyCert any, signData, sign string) (ok bool, err error)
- type AccountLogItemResult
- type AntMerchantOrderQuery
- type AntMerchantOrderQueryRsp
- type AntMerchantShopClose
- type AntMerchantShopCloseRsp
- type AntMerchantShopConsult
- type AntMerchantShopConsultRsp
- type AntMerchantShopCreate
- type AntMerchantShopCreateRsp
- type AntMerchantShopModify
- type AntMerchantShopModifyRsp
- type AntMerchantShopQuery
- type AntMerchantShopQueryRsp
- type Apis
- type AuthTokenApp
- type AuthTokenAppQuery
- type BizErr
- type BkAgentRespInfo
- type CashCampaignInfo
- type ChargeInfo
- type Client
- func (a *Client) AcquireCustoms(ctx context.Context, bm gopay.BodyMap) (aliRspBs []byte, err error)
- func (a *Client) AcquireCustomsQuery(ctx context.Context, bm gopay.BodyMap) (aliRspBs []byte, err error)
- func (a *Client) AntMerchantOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantOrderQueryRsp, err error)
- func (a *Client) AntMerchantShopClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCloseRsp, err error)
- func (a *Client) AntMerchantShopConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopConsultRsp, err error)
- func (a *Client) AntMerchantShopCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCreateRsp, err error)
- func (a *Client) AntMerchantShopModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopModifyRsp, err error)
- func (a *Client) AntMerchantShopQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopQueryRsp, err error)
- func (a *Client) AutoVerifySign(alipayPublicKeyContent []byte)
- func (a *Client) CommerceAirCallcenterTradeApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceAirCallcenterTradeApplyRsp, err error)
- func (a *Client) CommerceBenefitApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitApplyRsp, err error)
- func (a *Client) CommerceBenefitVerify(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitVerifyRsp, err error)
- func (a *Client) CommerceTransportNfccardSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceTransportNfccardSendRsp, err error)
- func (a *Client) DataBillAccountLogQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillAccountLogQueryResponse, err error)
- func (a *Client) DataBillBalanceQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillBalanceQueryResponse, err error)
- func (a *Client) DataBillDownloadUrlQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillDownloadUrlQueryResponse, err error)
- func (a *Client) DataDataserviceAdDataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataDataserviceAdDataQueryRsp, err error)
- func (a *Client) DoAliPay(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (bs []byte, err error)
- func (a *Client) FileRequest(ctx context.Context, bm gopay.BodyMap, file *gopay.File, method string) (bs []byte, err error)
- func (a *Client) FundAccountQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAccountQueryResponse, err error)
- func (a *Client) FundAuthOperationCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationCancelResponse, err error)
- func (a *Client) FundAuthOperationDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationDetailQueryResponse, err error)
- func (a *Client) FundAuthOrderAppFreeze(ctx context.Context, bm gopay.BodyMap) (payParam string, err error)
- func (a *Client) FundAuthOrderFreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderFreezeResponse, err error)
- func (a *Client) FundAuthOrderUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderUnfreezeResponse, err error)
- func (a *Client) FundAuthOrderVoucherCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderVoucherCreateResponse, err error)
- func (a *Client) FundBatchClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCloseResponse, err error)
- func (a *Client) FundBatchCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCreateResponse, err error)
- func (a *Client) FundBatchDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchDetailQueryResponse, err error)
- func (a *Client) FundTransAppPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransAppPayResponse, err error)
- func (a *Client) FundTransCommonQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransCommonQueryResponse, err error)
- func (a *Client) FundTransOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransOrderQueryResponse, err error)
- func (a *Client) FundTransPagePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPagePayRsp, err error)
- func (a *Client) FundTransPayeeBindQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPayeeBindQueryRsp, err error)
- func (a *Client) FundTransRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransRefundResponse, err error)
- func (a *Client) FundTransUniTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransUniTransferResponse, err error)
- func (a *Client) GetRequestSignParam(bm gopay.BodyMap, method string) (string, error)
- func (a *Client) KoubeiTradeItemorderBuy(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderBuyRsp, err error)
- func (a *Client) KoubeiTradeItemorderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderQueryRsp, err error)
- func (a *Client) KoubeiTradeItemorderRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderRefundRsp, err error)
- func (a *Client) KoubeiTradeOrderAggregateConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderAggregateConsultRsp, err error)
- func (a *Client) KoubeiTradeOrderConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderConsultRsp, err error)
- func (a *Client) KoubeiTradeOrderPrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderPrecreateRsp, err error)
- func (a *Client) KoubeiTradeTicketTicketcodeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeCancelRsp, err error)
- func (a *Client) KoubeiTradeTicketTicketcodeDelay(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeDelayRsp, err error)
- func (a *Client) KoubeiTradeTicketTicketcodeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeQueryRsp, err error)
- func (a *Client) KoubeiTradeTicketTicketcodeSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeSendRsp, err error)
- func (a *Client) MarketingActivityDeliveryChanged(ctx context.Context, bm gopay.BodyMap) (success bool, err error)
- func (a *Client) MarketingActivityDeliveryCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryCreateRsp, err error)
- func (a *Client) MarketingActivityDeliveryQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryQueryRsp, err error)
- func (a *Client) MarketingActivityDeliveryStop(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryStopRsp, err error)
- func (a *Client) MarketingCampaignCashCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashCreateRsp, err error)
- func (a *Client) MarketingCampaignCashDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashDetailQueryRsp, err error)
- func (a *Client) MarketingCampaignCashListQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashListQueryRsp, err error)
- func (a *Client) MarketingCampaignCashStatusModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashStatusModifyRsp, err error)
- func (a *Client) MarketingCampaignCashTrigger(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashTriggerRsp, err error)
- func (a *Client) MarketingMaterialImageUpload(ctx context.Context, bm gopay.BodyMap, file *gopay.File) (aliRsp *MarketingMaterialImageUploadRsp, err error)
- func (a *Client) MemberDataIsvCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MemberDataIsvCreateRsp, err error)
- func (a *Client) MerchantItemFileUpload(ctx context.Context, file *gopay.File) (aliRsp *MerchantItemFileUploadRsp, err error)
- func (a *Client) OpenAppApiQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppApiQueryResponse, err error)
- func (a *Client) OpenAppQrcodeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppQrcodeCreateRsp, err error)
- func (a *Client) OpenAuthTokenApp(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppResponse, err error)
- func (a *Client) OpenAuthTokenAppInviteCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppInviteCreateResponse, err error)
- func (a *Client) OpenAuthTokenAppQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppQueryResponse, err error)
- func (a *Client) PageExecute(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (url string, err error)
- func (a *Client) PaymentTradeOrderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *PaymentTradeOrderCreateRsp, err error)
- func (a *Client) PcreditHuabeiAuthSettleApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *PcreditHuabeiAuthSettleApplyRsp, err error)
- func (a *Client) PostAliPayAPISelfV2(ctx context.Context, bodyMap gopay.BodyMap, method string, aliRsp any) (err error)
- func (a *Client) PostFileAliPayAPISelfV2(ctx context.Context, bm gopay.BodyMap, method string, aliRsp any) (err error)
- func (a *Client) PublicCertDownload(ctx context.Context, bm gopay.BodyMap) (aliRsp *PublicCertDownloadRsp, err error)
- func (a *Client) RequestParam(bm gopay.BodyMap, method string) (string, error)
- func (a *Client) SetAESKey(aesKey string)
- func (a *Client) SetAliPayPublicCertSN(aliPayPublicCertSN string) (client *Client)
- func (a *Client) SetAliPayRootCertSN(aliPayRootCertSN string) (client *Client)
- func (a *Client) SetAppAuthToken(appAuthToken string) (client *Client)
- func (a *Client) SetAppCertSN(appCertSN string) (client *Client)
- func (a *Client) SetBodySize(sizeMB int)
- func (a *Client) SetCertSnByContent(appCertContent, aliPayRootCertContent, aliPayPublicCertContent []byte) (err error)
- func (a *Client) SetCertSnByPath(appCertPath, aliPayRootCertPath, aliPayPublicCertPath string) (err error)
- func (a *Client) SetCharset(charset string) (client *Client)
- func (a *Client) SetLocation(name string) (client *Client)
- func (a *Client) SetNotifyUrl(url string) (client *Client)
- func (a *Client) SetPrivateKeyType(t PKCSType) (client *Client)
- func (a *Client) SetReturnUrl(url string) (client *Client)
- func (a *Client) SetSignType(signType string) (client *Client)
- func (a *Client) SystemOauthToken(ctx context.Context, bm gopay.BodyMap) (aliRsp *SystemOauthTokenResponse, err error)
- func (a *Client) TradeAdvanceConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeAdvanceConsultRsp, err error)
- func (a *Client) TradeAppPay(ctx context.Context, bm gopay.BodyMap) (payParam string, err error)
- func (a *Client) TradeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCancelResponse, err error)
- func (a *Client) TradeClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCloseResponse, err error)
- func (a *Client) TradeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCreateResponse, err error)
- func (a *Client) TradeCustomsDeclare(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCustomsDeclareRsp, err error)
- func (a *Client) TradeFastPayRefundQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeFastpayRefundQueryResponse, err error)
- func (a *Client) TradeOrderInfoSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderInfoSyncRsp, err error)
- func (a *Client) TradeOrderOnSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderOnSettleQueryResponse, err error)
- func (a *Client) TradeOrderPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderPayResponse, err error)
- func (a *Client) TradeOrderSettle(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleResponse, err error)
- func (a *Client) TradeOrderSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleQueryResponse, err error)
- func (a *Client) TradePagePay(ctx context.Context, bm gopay.BodyMap) (payUrl string, err error)
- func (a *Client) TradePageRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePageRefundResponse, err error)
- func (a *Client) TradePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePayResponse, err error)
- func (a *Client) TradePrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePrecreateResponse, err error)
- func (a *Client) TradeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeQueryResponse, err error)
- func (a *Client) TradeRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRefundResponse, err error)
- func (a *Client) TradeRelationBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBatchQueryResponse, err error)
- func (a *Client) TradeRelationBind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBindResponse, err error)
- func (a *Client) TradeRelationUnbind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationUnbindResponse, err error)
- func (a *Client) TradeRepaybillQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRepaybillQueryRsp, err error)
- func (a *Client) TradeRoyaltyRateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRoyaltyRateQueryResponse, err error)
- func (a *Client) TradeSettleConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeSettleConfirmResponse, err error)
- func (a *Client) TradeWapPay(ctx context.Context, bm gopay.BodyMap) (payUrl string, err error)
- func (a *Client) UserAgreementExecutionplanModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementExecutionplanModifyRsp, err error)
- func (a *Client) UserAgreementPageSign(ctx context.Context, bm gopay.BodyMap) (ret string, err error)
- func (a *Client) UserAgreementPageSignInApp(ctx context.Context, bm gopay.BodyMap) (ret string, err error)
- func (a *Client) UserAgreementPageUnSign(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementPageUnSignRsp, err error)
- func (a *Client) UserAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementQueryRsp, err error)
- func (a *Client) UserAgreementTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementTransferRsp, err error)
- func (a *Client) UserAlipaypointBudgetlibQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointBudgetlibQueryRsp, err error)
- func (a *Client) UserAlipaypointSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointSendRsp, err error)
- func (a *Client) UserAuthZhimaorgIdentityApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAuthZhimaorgIdentityApplyRsp, err error)
- func (a *Client) UserCertdocCertverifyConsult(ctx context.Context, bm gopay.BodyMap, authToken string) (aliRsp *UserCertdocCertverifyConsultRsp, err error)
- func (a *Client) UserCertdocCertverifyPreconsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertdocCertverifyPreconsultRsp, err error)
- func (a *Client) UserCertifyOpenCertify(ctx context.Context, bm gopay.BodyMap) (certifyUrl string, err error)
- func (a *Client) UserCertifyOpenInit(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenInitResponse, err error)
- func (a *Client) UserCertifyOpenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenQueryResponse, err error)
- func (a *Client) UserCharityRecordexistQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCharityRecordexistQueryRsp, err error)
- func (a *Client) UserDtbankQrcodedataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserDtbankQrcodedataQueryRsp, err error)
- func (a *Client) UserFamilyArchiveInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveInitializeRsp, err error)
- func (a *Client) UserFamilyArchiveQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveQueryRsp, err error)
- func (a *Client) UserFamilyShareZmgoInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyShareZmgoInitializeRsp, err error)
- func (a *Client) UserInfoAuth(ctx context.Context, bm gopay.BodyMap) (html []byte, err error)
- func (a *Client) UserInfoShare(ctx context.Context, authToken string) (aliRsp *UserInfoShareResponse, err error)
- func (a *Client) UserTwostageCommonUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserTwostageCommonUseRsp, err error)
- func (a *Client) ZhimaCreditEpSceneAgreementCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementCancelRsp, err error)
- func (a *Client) ZhimaCreditEpSceneAgreementUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementUseRsp, err error)
- func (a *Client) ZhimaCreditEpSceneFulfillmentSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentSyncRsp, err error)
- func (a *Client) ZhimaCreditEpSceneFulfillmentlistSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentlistSyncRsp, err error)
- func (a *Client) ZhimaCreditEpSceneRatingInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneRatingInitializeRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementQueryRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoAgreementUnsign(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementUnsignRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoBizoptClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoBizoptCloseRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoCumulationSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoCumulationSyncRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoPaysignApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignApplyRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoPaysignConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignConfirmRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoPreorderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPreorderCreateRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoSettleRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleRefundRsp, err error)
- func (a *Client) ZhimaCreditPeZmgoSettleUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleUnfreezeRsp, err error)
- func (a *Client) ZhimaCreditScoreGet(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditScoreGetResponse, err error)
- func (a *Client) ZhimaCustomerJobworthAdapterQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthAdapterQueryRsp, err error)
- func (a *Client) ZhimaCustomerJobworthSceneUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthSceneUseRsp, err error)
- func (a *Client) ZhimaMerchantZmgoCumulateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateQueryRsp, err error)
- func (a *Client) ZhimaMerchantZmgoCumulateSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateSyncRsp, err error)
- func (a *Client) ZolozAuthenticationCustomerFtokenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationCustomerFtokenQueryRsp, err error)
- func (a *Client) ZolozAuthenticationSmilepayInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationSmilepayInitializeRsp, err error)
- type CommerceAirCallcenterTradeApply
- type CommerceAirCallcenterTradeApplyRsp
- type CommerceBenefitApply
- type CommerceBenefitApplyRsp
- type CommerceBenefitVerify
- type CommerceBenefitVerifyRsp
- type CommerceTransportNfccardSend
- type CommerceTransportNfccardSendRsp
- type ContributeDetail
- type ConversionDataDetail
- type CumulateDataDetail
- type DataBillAccountLogQuery
- type DataBillAccountLogQueryResponse
- type DataBillBalanceQuery
- type DataBillBalanceQueryResponse
- type DataBillDownloadUrlQuery
- type DataBillDownloadUrlQueryResponse
- type DataDataserviceAdDataQuery
- type DataDataserviceAdDataQueryRsp
- type DataDetail
- type DeliveryActivityContent
- type DeliveryAppContent
- type DeliveryBaseInfo
- type DeliveryCityCodeRule
- type DeliveryContentInfo
- type DeliveryDisplayInfo
- type DeliveryFullSendConfig
- type DeliveryMerchantInfo
- type DeliveryMerchantRule
- type DeliveryPlayConfig
- type DeliverySingleSendConfig
- type DeliveryTargetRule
- type DepositBackInfo
- type DiscountDetailInfo
- type ErrorResponse
- type ExtCardInfo
- type FamilyArchiveDetail
- type FulfillmentResult
- type FundAccountQuery
- type FundAccountQueryResponse
- type FundAuthOperationCancel
- type FundAuthOperationCancelResponse
- type FundAuthOperationDetailQuery
- type FundAuthOperationDetailQueryResponse
- type FundAuthOrderAppFreeze
- type FundAuthOrderAppFreezeResponse
- type FundAuthOrderFreeze
- type FundAuthOrderFreezeResponse
- type FundAuthOrderUnfreeze
- type FundAuthOrderUnfreezeResponse
- type FundAuthOrderVoucherCreate
- type FundAuthOrderVoucherCreateResponse
- type FundBatchClose
- type FundBatchCloseResponse
- type FundBatchCreate
- type FundBatchCreateResponse
- type FundBatchDetailQuery
- type FundBatchDetailQueryResponse
- type FundBillListInfo
- type FundTransAppPay
- type FundTransAppPayResponse
- type FundTransCommonQuery
- type FundTransCommonQueryResponse
- type FundTransOrderQuery
- type FundTransOrderQueryResponse
- type FundTransPagePay
- type FundTransPagePayRsp
- type FundTransPayeeBindQuery
- type FundTransPayeeBindQueryRsp
- type FundTransRefund
- type FundTransRefundResponse
- type FundTransUniTransferResponse
- type HSchoolInfo
- type HbFqPayInfo
- type KoubeiTradeItemorderBuyRsp
- type KoubeiTradeItemorderQuery
- type KoubeiTradeItemorderQueryRsp
- type KoubeiTradeItemorderRefund
- type KoubeiTradeItemorderRefundRsp
- type KoubeiTradeOrderAggregateConsult
- type KoubeiTradeOrderAggregateConsultRsp
- type KoubeiTradeOrderConsult
- type KoubeiTradeOrderConsultRsp
- type KoubeiTradeOrderPrecreate
- type KoubeiTradeOrderPrecreateRsp
- type KoubeiTradeTicketTicketcodeCancel
- type KoubeiTradeTicketTicketcodeCancelRsp
- type KoubeiTradeTicketTicketcodeDelay
- type KoubeiTradeTicketTicketcodeDelayRsp
- type KoubeiTradeTicketTicketcodeQuery
- type KoubeiTradeTicketTicketcodeQueryRsp
- type KoubeiTradeTicketTicketcodeSend
- type KoubeiTradeTicketTicketcodeSendRsp
- type MarketingActivityDeliveryCreate
- type MarketingActivityDeliveryCreateRsp
- type MarketingActivityDeliveryQuery
- type MarketingActivityDeliveryQueryRsp
- type MarketingActivityDeliveryStop
- type MarketingActivityDeliveryStopRsp
- type MarketingCampaignCashCreate
- type MarketingCampaignCashCreateRsp
- type MarketingCampaignCashDetailQuery
- type MarketingCampaignCashDetailQueryRsp
- type MarketingCampaignCashListQuery
- type MarketingCampaignCashListQueryRsp
- type MarketingCampaignCashStatusModify
- type MarketingCampaignCashStatusModifyRsp
- type MarketingCampaignCashTrigger
- type MarketingCampaignCashTriggerRsp
- type MarketingMaterialImageUpload
- type MarketingMaterialImageUploadRsp
- type MemberDataIsvCreate
- type MemberDataIsvCreateRsp
- type MerchantItemFileUpload
- type MerchantItemFileUploadRsp
- type MonitorHeartbeatSynRes
- type MonitorHeartbeatSynResponse
- type NotifyRequest
- type NotifyVoucherDetail
- type OauthTokenInfo
- type OpenAppApiQuery
- type OpenAppApiQueryResponse
- type OpenAppQrcodeCreate
- type OpenAppQrcodeCreateRsp
- type OpenAuthTokenAppInviteCreate
- type OpenAuthTokenAppInviteCreateResponse
- type OpenAuthTokenAppQueryResponse
- type OpenAuthTokenAppResponse
- type PKCSType
- type PaymentTradeOrderCreate
- type PaymentTradeOrderCreateRsp
- type PcreditHuabeiAuthSettleApply
- type PcreditHuabeiAuthSettleApplyRsp
- type PublicCertDownload
- type PublicCertDownloadRsp
- type Receiver
- type RefundPresetPaytool
- type RefundRoyalty
- type RoyaltyDetail
- type RoyaltyDetailInfoPojo
- type ScoreGet
- type SubFee
- type SystemOauthTokenResponse
- type TicketTransInfo
- type Token
- type TradeAdvanceConsult
- type TradeAdvanceConsultRsp
- type TradeCancel
- type TradeCancelResponse
- type TradeClose
- type TradeCloseResponse
- type TradeCreate
- type TradeCreateResponse
- type TradeCustomsDeclare
- type TradeCustomsDeclareRsp
- type TradeFastpayRefundQueryResponse
- type TradeFundBill
- type TradeItemorderBuy
- type TradeOrderInfoSync
- type TradeOrderInfoSyncRsp
- type TradeOrderOnSettleQuery
- type TradeOrderOnSettleQueryResponse
- type TradeOrderPay
- type TradeOrderPayResponse
- type TradeOrderSettle
- type TradeOrderSettleQuery
- type TradeOrderSettleQueryResponse
- type TradeOrderSettleResponse
- type TradePageRefund
- type TradePageRefundResponse
- type TradePay
- type TradePayResponse
- type TradePrecreate
- type TradePrecreateResponse
- type TradeQuery
- type TradeQueryResponse
- type TradeRefund
- type TradeRefundQuery
- type TradeRefundResponse
- type TradeRelationBatchQuery
- type TradeRelationBatchQueryResponse
- type TradeRelationBind
- type TradeRelationBindResponse
- type TradeRelationUnbindResponse
- type TradeRepaybillQuery
- type TradeRepaybillQueryRsp
- type TradeRoyaltyRateQuery
- type TradeRoyaltyRateQueryResponse
- type TradeSettleConfirmResponse
- type TradeSettleDetail
- type TradeSettleInfo
- type TransUniTransfer
- type UidTelPair
- type UserAgreementExecutionplanModify
- type UserAgreementExecutionplanModifyRsp
- type UserAgreementPageSign
- type UserAgreementPageSignRsp
- type UserAgreementPageUnSignRsp
- type UserAgreementQuery
- type UserAgreementQueryRsp
- type UserAgreementTransfer
- type UserAgreementTransferRsp
- type UserAlipaypointBudgetlibQuery
- type UserAlipaypointBudgetlibQueryRsp
- type UserAlipaypointSend
- type UserAlipaypointSendRsp
- type UserAuthZhimaorgIdentityApply
- type UserAuthZhimaorgIdentityApplyRsp
- type UserCertdocCertverifyConsult
- type UserCertdocCertverifyConsultRsp
- type UserCertdocCertverifyPreconsult
- type UserCertdocCertverifyPreconsultRsp
- type UserCertifyOpenInit
- type UserCertifyOpenInitResponse
- type UserCertifyOpenQuery
- type UserCertifyOpenQueryResponse
- type UserCharityRecordexistQuery
- type UserCharityRecordexistQueryRsp
- type UserDtbankQrcodedataQuery
- type UserDtbankQrcodedataQueryRsp
- type UserFamilyArchiveInitialize
- type UserFamilyArchiveInitializeRsp
- type UserFamilyArchiveQuery
- type UserFamilyArchiveQueryRsp
- type UserFamilyShareZmgoInitialize
- type UserFamilyShareZmgoInitializeRsp
- type UserIdentityInfo
- type UserInfoAuthResponse
- type UserInfoShare
- type UserInfoShareResponse
- type UserPhone
- type UserTwostageCommonUse
- type UserTwostageCommonUseRsp
- type VoucherDetail
- type WaitRepaymentOrderInfo
- type ZhimaCreditEpSceneAgreementCancel
- type ZhimaCreditEpSceneAgreementCancelRsp
- type ZhimaCreditEpSceneAgreementUse
- type ZhimaCreditEpSceneAgreementUseRsp
- type ZhimaCreditEpSceneFulfillmentSync
- type ZhimaCreditEpSceneFulfillmentSyncRsp
- type ZhimaCreditEpSceneFulfillmentlistSync
- type ZhimaCreditEpSceneFulfillmentlistSyncRsp
- type ZhimaCreditEpSceneRatingInitialize
- type ZhimaCreditEpSceneRatingInitializeRsp
- type ZhimaCreditPeZmgoAgreementQuery
- type ZhimaCreditPeZmgoAgreementQueryRsp
- type ZhimaCreditPeZmgoAgreementUnsign
- type ZhimaCreditPeZmgoAgreementUnsignRsp
- type ZhimaCreditPeZmgoBizoptClose
- type ZhimaCreditPeZmgoBizoptCloseRsp
- type ZhimaCreditPeZmgoCumulationSync
- type ZhimaCreditPeZmgoCumulationSyncRsp
- type ZhimaCreditPeZmgoPaysignApply
- type ZhimaCreditPeZmgoPaysignApplyRsp
- type ZhimaCreditPeZmgoPaysignConfirm
- type ZhimaCreditPeZmgoPaysignConfirmRsp
- type ZhimaCreditPeZmgoPreorderCreate
- type ZhimaCreditPeZmgoPreorderCreateRsp
- type ZhimaCreditPeZmgoSettleRefund
- type ZhimaCreditPeZmgoSettleRefundRsp
- type ZhimaCreditPeZmgoSettleUnfreeze
- type ZhimaCreditPeZmgoSettleUnfreezeRsp
- type ZhimaCreditScoreGetResponse
- type ZhimaCustomerJobworthAdapterQuery
- type ZhimaCustomerJobworthAdapterQueryRsp
- type ZhimaCustomerJobworthSceneUse
- type ZhimaCustomerJobworthSceneUseRsp
- type ZhimaMerchantZmgoCumulateQuery
- type ZhimaMerchantZmgoCumulateQueryRsp
- type ZhimaMerchantZmgoCumulateSync
- type ZhimaMerchantZmgoCumulateSyncRsp
- type ZolozAuthenticationCustomerFtokenQuery
- type ZolozAuthenticationCustomerFtokenQueryRsp
- type ZolozAuthenticationSmilepayInitialize
- type ZolozAuthenticationSmilepayInitializeRsp
Constants ¶
const ( LocationShanghai = "Asia/Shanghai" PKCS1 PKCSType = 1 // 非Java PKCS8 PKCSType = 2 // Java RSA = "RSA" RSA2 = "RSA2" UTF8 = "utf-8" )
Variables ¶
This section is empty.
Functions ¶
func DecryptOpenDataToBodyMap ¶
DecryptOpenDataToBodyMap 解密支付宝开放数据到 BodyMap encryptedData:包括敏感数据在内的完整用户信息的加密数据 secretKey:AES密钥,支付宝管理平台配置 文档:https://opendocs.alipay.com/common/02mse3
func DecryptOpenDataToStruct ¶
DecryptOpenDataToStruct 解密支付宝开放数据到 结构体 encryptedData:包括敏感数据在内的完整用户信息的加密数据 secretKey:AES密钥,支付宝管理平台配置 beanPtr:需要解析到的结构体指针 文档:https://opendocs.alipay.com/common/02mse3
func GetCertSN ¶
GetCertSN 获取证书序列号SN certPathOrData x509证书文件路径(appPublicCert.crt、alipayPublicCert.crt) 或证书 buffer 返回 sn:证书序列号(app_cert_sn、alipay_cert_sn) 返回 err:error 信息
func GetRootCertSN ¶
GetRootCertSN 获取root证书序列号SN rootCertPathOrData x509证书文件路径(alipayRootCert.crt) 或文件 buffer 返回 sn:证书序列号(alipay_root_cert_sn) 返回 err:error 信息
func GetRsaSign ¶
func GetRsaSign(bm gopay.BodyMap, signType string, privateKey *rsa.PrivateKey) (sign string, err error)
获取支付宝参数签名 bm:签名参数 signType:签名类型,alipay.RSA 或 alipay.RSA2 privateKey:应用私钥,支持PKCS1和PKCS8
func ParseNotifyByURLValues ¶
通过 url.Values 解析支付宝支付异步通知的参数到BodyMap value:url.Values 返回参数notifyReq:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286
func ParseNotifyToBodyMap ¶
解析支付宝支付异步通知的参数到BodyMap req:*http.Request 返回参数bm:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286
func VerifySign ¶
VerifySign 支付宝异步通知验签(公钥模式) 注意:APP支付,手机网站支付,电脑网站支付 暂不支持同步返回验签 alipayPublicKey:支付宝平台获取的支付宝公钥 notifyBean:此参数为异步通知解析的结构体或BodyMap:notifyReq 或 bm,推荐通 BodyMap 验签 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120
func VerifySignWithCert ¶
支付宝异步通知验签(公钥证书模式) 注意:APP支付,手机网站支付,电脑网站支付 暂不支持同步返回验签 aliPayPublicKeyCert:支付宝公钥证书存放路径 alipayPublicCert.crt 或文件内容[]byte notifyBean:此参数为异步通知解析的结构体或BodyMap:notifyReq 或 bm,推荐通 BodyMap 验签 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120
func VerifySyncSign ¶
VerifySyncSign 支付宝同步返回验签(公钥模式) 注意:APP支付,手机网站支付,电脑网站支付,身份认证开始认证 不支持同步返回验签 aliPayPublicKey:支付宝平台获取的支付宝公钥 signData:待验签参数,aliRsp.SignData sign:待验签sign,aliRsp.Sign 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120
func VerifySyncSignWithCert ¶
VerifySyncSignWithCert 支付宝同步返回验签(公钥证书模式) 注意:APP支付,手机网站支付,电脑网站支付,身份认证开始认证 不支持同步返回验签 aliPayPublicKeyCert:支付宝公钥证书存放路径 alipayPublicCert.crt 或文件内容[]byte signData:待验签参数,aliRsp.SignData sign:待验签sign,aliRsp.Sign 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120
Types ¶
type AccountLogItemResult ¶
type AccountLogItemResult struct { TransDt string `json:"trans_dt,omitempty"` AccountLogId string `json:"account_log_id,omitempty"` AlipayOrderNo string `json:"alipay_order_no,omitempty"` MerchantOrderNo string `json:"merchant_order_no,omitempty"` TransAmount string `json:"trans_amount,omitempty"` Balance string `json:"balance,omitempty"` Type string `json:"type,omitempty"` OtherAccount string `json:"other_account,omitempty"` TransMemo string `json:"trans_memo,omitempty"` Direction string `json:"direction,omitempty"` BillSource string `json:"bill_source,omitempty"` BizNos string `json:"biz_nos,omitempty"` BizOrigNo string `json:"biz_orig_no,omitempty"` BizDesc string `json:"biz_desc,omitempty"` MerchantOutRefundNo string `json:"merchant_out_refund_no,omitempty"` ComplementInfo string `json:"complement_info,omitempty"` StoreName string `json:"store_name,omitempty"` }
type AntMerchantOrderQuery ¶
type AntMerchantOrderQueryRsp ¶
type AntMerchantOrderQueryRsp struct { Response *AntMerchantOrderQuery `json:"ant_merchant_expand_order_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AntMerchantShopClose ¶
type AntMerchantShopClose struct {
ErrorResponse
}
type AntMerchantShopCloseRsp ¶
type AntMerchantShopCloseRsp struct { Response *AntMerchantShopClose `json:"ant_merchant_expand_shop_close_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AntMerchantShopConsult ¶
type AntMerchantShopConsult struct { ErrorResponse AccountAudit bool `json:"account_audit"` RiskAudit bool `json:"risk_audit"` OrderId string `json:"order_id"` }
type AntMerchantShopConsultRsp ¶
type AntMerchantShopConsultRsp struct { Response *AntMerchantShopConsult `json:"ant_merchant_expand_shop_consult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AntMerchantShopCreate ¶
type AntMerchantShopCreate struct { ErrorResponse OrderId string `json:"order_id"` }
type AntMerchantShopCreateRsp ¶
type AntMerchantShopCreateRsp struct { Response *AntMerchantShopCreate `json:"ant_merchant_expand_shop_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AntMerchantShopModify ¶
type AntMerchantShopModify struct { ErrorResponse OrderId string `json:"order_id"` }
type AntMerchantShopModifyRsp ¶
type AntMerchantShopModifyRsp struct { Response *AntMerchantShopModify `json:"ant_merchant_expand_shop_modify_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AntMerchantShopQuery ¶
type AntMerchantShopQuery struct { ErrorResponse ShopID string `json:"shop_id"` BusinessAddress struct { CityCode string `json:"city_code"` DistrictCode string `json:"district_code"` Address string `json:"address"` ProvinceCode string `json:"province_code"` Poiid string `json:"poiid,omitempty"` Longitude string `json:"longitude,omitempty"` Latitude string `json:"latitude,omitempty"` Type string `json:"type,omitempty"` } `json:"business_address"` ShopCategory string `json:"shop_category"` StoreID string `json:"store_id"` ShopType string `json:"shop_type"` IPRoleID string `json:"ip_role_id"` ShopName string `json:"shop_name"` ContactPhone string `json:"contact_phone"` ContactMobile string `json:"contact_mobile"` CertNo string `json:"cert_no"` OutDoorImages []string `json:"out_door_images,omitempty"` Qualifications []struct { IndustryQualificationType string `json:"industry_qualification_type,omitempty"` IndustryQualificationImage string `json:"industry_qualification_image,omitempty"` } `json:"qualifications,omitempty"` CertType string `json:"cert_type,omitempty"` CertName string `json:"cert_name,omitempty"` CertImage string `json:"cert_image,omitempty"` LegalName string `json:"legal_name,omitempty"` LegalCertNo string `json:"legal_cert_no,omitempty"` LicenseAuthLetterImage string `json:"license_auth_letter_image,omitempty"` SettleAlipayLogonID string `json:"settle_alipay_logon_id,omitempty"` ExtInfos []struct { KeyName string `json:"key_name"` Value string `json:"value"` } `json:"ext_infos,omitempty"` BusinessTime []struct { WeekDay int `json:"week_day"` OpenTime string `json:"open_time"` CloseTime string `json:"close_time"` } `json:"business_time,omitempty"` ContactInfos []struct { Name string `json:"name"` Phone string `json:"phone,omitempty"` Mobile string `json:"mobile,omitempty"` Email string `json:"email,omitempty"` Tag []string `json:"tag"` Type string `json:"type"` IDCardNo string `json:"id_card_no,omitempty"` } `json:"contact_infos,omitempty"` Memo string `json:"memo,omitempty"` BrandID string `json:"brand_id,omitempty"` Scene string `json:"scene,omitempty"` NewShopCategory string `json:"new_shop_category"` }
type AntMerchantShopQueryRsp ¶
type AntMerchantShopQueryRsp struct { Response *AntMerchantShopQuery `json:"ant_merchant_expand_shop_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type AuthTokenApp ¶
type AuthTokenApp struct { ErrorResponse UserId string `json:"user_id,omitempty"` AuthAppId string `json:"auth_app_id,omitempty"` AppAuthToken string `json:"app_auth_token,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` AppRefreshToken string `json:"app_refresh_token,omitempty"` ReExpiresIn int `json:"re_expires_in,omitempty"` Tokens []*Token `json:"tokens,omitempty"` }
type AuthTokenAppQuery ¶
type AuthTokenAppQuery struct { ErrorResponse UserId string `json:"user_id"` //授权商户的user_id AuthAppId string `json:"auth_app_id"` //授权商户的appid ExpiresIn int `json:"expires_in"` //应用授权令牌失效时间,单位到秒 AuthMethods []string `json:"auth_methods"` //当前app_auth_token的授权接口列表 AuthStart string `json:"auth_start"` //授权生效时间 AuthEnd string `json:"auth_end"` //授权失效时间 Status string `json:"status"` //valid:有效状态;invalid:无效状态 }
type BizErr ¶
type BizErr struct { Code string `json:"code"` Msg string `json:"msg"` SubCode string `json:"sub_code"` SubMsg string `json:"sub_msg"` }
BizErr 用于判断支付宝的业务逻辑是否有错误
func IsBizError ¶
type BkAgentRespInfo ¶
type BkAgentRespInfo struct { BindtrxId string `json:"bindtrx_id,omitempty"` BindclrissrId string `json:"bindclrissr_id,omitempty"` BindpyeracctbkId string `json:"bindpyeracctbk_id,omitempty"` BkpyeruserCode string `json:"bkpyeruser_code,omitempty"` EstterLocation string `json:"estter_location,omitempty"` }
type CashCampaignInfo ¶
type ChargeInfo ¶
type ChargeInfo struct { ChargeFee string `json:"charge_fee,omitempty"` OriginalChargeFee string `json:"original_charge_fee,omitempty"` SwitchFeeRate string `json:"switch_fee_rate,omitempty"` IsRatingOnTradeReceiver string `json:"is_rating_on_trade_receiver,omitempty"` IsRatingOnSwitch string `json:"is_rating_on_switch,omitempty"` ChargeType string `json:"charge_type,omitempty"` SubFeeDetailList []*SubFee `json:"sub_fee_detail_list,omitempty"` }
type Client ¶
type Client struct { AppId string AppCertSN string AliPayPublicCertSN string AliPayRootCertSN string ReturnUrl string NotifyUrl string Charset string SignType string AppAuthToken string IsProd bool DebugSwitch gopay.DebugSwitch // contains filtered or unexported fields }
func NewClient ¶
初始化支付宝客户端 注意:如果使用支付宝公钥证书验签,请使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 应用公钥证书、支付宝公钥证书、支付宝根证书 appid:应用ID privateKey:应用私钥,支持PKCS1和PKCS8 isProd:是否是正式环境,沙箱环境请选择新版沙箱应用。
func (*Client) AcquireCustoms ¶
alipay.acquire.customs(报关接口) 文档地址:https://opendocs.alipay.com/pre-open/01x3kh
func (*Client) AcquireCustomsQuery ¶
func (a *Client) AcquireCustomsQuery(ctx context.Context, bm gopay.BodyMap) (aliRspBs []byte, err error)
alipay.overseas.acquire.customs.query(报关查询接口) 文档地址:https://opendocs.alipay.com/pre-open/01x3ki
func (*Client) AntMerchantOrderQuery ¶
func (a *Client) AntMerchantOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantOrderQueryRsp, err error)
ant.merchant.expand.order.query(商户申请单查询) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.order.query
func (*Client) AntMerchantShopClose ¶
func (a *Client) AntMerchantShopClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCloseRsp, err error)
ant.merchant.expand.shop.close(蚂蚁店铺关闭) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.close
func (*Client) AntMerchantShopConsult ¶
func (a *Client) AntMerchantShopConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopConsultRsp, err error)
ant.merchant.expand.shop.consult(蚂蚁店铺创建咨询) 文档地址:https://opendocs.alipay.com/apis/014yig
func (*Client) AntMerchantShopCreate ¶
func (a *Client) AntMerchantShopCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopCreateRsp, err error)
ant.merchant.expand.shop.create(蚂蚁店铺创建) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.create
func (*Client) AntMerchantShopModify ¶
func (a *Client) AntMerchantShopModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopModifyRsp, err error)
ant.merchant.expand.shop.modify(修改蚂蚁店铺) 文档地址:https://opendocs.alipay.com/apis/014tmb
func (*Client) AntMerchantShopQuery ¶
func (a *Client) AntMerchantShopQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *AntMerchantShopQueryRsp, err error)
ant.merchant.expand.shop.query(店铺查询接口) 文档地址:https://opendocs.alipay.com/apis/api_1/ant.merchant.expand.shop.query
func (*Client) AutoVerifySign ¶
开启请求完自动验签功能(默认不开启,推荐开启,只支持证书模式) 注意:只支持证书模式 alipayPublicKeyContent:支付宝公钥证书文件内容[]byte
func (*Client) CommerceAirCallcenterTradeApply ¶
func (a *Client) CommerceAirCallcenterTradeApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceAirCallcenterTradeApplyRsp, err error)
alipay.commerce.air.callcenter.trade.apply(航司电话订票待申请接口) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.air.callcenter.trade.apply
func (*Client) CommerceBenefitApply ¶
func (a *Client) CommerceBenefitApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitApplyRsp, err error)
alipay.commerce.operation.gamemarketing.benefit.apply(申请权益发放) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.operation.gamemarketing.benefit.apply
func (*Client) CommerceBenefitVerify ¶
func (a *Client) CommerceBenefitVerify(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceBenefitVerifyRsp, err error)
alipay.commerce.operation.gamemarketing.benefit.verify(权益核销) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.operation.gamemarketing.benefit.verify
func (*Client) CommerceTransportNfccardSend ¶
func (a *Client) CommerceTransportNfccardSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *CommerceTransportNfccardSendRsp, err error)
alipay.commerce.transport.nfccard.send(NFC用户卡信息同步) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.commerce.transport.nfccard.send
func (*Client) DataBillAccountLogQuery ¶
func (a *Client) DataBillAccountLogQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillAccountLogQueryResponse, err error)
alipay.data.bill.accountlog.query(支付宝商家账户账务明细查询) 文档地址:https://opendocs.alipay.com/open/dae3ac99_alipay.data.bill.accountlog.query
func (*Client) DataBillBalanceQuery ¶
func (a *Client) DataBillBalanceQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillBalanceQueryResponse, err error)
alipay.data.bill.balance.query(支付宝商家账户当前余额查询) 文档地址:https://opendocs.alipay.com/open/2acb3c34_alipay.data.bill.balance.query
func (*Client) DataBillDownloadUrlQuery ¶
func (a *Client) DataBillDownloadUrlQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillDownloadUrlQueryResponse, err error)
alipay.data.dataservice.bill.downloadurl.query(查询对账单下载地址) 文档地址:https://opendocs.alipay.com/open/02e7gr
func (*Client) DataDataserviceAdDataQuery ¶
func (a *Client) DataDataserviceAdDataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataDataserviceAdDataQueryRsp, err error)
alipay.data.dataservice.ad.data.query(广告投放数据查询) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.data.dataservice.ad.data.query
func (*Client) DoAliPay ¶
func (a *Client) DoAliPay(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (bs []byte, err error)
向支付宝发送请求
func (*Client) FileRequest ¶
func (a *Client) FileRequest(ctx context.Context, bm gopay.BodyMap, file *gopay.File, method string) (bs []byte, err error)
文件上传
func (*Client) FundAccountQuery ¶
func (a *Client) FundAccountQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAccountQueryResponse, err error)
alipay.fund.account.query(支付宝资金账户资产查询接口) 文档地址:https://opendocs.alipay.com/open/02byuq
func (*Client) FundAuthOperationCancel ¶
func (a *Client) FundAuthOperationCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationCancelResponse, err error)
alipay.fund.auth.operation.cancel(资金授权撤销接口) 文档地址: https://opendocs.alipay.com/open/02fkbb
func (*Client) FundAuthOperationDetailQuery ¶
func (a *Client) FundAuthOperationDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOperationDetailQueryResponse, err error)
alipay.fund.auth.operation.detail.query(资金授权操作查询接口) 文档地址: https://opendocs.alipay.com/open/02fkbd
func (*Client) FundAuthOrderAppFreeze ¶
func (a *Client) FundAuthOrderAppFreeze(ctx context.Context, bm gopay.BodyMap) (payParam string, err error)
alipay.fund.auth.order.app.freeze(线上资金授权冻结接口) 文档地址: https://opendocs.alipay.com/open/02f912
func (*Client) FundAuthOrderFreeze ¶
func (a *Client) FundAuthOrderFreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderFreezeResponse, err error)
alipay.fund.auth.order.freeze(资金授权冻结接口) 文档地址: https://opendocs.alipay.com/open/02fkb9
func (*Client) FundAuthOrderUnfreeze ¶
func (a *Client) FundAuthOrderUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderUnfreezeResponse, err error)
alipay.fund.auth.order.unfreeze(资金授权解冻接口) 文档地址: https://opendocs.alipay.com/open/02fkbc
func (*Client) FundAuthOrderVoucherCreate ¶
func (a *Client) FundAuthOrderVoucherCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundAuthOrderVoucherCreateResponse, err error)
alipay.fund.auth.order.voucher.create(资金授权发码接口) 文档地址: https://opendocs.alipay.com/open/02fit5
func (*Client) FundBatchClose ¶
func (a *Client) FundBatchClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCloseResponse, err error)
alipay.fund.batch.close(批量转账关单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.close
func (*Client) FundBatchCreate ¶
func (a *Client) FundBatchCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchCreateResponse, err error)
alipay.fund.batch.create(批次下单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.create
func (*Client) FundBatchDetailQuery ¶
func (a *Client) FundBatchDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundBatchDetailQueryResponse, err error)
alipay.fund.batch.detail.query(批量转账明细查询接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.batch.detail.query
func (*Client) FundTransAppPay ¶
func (a *Client) FundTransAppPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransAppPayResponse, err error)
alipay.fund.trans.app.pay(现金红包无线支付接口) 文档地址: https://opendocs.alipay.com/open/03rbyf
func (*Client) FundTransCommonQuery ¶
func (a *Client) FundTransCommonQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransCommonQueryResponse, err error)
alipay.fund.trans.common.query(转账业务单据查询接口) 文档地址:https://opendocs.alipay.com/open/02byup
func (*Client) FundTransOrderQuery ¶
func (a *Client) FundTransOrderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransOrderQueryResponse, err error)
alipay.fund.trans.order.query(查询转账订单接口) 文档地址: https://opendocs.alipay.com/apis/api_28/alipay.fund.trans.order.query
func (*Client) FundTransPagePay ¶
func (a *Client) FundTransPagePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPagePayRsp, err error)
alipay.fund.trans.page.pay(资金转账页面支付接口) 文档地址: https://opendocs.alipay.com/open/03rbye
func (*Client) FundTransPayeeBindQuery ¶
func (a *Client) FundTransPayeeBindQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPayeeBindQueryRsp, err error)
alipay.fund.trans.payee.bind.query(资金收款账号绑定关系查询) 文档地址: https://opendocs.alipay.com/apis/020tl1
func (*Client) FundTransRefund ¶
func (a *Client) FundTransRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransRefundResponse, err error)
alipay.fund.trans.refund(资金退回接口) 文档地址: https://opendocs.alipay.com/open/02byvd
func (*Client) FundTransUniTransfer ¶
func (a *Client) FundTransUniTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransUniTransferResponse, err error)
alipay.fund.trans.uni.transfer(单笔转账接口) 文档地址:https://opendocs.alipay.com/open/02byuo
func (*Client) GetRequestSignParam ¶
Deprecated 推荐使用 RequestParam()
func (*Client) KoubeiTradeItemorderBuy ¶
func (a *Client) KoubeiTradeItemorderBuy(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderBuyRsp, err error)
koubei.trade.itemorder.buy(口碑商品交易购买接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.buy
func (*Client) KoubeiTradeItemorderQuery ¶
func (a *Client) KoubeiTradeItemorderQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderQueryRsp, err error)
koubei.trade.itemorder.query(口碑商品交易查询接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.query
func (*Client) KoubeiTradeItemorderRefund ¶
func (a *Client) KoubeiTradeItemorderRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeItemorderRefundRsp, err error)
koubei.trade.itemorder.refund(口碑商品交易退货接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.itemorder.refund
func (*Client) KoubeiTradeOrderAggregateConsult ¶
func (a *Client) KoubeiTradeOrderAggregateConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderAggregateConsultRsp, err error)
koubei.trade.order.aggregate.consult(聚合支付订单咨询服务) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.aggregate.consult
func (*Client) KoubeiTradeOrderConsult ¶
func (a *Client) KoubeiTradeOrderConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderConsultRsp, err error)
koubei.trade.order.consult(口碑订单预咨询) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.consult
func (*Client) KoubeiTradeOrderPrecreate ¶
func (a *Client) KoubeiTradeOrderPrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeOrderPrecreateRsp, err error)
koubei.trade.order.precreate(口碑订单预下单) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.order.precreate
func (*Client) KoubeiTradeTicketTicketcodeCancel ¶
func (a *Client) KoubeiTradeTicketTicketcodeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeCancelRsp, err error)
koubei.trade.ticket.ticketcode.cancel(口碑凭证码撤销核销) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.cancel
func (*Client) KoubeiTradeTicketTicketcodeDelay ¶
func (a *Client) KoubeiTradeTicketTicketcodeDelay(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeDelayRsp, err error)
koubei.trade.ticket.ticketcode.delay(口碑凭证延期接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.delay
func (*Client) KoubeiTradeTicketTicketcodeQuery ¶
func (a *Client) KoubeiTradeTicketTicketcodeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeQueryRsp, err error)
koubei.trade.ticket.ticketcode.query(口碑凭证码查询) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.query
func (*Client) KoubeiTradeTicketTicketcodeSend ¶
func (a *Client) KoubeiTradeTicketTicketcodeSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *KoubeiTradeTicketTicketcodeSendRsp, err error)
koubei.trade.ticket.ticketcode.send(码商发码成功回调接口) 文档地址:https://opendocs.alipay.com/apis/api_1/koubei.trade.ticket.ticketcode.send
func (*Client) MarketingActivityDeliveryChanged ¶
func (a *Client) MarketingActivityDeliveryChanged(ctx context.Context, bm gopay.BodyMap) (success bool, err error)
alipay.marketing.activity.delivery.changed(推广计划状态变更消息) 文档地址:https://opendocs.alipay.com/open/85544608_alipay.marketing.activity.delivery.changed
func (*Client) MarketingActivityDeliveryCreate ¶
func (a *Client) MarketingActivityDeliveryCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryCreateRsp, err error)
alipay.marketing.activity.delivery.create(创建推广计划) 文档地址:https://opendocs.alipay.com/open/47498bf2_alipay.marketing.activity.delivery.create
func (*Client) MarketingActivityDeliveryQuery ¶
func (a *Client) MarketingActivityDeliveryQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryQueryRsp, err error)
alipay.marketing.activity.delivery.query(查询推广计划) 文档地址:https://opendocs.alipay.com/open/69c6d6c2_alipay.marketing.activity.delivery.query
func (*Client) MarketingActivityDeliveryStop ¶
func (a *Client) MarketingActivityDeliveryStop(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingActivityDeliveryStopRsp, err error)
alipay.marketing.activity.delivery.stop(停止推广计划) 文档地址:https://opendocs.alipay.com/open/39c69f03_alipay.marketing.activity.delivery.stop
func (*Client) MarketingCampaignCashCreate ¶
func (a *Client) MarketingCampaignCashCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashCreateRsp, err error)
alipay.marketing.campaign.cash.create(创建现金活动接口) 文档地址:https://opendocs.alipay.com/open/029yy9
func (*Client) MarketingCampaignCashDetailQuery ¶
func (a *Client) MarketingCampaignCashDetailQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashDetailQueryRsp, err error)
alipay.marketing.campaign.cash.detail.query(现金活动详情查询) 文档地址:https://opendocs.alipay.com/open/02a1fa
func (*Client) MarketingCampaignCashListQuery ¶
func (a *Client) MarketingCampaignCashListQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashListQueryRsp, err error)
alipay.marketing.campaign.cash.list.query(现金活动列表查询接口) 文档地址:https://opendocs.alipay.com/open/02a1f9
func (*Client) MarketingCampaignCashStatusModify ¶
func (a *Client) MarketingCampaignCashStatusModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashStatusModifyRsp, err error)
alipay.marketing.campaign.cash.status.modify(更改现金活动状态接口) 文档地址:https://opendocs.alipay.com/open/029yyb
func (*Client) MarketingCampaignCashTrigger ¶
func (a *Client) MarketingCampaignCashTrigger(ctx context.Context, bm gopay.BodyMap) (aliRsp *MarketingCampaignCashTriggerRsp, err error)
alipay.marketing.campaign.cash.trigger(触发现金红包活动) 文档地址:https://opendocs.alipay.com/open/029yya
func (*Client) MarketingMaterialImageUpload ¶
func (a *Client) MarketingMaterialImageUpload(ctx context.Context, bm gopay.BodyMap, file *gopay.File) (aliRsp *MarketingMaterialImageUploadRsp, err error)
alipay.marketing.material.image.upload(营销图片资源上传接口) 文档地址:https://opendocs.alipay.com/open/389b24b6_alipay.marketing.material.image.upload
func (*Client) MemberDataIsvCreate ¶
func (a *Client) MemberDataIsvCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MemberDataIsvCreateRsp, err error)
koubei.member.data.isv.create(isv 会员CRM数据回流) 文档地址:https://opendocs.alipay.com/apis/api_2/koubei.member.data.isv.create
func (*Client) MerchantItemFileUpload ¶
func (a *Client) MerchantItemFileUpload(ctx context.Context, file *gopay.File) (aliRsp *MerchantItemFileUploadRsp, err error)
alipay.merchant.item.file.upload(商品文件上传接口) 文档地址:https://opendocs.alipay.com/apis/api_4/alipay.merchant.item.file.upload
func (*Client) OpenAppApiQuery ¶
func (a *Client) OpenAppApiQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppApiQueryResponse, err error)
alipay.open.app.api.query(查询应用可申请的接口出参敏感字段列表) 文档地址:https://opendocs.alipay.com/isv/04f74n
func (*Client) OpenAppQrcodeCreate ¶
func (a *Client) OpenAppQrcodeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAppQrcodeCreateRsp, err error)
alipay.open.app.qrcode.create(小程序生成推广二维码接口) 文档地址:https://opendocs.alipay.com/apis/009zva
func (*Client) OpenAuthTokenApp ¶
func (a *Client) OpenAuthTokenApp(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppResponse, err error)
alipay.open.auth.token.app(换取应用授权令牌) 文档地址:https://opendocs.alipay.com/isv/04h3uf
func (*Client) OpenAuthTokenAppInviteCreate ¶
func (a *Client) OpenAuthTokenAppInviteCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppInviteCreateResponse, err error)
alipay.open.auth.appauth.invite.create(ISV向商户发起应用授权邀约) 文档地址:https://opendocs.alipay.com/isv/06evao
func (*Client) OpenAuthTokenAppQuery ¶
func (a *Client) OpenAuthTokenAppQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppQueryResponse, err error)
alipay.open.auth.token.app.query(查询某个应用授权AppAuthToken的授权信息) 文档地址:https://opendocs.alipay.com/isv/04hgcp
func (*Client) PageExecute ¶
func (a *Client) PageExecute(ctx context.Context, bm gopay.BodyMap, method string, authToken ...string) (url string, err error)
保持和官方 SDK 命名方式一致
func (*Client) PaymentTradeOrderCreate ¶
func (a *Client) PaymentTradeOrderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *PaymentTradeOrderCreateRsp, err error)
mybank.payment.trade.order.create(网商银行全渠道收单业务订单创建) 文档地址:https://opendocs.alipay.com/apis/api_1/mybank.payment.trade.order.create
func (*Client) PcreditHuabeiAuthSettleApply ¶
func (a *Client) PcreditHuabeiAuthSettleApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *PcreditHuabeiAuthSettleApplyRsp, err error)
alipay.pcredit.huabei.auth.settle.apply(花芝轻会员结算申请) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.pcredit.huabei.auth.settle.apply
func (*Client) PostAliPayAPISelfV2 ¶
func (a *Client) PostAliPayAPISelfV2(ctx context.Context, bodyMap gopay.BodyMap, method string, aliRsp any) (err error)
PostAliPayAPISelfV2 支付宝接口自行实现方法 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数 示例:请参考 client_test.go 的 TestClient_PostAliPayAPISelfV2() 方法
func (*Client) PostFileAliPayAPISelfV2 ¶
func (a *Client) PostFileAliPayAPISelfV2(ctx context.Context, bm gopay.BodyMap, method string, aliRsp any) (err error)
PostFileAliPayAPISelfV2 用于支付宝带有文件上传的接口自行实现方法 注意:最新版本的支付宝接口,对于文件的上传已统一改为通过formData上传 请求form格式如下: {file: "fileData", "data": BodyMap{"key": "value"}} 其中file为file请求字段名称,data为其他请求参数(key为文件名,value为文件内容)
func (*Client) PublicCertDownload ¶
func (a *Client) PublicCertDownload(ctx context.Context, bm gopay.BodyMap) (aliRsp *PublicCertDownloadRsp, err error)
alipay.open.app.alipaycert.download(应用支付宝公钥证书下载) 文档地址:https://opendocs.alipay.com/apis/api_9/alipay.open.app.alipaycert.download
func (*Client) RequestParam ¶
RequestParam 获取支付宝完整请求参数包含签名 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数
func (*Client) SetAESKey ¶
SetAESKey 设置 biz_content 的AES加密key,设置此参数默认开启 biz_content 参数加密 注意:目前不可用,设置后会报错
func (*Client) SetAliPayPublicCertSN ¶
Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 支付宝公钥证书SN aliPayPublicCertSN:支付宝公钥证书SN,通过 alipay.GetCertSN() 获取
func (*Client) SetAliPayRootCertSN ¶
Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 支付宝CA根证书SN aliPayRootCertSN:支付宝CA根证书SN,通过 alipay.GetRootCertSN() 获取
func (*Client) SetAppAuthToken ¶
设置应用授权
func (*Client) SetAppCertSN ¶
Deprecated 推荐使用 client.SetCertSnByContent() 或 client.SetCertSnByPath() 设置 应用公钥证书SN appCertSN:应用公钥证书SN,通过 alipay.GetCertSN() 获取
func (*Client) SetBodySize ¶
SetBodySize 设置http response body size(MB)
func (*Client) SetCertSnByContent ¶
func (a *Client) SetCertSnByContent(appCertContent, aliPayRootCertContent, aliPayPublicCertContent []byte) (err error)
通过应用公钥证书内容设置 app_cert_sn、alipay_root_cert_sn、alipay_cert_sn appCertContent:应用公钥证书文件内容 aliPayRootCertContent:支付宝根证书文件内容 aliPayPublicCertContent:支付宝公钥证书文件内容
func (*Client) SetCertSnByPath ¶
func (a *Client) SetCertSnByPath(appCertPath, aliPayRootCertPath, aliPayPublicCertPath string) (err error)
通过应用公钥证书路径设置 app_cert_sn、alipay_root_cert_sn、alipay_cert_sn appCertPath:应用公钥证书路径 aliPayRootCertPath:支付宝根证书文件路径 aliPayPublicCertPath:支付宝公钥证书文件路径
func (*Client) SetCharset ¶
设置编码格式,如utf-8,gbk,gb2312等,默认推荐使用 utf-8
func (*Client) SetLocation ¶
设置 时区,不设置或出错均为默认服务器时间
func (*Client) SetNotifyUrl ¶
设置支付宝服务器主动通知商户服务器里指定的页面http/https路径。
func (*Client) SetPrivateKeyType ¶
Deprecated
func (*Client) SetReturnUrl ¶
设置支付后的ReturnUrl
func (*Client) SetSignType ¶
设置签名算法类型,目前支持RSA2和RSA,默认推荐使用 RSA2
func (*Client) SystemOauthToken ¶
func (a *Client) SystemOauthToken(ctx context.Context, bm gopay.BodyMap) (aliRsp *SystemOauthTokenResponse, err error)
alipay.system.oauth.token(换取授权访问令牌) 文档地址:https://opendocs.alipay.com/open/02ailc
func (*Client) TradeAdvanceConsult ¶
func (a *Client) TradeAdvanceConsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeAdvanceConsultRsp, err error)
alipay.trade.advance.consult(订单咨询服务) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.advance.consult
func (*Client) TradeAppPay ¶
alipay.trade.app.pay(app支付接口2.0) 文档地址:https://opendocs.alipay.com/open/02e7gq
func (*Client) TradeCancel ¶
func (a *Client) TradeCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCancelResponse, err error)
alipay.trade.cancel(统一收单交易撤销接口) 文档地址:https://opendocs.alipay.com/open/02ekfi
func (*Client) TradeClose ¶
func (a *Client) TradeClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCloseResponse, err error)
alipay.trade.close(统一收单交易关闭接口) 文档地址:https://opendocs.alipay.com/open/02e7gn
func (*Client) TradeCreate ¶
func (a *Client) TradeCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCreateResponse, err error)
alipay.trade.create(统一收单交易创建接口) 文档地址:https://opendocs.alipay.com/open/02ekfj
func (*Client) TradeCustomsDeclare ¶
func (a *Client) TradeCustomsDeclare(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeCustomsDeclareRsp, err error)
alipay.trade.customs.declare(统一收单报关接口) 文档地址:https://opendocs.alipay.com/apis/api_29/alipay.trade.customs.declare
func (*Client) TradeFastPayRefundQuery ¶
func (a *Client) TradeFastPayRefundQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeFastpayRefundQueryResponse, err error)
alipay.trade.fastpay.refund.query(统一收单交易退款查询) 文档地址:https://opendocs.alipay.com/open/02e7gp
func (*Client) TradeOrderInfoSync ¶
func (a *Client) TradeOrderInfoSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderInfoSyncRsp, err error)
alipay.trade.orderinfo.sync(支付宝订单信息同步接口) 文档地址:https://opendocs.alipay.com/open/02cnou
func (*Client) TradeOrderOnSettleQuery ¶
func (a *Client) TradeOrderOnSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderOnSettleQueryResponse, err error)
alipay.trade.order.onsettle.query(分账剩余金额查询) 文档地址:https://opendocs.alipay.com/open/d87dc009_alipay.trade.order.onsettle.query
func (*Client) TradeOrderPay ¶
func (a *Client) TradeOrderPay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderPayResponse, err error)
alipay.trade.order.pay(统一收单交易订单支付接口) 文档地址:https://opendocs.alipay.com/open/03vtew
func (*Client) TradeOrderSettle ¶
func (a *Client) TradeOrderSettle(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleResponse, err error)
alipay.trade.order.settle(统一收单交易结算接口) 文档地址:https://opendocs.alipay.com/open/02j2bt
func (*Client) TradeOrderSettleQuery ¶
func (a *Client) TradeOrderSettleQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeOrderSettleQueryResponse, err error)
alipay.trade.order.settle.query(交易分账查询接口) 文档地址:https://opendocs.alipay.com/open/02pj6l
func (*Client) TradePagePay ¶
alipay.trade.page.pay(统一收单下单并支付页面接口) 文档地址:https://opendocs.alipay.com/open/028r8t
func (*Client) TradePageRefund ¶
func (a *Client) TradePageRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePageRefundResponse, err error)
alipay.trade.page.refund(统一收单退款页面接口) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.page.refund
func (*Client) TradePay ¶
func (a *Client) TradePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePayResponse, err error)
alipay.trade.pay(统一收单交易支付接口) 文档地址:https://opendocs.alipay.com/open/02cdx8
func (*Client) TradePrecreate ¶
func (a *Client) TradePrecreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradePrecreateResponse, err error)
alipay.trade.precreate(统一收单线下交易预创建) 文档地址:https://opendocs.alipay.com/open/02ekfg
func (*Client) TradeQuery ¶
func (a *Client) TradeQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeQueryResponse, err error)
alipay.trade.query(统一收单线下交易查询) 文档地址:https://opendocs.alipay.com/open/02e7gm
func (*Client) TradeRefund ¶
func (a *Client) TradeRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRefundResponse, err error)
alipay.trade.refund(统一收单交易退款接口) 文档地址:https://opendocs.alipay.com/open/02e7go
func (*Client) TradeRelationBatchQuery ¶
func (a *Client) TradeRelationBatchQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBatchQueryResponse, err error)
alipay.trade.royalty.relation.batchquery(分账关系查询) 文档地址:https://opendocs.alipay.com/open/02c7hs
func (*Client) TradeRelationBind ¶
func (a *Client) TradeRelationBind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationBindResponse, err error)
alipay.trade.royalty.relation.bind(分账关系绑定) 文档地址:https://opendocs.alipay.com/open/02c7hq
func (*Client) TradeRelationUnbind ¶
func (a *Client) TradeRelationUnbind(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRelationUnbindResponse, err error)
alipay.trade.royalty.relation.unbind(分账关系解绑) 文档地址:https://opendocs.alipay.com/open/02c7hr
func (*Client) TradeRepaybillQuery ¶
func (a *Client) TradeRepaybillQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRepaybillQueryRsp, err error)
alipay.trade.repaybill.query(还款账单查询) 文档地址:https://opendocs.alipay.com/apis/api_1/alipay.trade.repaybill.query
func (*Client) TradeRoyaltyRateQuery ¶
func (a *Client) TradeRoyaltyRateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeRoyaltyRateQueryResponse, err error)
alipay.trade.royalty.rate.query(分账比例查询) 文档地址:https://opendocs.alipay.com/open/6f314ee9_alipay.trade.royalty.rate.query
func (*Client) TradeSettleConfirm ¶
func (a *Client) TradeSettleConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *TradeSettleConfirmResponse, err error)
alipay.trade.settle.confirm(统一收单确认结算接口) 文档地址:https://opendocs.alipay.com/open/028xqy
func (*Client) TradeWapPay ¶
alipay.trade.wap.pay(手机网站支付接口2.0) 文档地址:https://opendocs.alipay.com/open/02ivbs
func (*Client) UserAgreementExecutionplanModify ¶
func (a *Client) UserAgreementExecutionplanModify(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementExecutionplanModifyRsp, err error)
alipay.user.agreement.executionplan.modify(周期性扣款协议执行计划修改接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.executionplan.modify
func (*Client) UserAgreementPageSign ¶
func (a *Client) UserAgreementPageSign(ctx context.Context, bm gopay.BodyMap) (ret string, err error)
alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 文档地址:https://opendocs.alipay.com/open/8bccfa0b_alipay.user.agreement.page.sign
func (*Client) UserAgreementPageSignInApp ¶
func (a *Client) UserAgreementPageSignInApp(ctx context.Context, bm gopay.BodyMap) (ret string, err error)
alipay.user.agreement.page.sign(APP 支付宝个人协议页面签约接口) 文档地址:https://opendocs.alipay.com/open/00a05b 通过 App 唤起支付宝的签约页面
func (*Client) UserAgreementPageUnSign ¶
func (a *Client) UserAgreementPageUnSign(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementPageUnSignRsp, err error)
alipay.user.agreement.unsign(支付宝个人代扣协议解约接口) 文档地址:https://opendocs.alipay.com/open/b841da1f_alipay.user.agreement.unsign
func (*Client) UserAgreementQuery ¶
func (a *Client) UserAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementQueryRsp, err error)
alipay.user.agreement.query(支付宝个人代扣协议查询接口) 文档地址:https://opendocs.alipay.com/open/3dab71bc_alipay.user.agreement.query
func (*Client) UserAgreementTransfer ¶
func (a *Client) UserAgreementTransfer(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementTransferRsp, err error)
alipay.user.agreement.transfer(协议由普通通用代扣协议产品转移到周期扣协议产品) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.transfer
func (*Client) UserAlipaypointBudgetlibQuery ¶
func (a *Client) UserAlipaypointBudgetlibQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointBudgetlibQueryRsp, err error)
alipay.user.alipaypoint.budgetlib.query(查询集分宝预算库详情) 文档地址:https://opendocs.alipay.com/apis/01zrby
func (*Client) UserAlipaypointSend ¶
func (a *Client) UserAlipaypointSend(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAlipaypointSendRsp, err error)
alipay.user.alipaypoint.send(集分宝发放接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.alipaypoint.send
func (*Client) UserAuthZhimaorgIdentityApply ¶
func (a *Client) UserAuthZhimaorgIdentityApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAuthZhimaorgIdentityApplyRsp, err error)
alipay.user.auth.zhimaorg.identity.apply(芝麻企业征信基于身份的协议授权) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.auth.zhimaorg.identity.apply
func (*Client) UserCertdocCertverifyConsult ¶
func (a *Client) UserCertdocCertverifyConsult(ctx context.Context, bm gopay.BodyMap, authToken string) (aliRsp *UserCertdocCertverifyConsultRsp, err error)
alipay.user.certdoc.certverify.consult(实名证件信息比对验证咨询) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.consult
func (*Client) UserCertdocCertverifyPreconsult ¶
func (a *Client) UserCertdocCertverifyPreconsult(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertdocCertverifyPreconsultRsp, err error)
alipay.user.certdoc.certverify.preconsult(实名证件信息比对验证预咨询) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.preconsult
func (*Client) UserCertifyOpenCertify ¶
func (a *Client) UserCertifyOpenCertify(ctx context.Context, bm gopay.BodyMap) (certifyUrl string, err error)
alipay.user.certify.open.certify(身份认证开始认证) API文档地址:https://opendocs.alipay.com/open/02ahk0
func (*Client) UserCertifyOpenInit ¶
func (a *Client) UserCertifyOpenInit(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenInitResponse, err error)
alipay.user.certify.open.initialize(身份认证初始化服务) 文档地址:https://opendocs.alipay.com/open/02ahjy
func (*Client) UserCertifyOpenQuery ¶
func (a *Client) UserCertifyOpenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCertifyOpenQueryResponse, err error)
alipay.user.certify.open.query(身份认证记录查询) 文档地址:https://opendocs.alipay.com/open/02ahjw
func (*Client) UserCharityRecordexistQuery ¶
func (a *Client) UserCharityRecordexistQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserCharityRecordexistQueryRsp, err error)
alipay.user.charity.recordexist.query(查询是否在支付宝公益捐赠的接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.charity.recordexist.query
func (*Client) UserDtbankQrcodedataQuery ¶
func (a *Client) UserDtbankQrcodedataQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserDtbankQrcodedataQueryRsp, err error)
alipay.user.dtbank.qrcodedata.query(数字分行银行码明细数据查询) 文档地址:https://opendocs.alipay.com/apis/01ozks
func (*Client) UserFamilyArchiveInitialize ¶
func (a *Client) UserFamilyArchiveInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveInitializeRsp, err error)
alipay.user.family.archive.initialize(初始化家人信息档案(选人授权)组件) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.family.archive.initialize
func (*Client) UserFamilyArchiveQuery ¶
func (a *Client) UserFamilyArchiveQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyArchiveQueryRsp, err error)
alipay.user.family.archive.query(查询家人信息档案(选人授权)组件已选的家人档案信息) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.family.archive.query
func (*Client) UserFamilyShareZmgoInitialize ¶
func (a *Client) UserFamilyShareZmgoInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserFamilyShareZmgoInitializeRsp, err error)
alipay.user.family.share.zmgo.initialize(初始化家庭芝麻GO共享组件) 文档地址:https://opendocs.alipay.com/apis/01n4yx
func (*Client) UserInfoAuth ¶
alipay.user.info.auth(用户登陆授权) 注意:不支持自动验签 文档地址:https://opendocs.alipay.com/open/02aile
func (*Client) UserInfoShare ¶
func (a *Client) UserInfoShare(ctx context.Context, authToken string) (aliRsp *UserInfoShareResponse, err error)
alipay.user.info.share(支付宝会员授权信息查询接口) body:此接口无需body参数 文档地址:https://opendocs.alipay.com/open/02aild
func (*Client) UserTwostageCommonUse ¶
func (a *Client) UserTwostageCommonUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserTwostageCommonUseRsp, err error)
alipay.user.twostage.common.use(通用当面付二阶段接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.twostage.common.use
func (*Client) ZhimaCreditEpSceneAgreementCancel ¶
func (a *Client) ZhimaCreditEpSceneAgreementCancel(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementCancelRsp, err error)
zhima.credit.ep.scene.agreement.cancel(取消信用服务) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.agreement.cancel
func (*Client) ZhimaCreditEpSceneAgreementUse ¶
func (a *Client) ZhimaCreditEpSceneAgreementUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneAgreementUseRsp, err error)
zhima.credit.ep.scene.agreement.use(加入信用服务) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.agreement.use
func (*Client) ZhimaCreditEpSceneFulfillmentSync ¶
func (a *Client) ZhimaCreditEpSceneFulfillmentSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentSyncRsp, err error)
zhima.credit.ep.scene.fulfillment.sync(信用服务履约同步) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.fulfillment.sync
func (*Client) ZhimaCreditEpSceneFulfillmentlistSync ¶
func (a *Client) ZhimaCreditEpSceneFulfillmentlistSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneFulfillmentlistSyncRsp, err error)
zhima.credit.ep.scene.fulfillmentlist.sync(信用服务履约同步(批量)) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.fulfillmentlist.sync
func (*Client) ZhimaCreditEpSceneRatingInitialize ¶
func (a *Client) ZhimaCreditEpSceneRatingInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditEpSceneRatingInitializeRsp, err error)
zhima.credit.ep.scene.rating.initialize(芝麻企业信用信用评估初始化) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.ep.scene.rating.initialize
func (*Client) ZhimaCreditPeZmgoAgreementQuery ¶
func (a *Client) ZhimaCreditPeZmgoAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementQueryRsp, err error)
zhima.credit.pe.zmgo.agreement.query(芝麻Go协议查询接口) 文档地址:https://opendocs.alipay.com/open/03utv3
func (*Client) ZhimaCreditPeZmgoAgreementUnsign ¶
func (a *Client) ZhimaCreditPeZmgoAgreementUnsign(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoAgreementUnsignRsp, err error)
zhima.credit.pe.zmgo.agreement.unsign(芝麻GO协议解约) 文档地址:https://opendocs.alipay.com/open/03ub1g
func (*Client) ZhimaCreditPeZmgoBizoptClose ¶
func (a *Client) ZhimaCreditPeZmgoBizoptClose(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoBizoptCloseRsp, err error)
zhima.credit.pe.zmgo.bizopt.close(芝麻GO签约关单) 文档地址:https://opendocs.alipay.com/apis/01qii3
func (*Client) ZhimaCreditPeZmgoCumulationSync ¶
func (a *Client) ZhimaCreditPeZmgoCumulationSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoCumulationSyncRsp, err error)
zhima.credit.pe.zmgo.cumulation.sync(芝麻go用户数据回传) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.pe.zmgo.cumulation.sync
func (*Client) ZhimaCreditPeZmgoPaysignApply ¶
func (a *Client) ZhimaCreditPeZmgoPaysignApply(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignApplyRsp, err error)
zhima.credit.pe.zmgo.paysign.apply(芝麻GO支付下单链路签约申请) 文档地址:https://opendocs.alipay.com/apis/01xdtu
func (*Client) ZhimaCreditPeZmgoPaysignConfirm ¶
func (a *Client) ZhimaCreditPeZmgoPaysignConfirm(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPaysignConfirmRsp, err error)
zhima.credit.pe.zmgo.paysign.confirm(芝麻GO支付下单链路签约确认) 文档地址:https://opendocs.alipay.com/apis/01xcif
func (*Client) ZhimaCreditPeZmgoPreorderCreate ¶
func (a *Client) ZhimaCreditPeZmgoPreorderCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoPreorderCreateRsp, err error)
zhima.credit.pe.zmgo.preorder.create(芝麻GO签约预创单) 文档地址:https://opendocs.alipay.com/open/03ujao
func (*Client) ZhimaCreditPeZmgoSettleRefund ¶
func (a *Client) ZhimaCreditPeZmgoSettleRefund(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleRefundRsp, err error)
zhima.credit.pe.zmgo.settle.refund(芝麻GO结算退款接口) 文档地址:https://opendocs.alipay.com/open/03ub1e
func (*Client) ZhimaCreditPeZmgoSettleUnfreeze ¶
func (a *Client) ZhimaCreditPeZmgoSettleUnfreeze(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditPeZmgoSettleUnfreezeRsp, err error)
zhima.credit.pe.zmgo.settle.unfreeze(芝麻Go解冻接口) 文档地址:https://opendocs.alipay.com/apis/01vx41
func (*Client) ZhimaCreditScoreGet ¶
func (a *Client) ZhimaCreditScoreGet(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCreditScoreGetResponse, err error)
Deprecated zhima.credit.score.get(查询芝麻用户的芝麻分) 文档地址:https://opendocs.alipay.com/apis/api_8/zhima.credit.score.get
func (*Client) ZhimaCustomerJobworthAdapterQuery ¶
func (a *Client) ZhimaCustomerJobworthAdapterQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthAdapterQueryRsp, err error)
zhima.customer.jobworth.adapter.query(职得工作证信息匹配度查询) 文档地址:https://opendocs.alipay.com/apis/022mvz
func (*Client) ZhimaCustomerJobworthSceneUse ¶
func (a *Client) ZhimaCustomerJobworthSceneUse(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaCustomerJobworthSceneUseRsp, err error)
zhima.customer.jobworth.scene.use(职得工作证外部渠道应用数据回流) 文档地址:https://opendocs.alipay.com/apis/022waz
func (*Client) ZhimaMerchantZmgoCumulateQuery ¶
func (a *Client) ZhimaMerchantZmgoCumulateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateQueryRsp, err error)
zhima.merchant.zmgo.cumulate.query(商家芝麻GO累计数据查询接口) 文档地址:https://opendocs.alipay.com/open/03ui2q
func (*Client) ZhimaMerchantZmgoCumulateSync ¶
func (a *Client) ZhimaMerchantZmgoCumulateSync(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateSyncRsp, err error)
zhima.merchant.zmgo.cumulate.sync(商家芝麻GO累计数据回传接口) 文档地址:https://opendocs.alipay.com/apis/01ol9h
func (*Client) ZolozAuthenticationCustomerFtokenQuery ¶
func (a *Client) ZolozAuthenticationCustomerFtokenQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationCustomerFtokenQueryRsp, err error)
zoloz.authentication.customer.ftoken.query(查询刷脸结果信息接口) 文档地址:https://opendocs.alipay.com/open/c8e4d285_zoloz.authentication.customer.ftoken.query
func (*Client) ZolozAuthenticationSmilepayInitialize ¶
func (a *Client) ZolozAuthenticationSmilepayInitialize(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZolozAuthenticationSmilepayInitializeRsp, err error)
zoloz.authentication.smilepay.initialize(刷脸支付初始化) 文档地址:https://opendocs.alipay.com/open/2f7c1d5f_zoloz.authentication.smilepay.initialize
type CommerceAirCallcenterTradeApply ¶
type CommerceAirCallcenterTradeApply struct {
ErrorResponse
}
type CommerceAirCallcenterTradeApplyRsp ¶
type CommerceAirCallcenterTradeApplyRsp struct { Response *CommerceAirCallcenterTradeApply `json:"alipay_commerce_air_callcenter_trade_apply_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type CommerceBenefitApply ¶
type CommerceBenefitApply struct { ErrorResponse ApplyVoucherCodeList string `json:"apply_voucher_code_list,omitempty"` }
type CommerceBenefitApplyRsp ¶
type CommerceBenefitApplyRsp struct { Response *CommerceBenefitApply `json:"alipay_commerce_operation_gamemarketing_benefit_apply_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type CommerceBenefitVerify ¶
type CommerceBenefitVerify struct { ErrorResponse VoucherVerifyStatus bool `json:"voucher_verify_status,omitempty"` }
type CommerceBenefitVerifyRsp ¶
type CommerceBenefitVerifyRsp struct { Response *CommerceBenefitVerify `json:"alipay_commerce_operation_gamemarketing_benefit_verify_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type CommerceTransportNfccardSend ¶
type CommerceTransportNfccardSend struct {
ErrorResponse
}
type CommerceTransportNfccardSendRsp ¶
type CommerceTransportNfccardSendRsp struct { Response *CommerceTransportNfccardSend `json:"alipay_commerce_transport_nfccard_send_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ContributeDetail ¶
type ConversionDataDetail ¶
type CumulateDataDetail ¶
type CumulateDataDetail struct { OutBizNo string `json:"out_biz_no,omitempty"` ReferOutBizNo string `json:"refer_out_biz_no,omitempty"` BizTime string `json:"biz_time,omitempty"` ActionType string `json:"action_type,omitempty"` DataType string `json:"data_type,omitempty"` SubDataType string `json:"sub_data_type,omitempty"` TaskDesc string `json:"task_desc,omitempty"` TaskAmount string `json:"task_amount,omitempty"` TaskTimes int64 `json:"task_times,omitempty"` DiscountDesc string `json:"discount_desc,omitempty"` DiscountAmount string `json:"discount_amount,omitempty"` }
type DataBillAccountLogQuery ¶
type DataBillAccountLogQuery struct { ErrorResponse PageNo string `json:"page_no,omitempty"` PageSize string `json:"page_size,omitempty"` TotalSize string `json:"total_size,omitempty"` DetailList []AccountLogItemResult `json:"detail_list,omitempty"` }
type DataBillAccountLogQueryResponse ¶
type DataBillAccountLogQueryResponse struct { Response *DataBillAccountLogQuery `json:"alipay_data_bill_accountlog_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type DataBillBalanceQuery ¶
type DataBillBalanceQuery struct { ErrorResponse TotalAmount string `json:"total_amount,omitempty"` AvailableAmount string `json:"available_amount,omitempty"` FreezeAmount string `json:"freeze_amount,omitempty"` SettleAmount string `json:"settle_amount,omitempty"` }
type DataBillBalanceQueryResponse ¶
type DataBillBalanceQueryResponse struct { Response *DataBillBalanceQuery `json:"alipay_data_bill_balance_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type DataBillDownloadUrlQuery ¶
type DataBillDownloadUrlQuery struct { ErrorResponse BillDownloadUrl string `json:"bill_download_url,omitempty"` }
type DataBillDownloadUrlQueryResponse ¶
type DataBillDownloadUrlQueryResponse struct { Response *DataBillDownloadUrlQuery `json:"alipay_data_dataservice_bill_downloadurl_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type DataDataserviceAdDataQuery ¶
type DataDataserviceAdDataQuery struct { ErrorResponse DataList []*DataDetail `json:"data_list,omitempty"` }
type DataDataserviceAdDataQueryRsp ¶
type DataDataserviceAdDataQueryRsp struct { Response *DataDataserviceAdDataQuery `json:"alipay_data_dataservice_ad_data_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type DataDetail ¶
type DataDetail struct { OuterId string `json:"outer_id,omitempty"` Impression int64 `json:"impression,omitempty"` Click int64 `json:"click,omitempty"` Cost int64 `json:"cost,omitempty"` ConversionDataList []*ConversionDataDetail `json:"conversion_data_list,omitempty"` BizDate string `json:"biz_date,omitempty"` }
type DeliveryActivityContent ¶
type DeliveryActivityContent struct {
ActivityId string `json:"activity_id"`
}
type DeliveryAppContent ¶
type DeliveryBaseInfo ¶
type DeliveryCityCodeRule ¶
type DeliveryContentInfo ¶
type DeliveryContentInfo struct { DeliveryContentType string `json:"delivery_content_type"` DeliveryActivityContent *DeliveryActivityContent `json:"delivery_activity_content"` DeliveryAppContent *DeliveryAppContent `json:"delivery_app_content"` DeliveryDisplayInfo *DeliveryDisplayInfo `json:"delivery_display_info"` }
type DeliveryDisplayInfo ¶
type DeliveryFullSendConfig ¶
type DeliveryFullSendConfig struct { DeliveryFloorAmount string `json:"delivery_floor_amount"` DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"` }
type DeliveryMerchantInfo ¶
type DeliveryMerchantRule ¶
type DeliveryMerchantRule struct { DeliveryMerchantMode string `json:"delivery_merchant_mode"` DeliveryMerchantInfos []*DeliveryMerchantInfo `json:"delivery_merchant_infos"` }
type DeliveryPlayConfig ¶
type DeliveryPlayConfig struct { DeliverySingleSendConfig *DeliverySingleSendConfig `json:"delivery_single_send_config"` DeliveryFullSendConfig *DeliveryFullSendConfig `json:"delivery_full_send_config"` }
type DeliverySingleSendConfig ¶
type DeliverySingleSendConfig struct {
DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"`
}
type DeliveryTargetRule ¶
type DeliveryTargetRule struct { DeliveryMerchantRule *DeliveryMerchantRule `json:"delivery_merchant_rule"` DeliveryCityCodeRule *DeliveryCityCodeRule `json:"delivery_city_code_rule"` DeliveryPromoTags string `json:"delivery_promo_tags"` }
type DepositBackInfo ¶
type DepositBackInfo struct { HasDepositBack string `json:"has_deposit_back,omitempty"` DbackStatus string `json:"dback_status,omitempty"` DbackAmount string `json:"dback_amount,omitempty"` BankAckTime string `json:"bank_ack_time,omitempty"` EstBankReceiptTime string `json:"est_bank_receipt_time,omitempty"` }
type DiscountDetailInfo ¶
type ErrorResponse ¶
type ExtCardInfo ¶
type ExtCardInfo struct { CardNo string `json:"card_no,omitempty"` BankAccName string `json:"bank_acc_name,omitempty"` CardBranch string `json:"card_branch,omitempty"` CardBank string `json:"card_bank,omitempty"` CardLocation string `json:"card_location,omitempty"` CardDeposit string `json:"card_deposit,omitempty"` Status string `json:"status,omitempty"` }
type FamilyArchiveDetail ¶
type FamilyArchiveDetail struct { ArchiveId string `json:"archive_id"` RealName string `json:"real_name,omitempty"` CertNo string `json:"cert_no,omitempty"` CertType string `json:"cert_type,omitempty"` Mobile string `json:"mobile,omitempty"` Email string `json:"email,omitempty"` Role string `json:"role,omitempty"` Province string `json:"province,omitempty"` City string `json:"city,omitempty"` DesensitizedLogonId string `json:"desensitized_logon_id,omitempty"` Area string `json:"area,omitempty"` DesensitizedRealName string `json:"desensitized_real_name,omitempty"` Address string `json:"address,omitempty"` Zip string `json:"zip,omitempty"` Birthday string `json:"birthday,omitempty"` Gender string `json:"gender,omitempty"` Profession string `json:"profession,omitempty"` }
type FulfillmentResult ¶
type FundAccountQuery ¶
type FundAccountQuery struct { ErrorResponse AvailableAmount string `json:"available_amount,omitempty"` FreezeAmount string `json:"freeze_amount,omitempty"` ExtCardInfo *ExtCardInfo `json:"ext_card_info,omitempty"` }
type FundAccountQueryResponse ¶
type FundAccountQueryResponse struct { Response *FundAccountQuery `json:"alipay_fund_account_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundAuthOperationCancel ¶
type FundAuthOperationCancelResponse ¶
type FundAuthOperationCancelResponse struct { Response *FundAuthOperationCancel `json:"alipay_fund_auth_operation_cancel_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundAuthOperationDetailQuery ¶
type FundAuthOperationDetailQuery struct { ErrorResponse AuthNo string `json:"auth_no,omitempty"` OutOrderNo string `json:"out_order_no,omitempty"` OrderStatus string `json:"order_status,omitempty"` TotalFreezeAmount string `json:"total_freeze_amount,omitempty"` RestAmount string `json:"rest_amount,omitempty"` TotalPayAmount string `json:"total_pay_amount,omitempty"` OrderTitle string `json:"order_title,omitempty"` PayerLogonId string `json:"payer_logon_id,omitempty"` PayerUserId string `json:"payer_user_id,omitempty"` PayerOpenId string `json:"payer_open_id,omitempty"` ExtraParam string `json:"extra_param,omitempty"` OperationId string `json:"operation_id,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` Amount string `json:"amount,omitempty"` OperationType string `json:"operation_type,omitempty"` Status string `json:"status,omitempty"` Remark string `json:"remark,omitempty"` GmtCreate string `json:"gmt_create,omitempty"` GmtTrans string `json:"gmt_trans,omitempty"` PreAuthType string `json:"pre_auth_type,omitempty"` TransCurrency string `json:"trans_currency,omitempty"` TotalFreezeCreditAmount string `json:"total_freeze_credit_amount,omitempty"` TotalFreezeFundAmount string `json:"total_freeze_fund_amount,omitempty"` TotalPayCreditAmount string `json:"total_pay_credit_amount,omitempty"` TotalPayFundAmount string `json:"total_pay_fund_amount,omitempty"` RestCreditAmount string `json:"rest_credit_amount,omitempty"` RestFundAmount string `json:"rest_fund_amount,omitempty"` CreditAmount string `json:"credit_amount,omitempty"` FundAmount string `json:"fund_amount,omitempty"` }
type FundAuthOperationDetailQueryResponse ¶
type FundAuthOperationDetailQueryResponse struct { Response *FundAuthOperationDetailQuery `json:"alipay_fund_auth_operation_detail_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundAuthOrderAppFreeze ¶
type FundAuthOrderAppFreeze struct { ErrorResponse AuthNo string `json:"auth_no,omitempty"` OutOrderNo string `json:"out_order_no,omitempty"` OperationId string `json:"operation_id,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` Amount string `json:"amount,omitempty"` Status string `json:"status,omitempty"` PayerUserId string `json:"payer_user_id,omitempty"` GmtTrans string `json:"gmt_trans,omitempty"` PreAuthType string `json:"pre_auth_type,omitempty"` CreditAmount string `json:"credit_amount,omitempty"` FundAmount string `json:"fund_amount,omitempty"` TransCurrency string `json:"trans_currency,omitempty"` }
type FundAuthOrderAppFreezeResponse ¶
type FundAuthOrderAppFreezeResponse struct { Response *FundAuthOrderAppFreeze `json:"alipay_fund_auth_order_app_freeze_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type FundAuthOrderFreeze ¶
type FundAuthOrderFreeze struct { ErrorResponse AuthNo string `json:"auth_no,omitempty"` OutOrderNo string `json:"out_order_no,omitempty"` OperationId string `json:"operation_id,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` Amount string `json:"amount,omitempty"` Status string `json:"status,omitempty"` PayerUserId string `json:"payer_user_id,omitempty"` PayerOpenId string `json:"payer_open_id,omitempty"` PayerLogonId string `json:"payer_logon_id,omitempty"` GmtTrans string `json:"gmt_trans,omitempty"` }
type FundAuthOrderFreezeResponse ¶
type FundAuthOrderFreezeResponse struct { Response *FundAuthOrderFreeze `json:"alipay_fund_auth_order_freeze_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundAuthOrderUnfreeze ¶
type FundAuthOrderUnfreeze struct { ErrorResponse AuthNo string `json:"auth_no,omitempty"` OutOrderNo string `json:"out_order_no,omitempty"` OperationId string `json:"operation_id,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` Amount string `json:"amount,omitempty"` Status string `json:"status,omitempty"` GmtTrans string `json:"gmt_trans,omitempty"` CreditAmount string `json:"credit_amount,omitempty"` FundAmount string `json:"fund_amount,omitempty"` }
type FundAuthOrderUnfreezeResponse ¶
type FundAuthOrderUnfreezeResponse struct { Response *FundAuthOrderUnfreeze `json:"alipay_fund_auth_order_unfreeze_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundAuthOrderVoucherCreateResponse ¶
type FundAuthOrderVoucherCreateResponse struct { Response *FundAuthOrderVoucherCreate `json:"alipay_fund_auth_order_voucher_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundBatchClose ¶
type FundBatchClose struct { ErrorResponse BatchTransId string `json:"batch_trans_id,omitempty"` Status string `json:"status,omitempty"` }
type FundBatchCloseResponse ¶
type FundBatchCloseResponse struct { Response *FundBatchClose `json:"alipay_fund_batch_close_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundBatchCreate ¶
type FundBatchCreate struct { ErrorResponse OutBatchNo string `json:"out_batch_no,omitempty"` BatchTransId string `json:"batch_trans_id,omitempty"` Status string `json:"status,omitempty"` }
type FundBatchCreateResponse ¶
type FundBatchCreateResponse struct { Response *FundBatchCreate `json:"alipay_fund_batch_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundBatchDetailQuery ¶
type FundBatchDetailQuery struct { ErrorResponse BatchTransId string `json:"batch_trans_id,omitempty"` BatchNo string `json:"batch_no,omitempty"` BizCode string `json:"biz_code,omitempty"` BizScene string `json:"biz_scene,omitempty"` BatchStatus string `json:"batch_status,omitempty"` ApprovalStatus string `json:"approval_status,omitempty"` ErrorCode string `json:"error_code,omitempty"` FailReason string `json:"fail_reason,omitempty"` SignPrincipal string `json:"sign_principal,omitempty"` PaymentAmount string `json:"payment_amount,omitempty"` PaymentCurrency string `json:"payment_currency,omitempty"` PageSize int `json:"page_size,omitempty"` PageNum int `json:"page_num,omitempty"` ProductCode string `json:"product_code,omitempty"` TotalPageCount string `json:"total_page_count,omitempty"` OutBatchNo string `json:"out_batch_no,omitempty"` GmtFinish string `json:"gmt_finish,omitempty"` TotalAmount string `json:"total_amount,omitempty"` GmtPayFinish string `json:"gmt_pay_finish,omitempty"` PayerId string `json:"payer_id,omitempty"` SuccessAmount string `json:"success_amount,omitempty"` FailAmount string `json:"fail_amount,omitempty"` FailCount string `json:"fail_count,omitempty"` SuccessCount string `json:"success_count,omitempty"` TotalItemCount string `json:"total_item_count,omitempty"` AccDetailList []*struct { DetailNo string `json:"detail_no,omitempty"` PaymentAmount string `json:"payment_amount,omitempty"` PaymentCurrency string `json:"payment_currency,omitempty"` TransAmount string `json:"trans_amount,omitempty"` TransCurrency string `json:"trans_currency,omitempty"` SettlementAmount string `json:"settlement_amount,omitempty"` SettlementCurrency string `json:"settlement_currency,omitempty"` PayeeInfo *struct { PayeeAccount string `json:"payee_account,omitempty"` PayeeType string `json:"payee_type,omitempty"` PayeeName string `json:"payee_name,omitempty"` } `json:"payee_info,omitempty"` CertInfo *struct { CertNo string `json:"cert_no,omitempty"` CertType string `json:"cert_type,omitempty"` } `json:"cert_info,omitempty"` Remark string `json:"remark,omitempty"` Status string `json:"status,omitempty"` ExchangeRate *struct { Rate string `json:"rate,omitempty"` BaseCurrency string `json:"base_currency,omitempty"` ExchangeCurrency string `json:"exchange_currency,omitempty"` } `json:"exchange_rate,omitempty"` NeedRetry string `json:"need_retry,omitempty"` AlipayOrderNo string `json:"alipay_order_no,omitempty"` OutBizNo string `json:"out_biz_no,omitempty"` DetailId string `json:"detail_id,omitempty"` ErrorCode string `json:"error_code,omitempty"` ErrorMsg string `json:"error_msg,omitempty"` GmtCreate string `json:"gmt_create,omitempty"` GmtFinish string `json:"gmt_finish,omitempty"` SubStatus string `json:"sub_status,omitempty"` } `json:"acc_detail_list,omitempty"` }
type FundBatchDetailQueryResponse ¶
type FundBatchDetailQueryResponse struct { Response *FundBatchDetailQuery `json:"alipay_fund_batch_detail_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundBillListInfo ¶
type FundTransAppPay ¶
type FundTransAppPay struct { ErrorResponse OutBizNo string `json:"out_biz_no,omitempty"` OrderId string `json:"order_id,omitempty"` Status string `json:"status,omitempty"` }
type FundTransAppPayResponse ¶
type FundTransAppPayResponse struct { Response *FundTransAppPay `json:"alipay_fund_trans_app_pay_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransCommonQuery ¶
type FundTransCommonQuery struct { ErrorResponse OrderId string `json:"order_id,omitempty"` PayFundOrderId string `json:"pay_fund_order_id,omitempty"` OutBizNo string `json:"out_biz_no,omitempty"` TransAmount string `json:"trans_amount,omitempty"` Status string `json:"status,omitempty"` PayDate string `json:"pay_date,omitempty"` ArrivalTimeEnd string `json:"arrival_time_end,omitempty"` OrderFee string `json:"order_fee,omitempty"` ErrorCode string `json:"error_code,omitempty"` FailReason string `json:"fail_reason,omitempty"` }
type FundTransCommonQueryResponse ¶
type FundTransCommonQueryResponse struct { Response *FundTransCommonQuery `json:"alipay_fund_trans_common_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransOrderQuery ¶
type FundTransOrderQuery struct { ErrorResponse OrderId string `json:"order_id,omitempty"` Status string `json:"status,omitempty"` PayDate string `json:"pay_date,omitempty"` ArrivalTimeEnd string `json:"arrival_time_end,omitempty"` OrderFee string `json:"order_fee,omitempty"` FailReason string `json:"fail_reason,omitempty"` OutBizNo string `json:"out_biz_no,omitempty"` ErrorCode string `json:"error_code,omitempty"` }
type FundTransOrderQueryResponse ¶
type FundTransOrderQueryResponse struct { Response *FundTransOrderQuery `json:"alipay_fund_trans_order_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransPagePay ¶
type FundTransPagePay struct { ErrorResponse OutBizNo string `json:"out_biz_no"` OrderID string `json:"order_id,omitempty"` Status string `json:"status"` }
type FundTransPagePayRsp ¶
type FundTransPagePayRsp struct { Response *FundTransPagePay `json:"alipay_fund_trans_page_pay_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransPayeeBindQuery ¶
type FundTransPayeeBindQuery struct { ErrorResponse Bind string `json:"bind"` // 是否绑定收款账号。true:已绑定;false:未绑定 }
type FundTransPayeeBindQueryRsp ¶
type FundTransPayeeBindQueryRsp struct { Response *FundTransPayeeBindQuery `json:"alipay_fund_trans_payee_bind_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransRefund ¶
type FundTransRefundResponse ¶
type FundTransRefundResponse struct { Response *FundTransRefund `json:"alipay_fund_trans_refund_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type FundTransUniTransferResponse ¶
type FundTransUniTransferResponse struct { Response *TransUniTransfer `json:"alipay_fund_trans_uni_transfer_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type HSchoolInfo ¶
type HbFqPayInfo ¶
type HbFqPayInfo struct {
UserInstallNum string `json:"user_install_num,omitempty"`
}
type KoubeiTradeItemorderBuyRsp ¶
type KoubeiTradeItemorderBuyRsp struct { Response *TradeItemorderBuy `json:"koubei_trade_itemorder_buy_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeItemorderQuery ¶
type KoubeiTradeItemorderQuery struct { ErrorResponse OrderNo string `json:"order_no"` OutOrderNo string `json:"out_order_no"` PartnerID string `json:"partner_id"` TradeNo string `json:"trade_no"` Status string `json:"status"` BuyerID string `json:"buyer_id"` BizProduct string `json:"biz_product"` GmtCreate string `json:"gmt_create"` SellerID string `json:"seller_id,omitempty"` GmtPayment string `json:"gmt_payment,omitempty"` GmtModified string `json:"gmt_modified"` TotalAmount string `json:"total_amount"` RealPayAmount string `json:"real_pay_amount"` DiscountAmount string `json:"discount_amount,omitempty"` DeliverSellerRealAmount string `json:"deliver_seller_real_amount"` ItemOrderVo []*struct { ItemOrderNo string `json:"item_order_no"` SkuID string `json:"sku_id"` Quantity int `json:"quantity"` Price string `json:"price"` Status string `json:"status"` MerchantFund string `json:"merchant_fund,omitempty"` PlatformFund string `json:"platform_fund,omitempty"` ExtInfo string `json:"ext_info,omitempty"` } `json:"item_order_vo"` }
type KoubeiTradeItemorderQueryRsp ¶
type KoubeiTradeItemorderQueryRsp struct { Response *KoubeiTradeItemorderQuery `json:"koubei_trade_itemorder_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeItemorderRefund ¶
type KoubeiTradeItemorderRefund struct { ErrorResponse OrderNo string `json:"order_no"` OutRequestNo string `json:"out_request_no"` RealRefundAmount string `json:"real_refund_amount"` }
type KoubeiTradeItemorderRefundRsp ¶
type KoubeiTradeItemorderRefundRsp struct { Response *KoubeiTradeItemorderRefund `json:"koubei_trade_itemorder_refund_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeOrderAggregateConsult ¶
type KoubeiTradeOrderAggregateConsult struct { ErrorResponse OutOrderNo string `json:"out_order_no,omitempty"` OrderNo string `json:"order_no,omitempty"` TradeNo string `json:"trade_no,omitempty"` BuyerId string `json:"buyer_id,omitempty"` BuyerIdType string `json:"buyer_id_type,omitempty"` TotalAmount string `json:"total_amount,omitempty"` ReceiptAmount string `json:"receipt_amount,omitempty"` BuyerPayAmount string `json:"buyer_pay_amount,omitempty"` MerchantDiscountAmount string `json:"merchant_discount_amount,omitempty"` PlatformDiscountAmount string `json:"platform_discount_amount,omitempty"` DiscountDetailList []*DiscountDetailInfo `json:"discount_detail_list,omitempty"` OrderStatus string `json:"order_status,omitempty"` PayChannel string `json:"pay_channel,omitempty"` CreateTime string `json:"create_time"` GmtPaymentTime string `json:"gmt_payment_time,omitempty"` }
type KoubeiTradeOrderAggregateConsultRsp ¶
type KoubeiTradeOrderAggregateConsultRsp struct { Response *KoubeiTradeOrderAggregateConsult `json:"koubei_trade_order_aggregate_consult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeOrderConsult ¶
type KoubeiTradeOrderConsult struct { ErrorResponse BuyerPayAmount string `json:"buyer_pay_amount"` RequestId string `json:"request_id,omitempty"` MCardDetail *struct { Name string `json:"name"` AvailableAmount string `json:"available_amount"` PayAmount string `json:"pay_amount"` } `json:"m_card_detail,omitempty"` DiscountDetail *struct { Id string `json:"id"` DiscountDesc []string `json:"discount_desc,omitempty"` DiscountType string `json:"discount_type"` IsHit string `json:"is_hit"` IsPurchased string `json:"is_purchased"` Name string `json:"name"` DiscountAmount string `json:"discount_amount,omitempty"` } `json:"discount_detail,omitempty"` }
type KoubeiTradeOrderConsultRsp ¶
type KoubeiTradeOrderConsultRsp struct { Response *KoubeiTradeOrderConsult `json:"koubei_trade_order_consult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeOrderPrecreate ¶
type KoubeiTradeOrderPrecreate struct { ErrorResponse OrderNo string `json:"order_no"` QrCode string `json:"qr_code,omitempty"` }
type KoubeiTradeOrderPrecreateRsp ¶
type KoubeiTradeOrderPrecreateRsp struct { Response *KoubeiTradeOrderPrecreate `json:"koubei_trade_order_precreate_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeTicketTicketcodeCancel ¶
type KoubeiTradeTicketTicketcodeCancel struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeCancelRsp ¶
type KoubeiTradeTicketTicketcodeCancelRsp struct { Response *KoubeiTradeTicketTicketcodeCancel `json:"koubei_trade_ticket_ticketcode_cancel_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeTicketTicketcodeDelay ¶
type KoubeiTradeTicketTicketcodeDelay struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeDelayRsp ¶
type KoubeiTradeTicketTicketcodeDelayRsp struct { Response *KoubeiTradeTicketTicketcodeDelay `json:"koubei_trade_ticket_ticketcode_delay_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeTicketTicketcodeQuery ¶
type KoubeiTradeTicketTicketcodeQuery struct { ErrorResponse TicketCode string `json:"ticket_code"` TicketStatus string `json:"ticket_status"` TicketStatusDesc string `json:"ticket_status_desc"` ItemName string `json:"item_name"` ItemID string `json:"item_id"` OriginalPrice string `json:"original_price"` CurrentPrice string `json:"current_price"` EffectDate string `json:"effect_date"` ExpireDate string `json:"expire_date"` VoucherID string `json:"voucher_id"` OrderNo string `json:"order_no"` AvailableQuantity string `json:"available_quantity,omitempty"` TotalQuantity string `json:"total_quantity,omitempty"` ItemAlias string `json:"item_alias,omitempty"` TimeCards string `json:"time_cards"` TicketTransInfoList []*TicketTransInfo `json:"ticket_trans_info_list,omitempty"` }
type KoubeiTradeTicketTicketcodeQueryRsp ¶
type KoubeiTradeTicketTicketcodeQueryRsp struct { Response *KoubeiTradeTicketTicketcodeQuery `json:"koubei_trade_ticket_ticketcode_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type KoubeiTradeTicketTicketcodeSend ¶
type KoubeiTradeTicketTicketcodeSend struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeSendRsp ¶
type KoubeiTradeTicketTicketcodeSendRsp struct { Response *KoubeiTradeTicketTicketcodeSend `json:"koubei_trade_ticket_ticketcode_send_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingActivityDeliveryCreate ¶
type MarketingActivityDeliveryCreate struct { ErrorResponse DeliveryId string `json:"delivery_id"` }
type MarketingActivityDeliveryCreateRsp ¶
type MarketingActivityDeliveryCreateRsp struct { Response *MarketingActivityDeliveryCreate `json:"alipay_marketing_activity_delivery_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingActivityDeliveryQuery ¶
type MarketingActivityDeliveryQuery struct { ErrorResponse DeliveryId string `json:"delivery_id"` DeliveryStatus string `json:"delivery_status"` DeliveryBoothCode string `json:"delivery_booth_code"` DeliveryErrorMsg string `json:"delivery_error_msg"` DeliveryBaseInfo *DeliveryBaseInfo `json:"delivery_base_info"` DeliveryPlayConfig *DeliveryPlayConfig `json:"delivery_play_config"` DeliveryTargetRule *DeliveryTargetRule `json:"delivery_target_rule"` }
type MarketingActivityDeliveryQueryRsp ¶
type MarketingActivityDeliveryQueryRsp struct { Response *MarketingActivityDeliveryQuery `json:"alipay_marketing_activity_delivery_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingActivityDeliveryStop ¶
type MarketingActivityDeliveryStop struct { ErrorResponse DeliveryId string `json:"delivery_id"` }
type MarketingActivityDeliveryStopRsp ¶
type MarketingActivityDeliveryStopRsp struct { Response *MarketingActivityDeliveryStop `json:"alipay_marketing_activity_delivery_stop_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingCampaignCashCreate ¶
type MarketingCampaignCashCreate struct { ErrorResponse CrowdNo string `json:"crowd_no"` PayURL string `json:"pay_url"` OriginCrowdNo string `json:"origin_crowd_no"` }
type MarketingCampaignCashCreateRsp ¶
type MarketingCampaignCashCreateRsp struct { Response *MarketingCampaignCashCreate `json:"alipay_marketing_campaign_cash_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingCampaignCashDetailQuery ¶
type MarketingCampaignCashDetailQuery struct { ErrorResponse CrowdNo string `json:"crowd_no"` CouponName string `json:"coupon_name"` PrizeMsg string `json:"prize_msg"` PrizeType string `json:"prize_type"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` TotalAmount float64 `json:"total_amount"` SendAmount float64 `json:"send_amount"` TotalNum int `json:"total_num"` TotalCount int `json:"total_count"` OriginCrowdNo string `json:"origin_crowd_no"` CampStatus string `json:"camp_status"` }
type MarketingCampaignCashDetailQueryRsp ¶
type MarketingCampaignCashDetailQueryRsp struct { Response *MarketingCampaignCashDetailQuery `json:"alipay_marketing_campaign_cash_detail_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingCampaignCashListQuery ¶
type MarketingCampaignCashListQuery struct { ErrorResponse PageSize string `json:"page_size"` CampList []CashCampaignInfo `json:"camp_list"` PageIndex string `json:"page_index"` TotalSize string `json:"total_size"` }
type MarketingCampaignCashListQueryRsp ¶
type MarketingCampaignCashListQueryRsp struct { Response *MarketingCampaignCashListQuery `json:"alipay_marketing_campaign_cash_list_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingCampaignCashStatusModify ¶
type MarketingCampaignCashStatusModify struct {
ErrorResponse
}
type MarketingCampaignCashStatusModifyRsp ¶
type MarketingCampaignCashStatusModifyRsp struct { Response *MarketingCampaignCashStatusModify `json:"alipay_marketing_campaign_cash_status_modify_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingCampaignCashTrigger ¶
type MarketingCampaignCashTrigger struct { ErrorResponse TriggerResult string `json:"trigger_result"` PrizeAmount string `json:"prize_amount"` RepeatTriggerFlag string `json:"repeat_trigger_flag"` PartnerId string `json:"partner_id"` ErrorMsg string `json:"error_msg"` CouponName string `json:"coupon_name"` PrizeMsg string `json:"prize_msg"` MerchantLogo string `json:"merchant_logo"` BizNo string `json:"biz_no"` OutBizNo string `json:"out_biz_no"` }
type MarketingCampaignCashTriggerRsp ¶
type MarketingCampaignCashTriggerRsp struct { Response *MarketingCampaignCashTrigger `json:"alipay_marketing_campaign_cash_trigger_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MarketingMaterialImageUpload ¶
type MarketingMaterialImageUpload struct { ErrorResponse ResourceId string `json:"resource_id"` ResourceEnhance bool `json:"resource_enhance"` ResourceUrl string `json:"resource_url"` }
type MarketingMaterialImageUploadRsp ¶
type MarketingMaterialImageUploadRsp struct { Response *MarketingMaterialImageUpload `json:"alipay_marketing_material_image_upload_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MemberDataIsvCreate ¶
type MemberDataIsvCreate struct {
ErrorResponse
}
type MemberDataIsvCreateRsp ¶
type MemberDataIsvCreateRsp struct { Response *MemberDataIsvCreate `json:"koubei_member_data_isv_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type MerchantItemFileUpload ¶
type MerchantItemFileUpload struct { ErrorResponse MaterialId string `json:"material_id"` // 文件在商品中心的素材标识(素材ID长期有效) MaterialKey string `json:"material_key"` // 文件在商品中心的素材标示,创建/更新商品时使用 }
type MerchantItemFileUploadRsp ¶
type MerchantItemFileUploadRsp struct { Response *MerchantItemFileUpload `json:"alipay_merchant_item_file_upload_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type MonitorHeartbeatSynRes ¶
type MonitorHeartbeatSynRes struct { ErrorResponse Pid string `json:"pid"` }
type MonitorHeartbeatSynResponse ¶
type MonitorHeartbeatSynResponse struct { Response *MonitorHeartbeatSynRes `json:"monitor_heartbeat_syn_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
func MonitorHeartbeatSyn ¶
func MonitorHeartbeatSyn(ctx context.Context, appId string, privateKey, signType, bizContent string) (aliRsp *MonitorHeartbeatSynResponse, err error)
monitor.heartbeat.syn(验签接口) appId:应用ID privateKey:应用私钥,支持PKCS1和PKCS8 signType:签名方式 alipay.RSA 或 alipay.RSA2,默认 RSA2 bizContent:验签时该参数不做任何处理,{任意值},此参数具体看文档 文档:https://opendocs.alipay.com/apis/api_9/monitor.heartbeat.syn
type NotifyRequest ¶
type NotifyRequest struct { NotifyTime string `json:"notify_time,omitempty"` NotifyType string `json:"notify_type,omitempty"` NotifyId string `json:"notify_id,omitempty"` AppId string `json:"app_id,omitempty"` Charset string `json:"charset,omitempty"` Version string `json:"version,omitempty"` SignType string `json:"sign_type,omitempty"` Sign string `json:"sign,omitempty"` AuthAppId string `json:"auth_app_id,omitempty"` TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` OutBizNo string `json:"out_biz_no,omitempty"` BuyerId string `json:"buyer_id,omitempty"` BuyerLogonId string `json:"buyer_logon_id,omitempty"` SellerId string `json:"seller_id,omitempty"` SellerEmail string `json:"seller_email,omitempty"` TradeStatus string `json:"trade_status,omitempty"` TotalAmount string `json:"total_amount,omitempty"` ReceiptAmount string `json:"receipt_amount,omitempty"` InvoiceAmount string `json:"invoice_amount,omitempty"` BuyerPayAmount string `json:"buyer_pay_amount,omitempty"` PointAmount string `json:"point_amount,omitempty"` RefundFee string `json:"refund_fee,omitempty"` Subject string `json:"subject,omitempty"` Body string `json:"body,omitempty"` GmtCreate string `json:"gmt_create,omitempty"` GmtPayment string `json:"gmt_payment,omitempty"` GmtRefund string `json:"gmt_refund,omitempty"` GmtClose string `json:"gmt_close,omitempty"` FundBillList []*FundBillListInfo `json:"fund_bill_list,omitempty"` PassbackParams string `json:"passback_params,omitempty"` VoucherDetailList []*NotifyVoucherDetail `json:"voucher_detail_list,omitempty"` Method string `json:"method,omitempty"` // 电脑网站支付 支付宝请求 return_url 同步返回参数 Timestamp string `json:"timestamp,omitempty"` // 电脑网站支付 支付宝请求 return_url 同步返回参数 }
func ParseNotifyResult ¶
func ParseNotifyResult(req *http.Request) (notifyReq *NotifyRequest, err error)
Deprecated 推荐使用 ParseNotifyToBodyMap(),以防阿里云通知参数变动,NotifyRequest 无法解析。 解析支付宝支付异步通知的参数到Struct req:*http.Request 返回参数notifyReq:Notify请求的参数 返回参数err:错误信息 文档:https://opendocs.alipay.com/open/203/105286
type NotifyVoucherDetail ¶
type NotifyVoucherDetail struct { VoucherId string `json:"voucherId,omitempty"` TemplateId string `json:"template_id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Amount string `json:"amount,omitempty"` MerchantContribute string `json:"merchantContribute,omitempty"` OtherContribute string `json:"otherContribute,omitempty"` OtherContributeDetail []*ContributeDetail `json:"otherContributeDetail,omitempty"` Memo string `json:"memo,omitempty"` Id string `json:"id,omitempty"` PurchaseBuyerContribute string `json:"purchase_buyer_contribute,omitempty"` PurchaseMerchantContribute string `json:"purchase_merchant_contribute,omitempty"` PurchaseAntContribute string `json:"purchase_ant_contribute,omitempty"` }
type OauthTokenInfo ¶
type OauthTokenInfo struct { UserId string `json:"user_id,omitempty"` OpenId string `json:"open_id,omitempty"` AlipayUserId string `json:"alipay_user_id,omitempty"` UnionId string `json:"union_id,omitempty"` AccessToken string `json:"access_token,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` ReExpiresIn int `json:"re_expires_in,omitempty"` AuthStart string `json:"auth_start,omitempty"` AuthTokenType string `json:"auth_token_type,omitempty"` }
type OpenAppApiQuery ¶
type OpenAppApiQuery struct { ErrorResponse Apis []*Apis `json:"apis"` }
type OpenAppApiQueryResponse ¶
type OpenAppApiQueryResponse struct { Response *OpenAppApiQuery `json:"alipay_open_app_api_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type OpenAppQrcodeCreate ¶
type OpenAppQrcodeCreate struct { ErrorResponse QrCodeUrl string `json:"qr_code_url"` }
type OpenAppQrcodeCreateRsp ¶
type OpenAppQrcodeCreateRsp struct { Response *OpenAppQrcodeCreate `json:"alipay_open_app_qrcode_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type OpenAuthTokenAppInviteCreate ¶
type OpenAuthTokenAppInviteCreate struct { ErrorResponse TaskPageUrl string `json:"task_page_url,omitempty"` }
type OpenAuthTokenAppInviteCreateResponse ¶
type OpenAuthTokenAppInviteCreateResponse struct { Response *OpenAuthTokenAppInviteCreate `json:"alipay_open_auth_appauth_invite_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type OpenAuthTokenAppQueryResponse ¶
type OpenAuthTokenAppQueryResponse struct { Response *AuthTokenAppQuery `json:"alipay_open_auth_token_app_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type OpenAuthTokenAppResponse ¶
type OpenAuthTokenAppResponse struct { Response *AuthTokenApp `json:"alipay_open_auth_token_app_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type PaymentTradeOrderCreate ¶
type PaymentTradeOrderCreate struct {
ErrorResponse
}
type PaymentTradeOrderCreateRsp ¶
type PaymentTradeOrderCreateRsp struct { Response *PaymentTradeOrderCreate `json:"mybank_payment_trade_order_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type PcreditHuabeiAuthSettleApply ¶
type PcreditHuabeiAuthSettleApply struct { ErrorResponse OutRequestNo string `json:"out_request_no"` FailReason string `json:"fail_reason,omitempty"` }
type PcreditHuabeiAuthSettleApplyRsp ¶
type PcreditHuabeiAuthSettleApplyRsp struct { Response *PcreditHuabeiAuthSettleApply `json:"alipay_pcredit_huabei_auth_settle_apply_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type PublicCertDownload ¶
type PublicCertDownload struct { ErrorResponse AlipayCertContent string `json:"alipay_cert_content"` }
type PublicCertDownloadRsp ¶
type PublicCertDownloadRsp struct {
Response *PublicCertDownload `json:"alipay_open_app_alipaycert_download_response"`
}
===================================================
type RefundPresetPaytool ¶
type RefundRoyalty ¶
type RefundRoyalty struct { RefundAmount string `json:"refund_amount,omitempty"` RoyaltyType string `json:"royalty_type,omitempty"` ResultCode string `json:"result_code,omitempty"` TransOut string `json:"trans_out,omitempty"` TransOutEmail string `json:"trans_out_email,omitempty"` TransIn string `json:"trans_in,omitempty"` TransInEmail string `json:"trans_in_email,omitempty"` }
type RoyaltyDetail ¶
type RoyaltyDetail struct { OperationType string `json:"operation_type"` ExecuteDt string `json:"execute_dt"` TransOut string `json:"trans_out"` TransOutType string `json:"trans_out_type"` TransOutOpenId string `json:"trans_out_open_id"` TransIn string `json:"trans_in"` TransInType string `json:"trans_in_type"` TransInOpenId string `json:"trans_in_open_id"` Amount string `json:"amount"` State string `json:"state"` DetailId string `json:"detail_id"` ErrorCode string `json:"error_code"` ErrorDesc string `json:"error_desc"` }
type RoyaltyDetailInfoPojo ¶
type RoyaltyDetailInfoPojo struct { RoyaltyType string `json:"royalty_type,omitempty"` TransOut string `json:"trans_out,omitempty"` TransOutType string `json:"trans_out_type,omitempty"` TransInType string `json:"trans_in_type,omitempty"` TransIn string `json:"trans_in"` Amount string `json:"amount,omitempty"` Desc string `json:"desc,omitempty"` }
type ScoreGet ¶
type ScoreGet struct { ErrorResponse BizNo string `json:"biz_no,omitempty"` ZmScore string `json:"zm_score,omitempty"` }
type SystemOauthTokenResponse ¶
type SystemOauthTokenResponse struct { Response *OauthTokenInfo `json:"alipay_system_oauth_token_response"` ErrorResponse *ErrorResponse `json:"error_response,omitempty"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
func SystemOauthToken ¶
func SystemOauthToken(ctx context.Context, appId string, privateKey, grantType, codeOrToken, signType string, appAuthToken ...string) (rsp *SystemOauthTokenResponse, err error)
SystemOauthToken 换取授权访问令牌(默认使用utf-8,RSA2) appId:应用ID privateKey:应用私钥 grantType:值为 authorization_code 时,代表用code换取;值为 refresh_token 时,代表用refresh_token换取,传空默认code换取 codeOrToken:支付宝授权码或refresh_token signType:签名方式 RSA 或 RSA2,默认 RSA2 appAuthToken:可选参数,三方授权令牌 文档:https://opendocs.alipay.com/apis/api_9/alipay.system.oauth.token
type TicketTransInfo ¶
type Token ¶
type Token struct { AuthAppId string `json:"auth_app_id,omitempty"` AppAuthToken string `json:"app_auth_token,omitempty"` ExpiresIn int `json:"expires_in,omitempty"` AppRefreshToken string `json:"app_refresh_token,omitempty"` ReExpiresIn int `json:"re_expires_in,omitempty"` UserId string `json:"user_id,omitempty"` }
type TradeAdvanceConsult ¶
type TradeAdvanceConsult struct { ErrorResponse ReferResult bool `json:"refer_result"` WaitRepaymentOrderInfos []*WaitRepaymentOrderInfo `json:"wait_repayment_order_infos,omitempty"` WaitRepaymentAmount string `json:"wait_repayment_amount,omitempty"` WaitRepaymentOrderCount string `json:"wait_repayment_order_count,omitempty"` RiskLevel string `json:"risk_level,omitempty"` ResultMessage string `json:"result_message"` ResultCode string `json:"result_code"` }
type TradeAdvanceConsultRsp ¶
type TradeAdvanceConsultRsp struct { Response *TradeAdvanceConsult `json:"alipay_trade_advance_consult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeCancel ¶
type TradeCancel struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` RetryFlag string `json:"retry_flag,omitempty"` Action string `json:"action,omitempty"` GmtRefundPay string `json:"gmt_refund_pay,omitempty"` RefundSettlementId string `json:"refund_settlement_id,omitempty"` }
type TradeCancelResponse ¶
type TradeCancelResponse struct { Response *TradeCancel `json:"alipay_trade_cancel_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeClose ¶
type TradeClose struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` }
type TradeCloseResponse ¶
type TradeCloseResponse struct { Response *TradeClose `json:"alipay_trade_close_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeCreate ¶
type TradeCreate struct { ErrorResponse TradeNo string `json:"trade_no"` OutTradeNo string `json:"out_trade_no"` }
type TradeCreateResponse ¶
type TradeCreateResponse struct { Response *TradeCreate `json:"alipay_trade_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeCustomsDeclare ¶
type TradeCustomsDeclare struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` AlipayDeclareNo string `json:"alipay_declare_no"` PayCode string `json:"pay_code,omitempty"` PayTransactionId string `json:"pay_transaction_id,omitempty"` TotalAmount string `json:"total_amount,omitempty"` Currency string `json:"currency,omitempty"` VerDept string `json:"ver_dept,omitempty"` IdentityCheck string `json:"identity_check,omitempty"` }
type TradeCustomsDeclareRsp ¶
type TradeCustomsDeclareRsp struct { Response *TradeCustomsDeclare `json:"alipay_trade_customs_declare_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeFastpayRefundQueryResponse ¶
type TradeFastpayRefundQueryResponse struct { Response *TradeRefundQuery `json:"alipay_trade_fastpay_refund_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeFundBill ¶
type TradeItemorderBuy ¶
type TradeItemorderBuy struct { ErrorResponse OrderNo string `json:"order_no"` TradeNo string `json:"trade_no"` CashierOrderId string `json:"cashier_order_id,omitempty"` }
type TradeOrderInfoSync ¶
type TradeOrderInfoSync struct { ErrorResponse TradeNo string `json:"trade_no"` OutTradeNo string `json:"out_trade_no"` BuyerUserId string `json:"buyer_user_id"` BuyerOpenId string `json:"buyer_open_id,omitempty"` }
type TradeOrderInfoSyncRsp ¶
type TradeOrderInfoSyncRsp struct { Response *TradeOrderInfoSync `json:"alipay_trade_orderinfo_sync_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeOrderOnSettleQuery ¶
type TradeOrderOnSettleQuery struct { ErrorResponse UnsettledAmount string `json:"unsettled_amount,omitempty"` }
type TradeOrderOnSettleQueryResponse ¶
type TradeOrderOnSettleQueryResponse struct { Response *TradeOrderOnSettleQuery `json:"alipay_trade_order_onsettle_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeOrderPay ¶
type TradeOrderPay struct { ErrorResponse TradeNo string `json:"trade_no"` OutTradeNo string `json:"out_trade_no"` FulfillmentAmount string `json:"fulfillment_amount"` OutRequestNo string `json:"out_request_no"` TotalAmount string `json:"total_amount"` GmtPayment string `json:"gmt_payment"` AsyncPaymentMode string `json:"async_payment_mode"` }
type TradeOrderPayResponse ¶
type TradeOrderPayResponse struct { Response *TradeOrderPay `json:"alipay_trade_order_pay_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeOrderSettle ¶
type TradeOrderSettle struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` }
type TradeOrderSettleQuery ¶
type TradeOrderSettleQuery struct { ErrorResponse OutTradeNo string `json:"out_request_no"` OperationDt string `json:"operation_dt"` RoyaltyDetailList []*RoyaltyDetail `json:"royalty_detail_list"` }
type TradeOrderSettleQueryResponse ¶
type TradeOrderSettleQueryResponse struct { Response *TradeOrderSettleQuery `json:"alipay_trade_order_settle_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeOrderSettleResponse ¶
type TradeOrderSettleResponse struct { Response *TradeOrderSettle `json:"alipay_trade_order_settle_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradePageRefund ¶
type TradePageRefund struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` RefundAmount string `json:"refund_amount,omitempty"` }
type TradePageRefundResponse ¶
type TradePageRefundResponse struct { Response *TradePageRefund `json:"alipay_trade_page_refund_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradePay ¶
type TradePay struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` BuyerLogonId string `json:"buyer_logon_id,omitempty"` TotalAmount string `json:"total_amount,omitempty"` ReceiptAmount string `json:"receipt_amount,omitempty"` BuyerPayAmount string `json:"buyer_pay_amount,omitempty"` PointAmount string `json:"point_amount,omitempty"` InvoiceAmount string `json:"invoice_amount,omitempty"` FundBillList []*TradeFundBill `json:"fund_bill_list"` StoreName string `json:"store_name,omitempty"` BuyerUserId string `json:"buyer_user_id,omitempty"` BuyerOpenId string `json:"buyer_open_id,omitempty"` DiscountGoodsDetail string `json:"discount_goods_detail,omitempty"` AsyncPaymentMode string `json:"async_payment_mode,omitempty"` VoucherDetailList []*VoucherDetail `json:"voucher_detail_list"` AdvanceAmount string `json:"advance_amount,omitempty"` AuthTradePayMode string `json:"auth_trade_pay_mode,omitempty"` MdiscountAmount string `json:"mdiscount_amount,omitempty"` DiscountAmount string `json:"discount_amount,omitempty"` CreditPayMode string `json:"credit_pay_mode"` CreditBizOrderId string `json:"credit_biz_order_id"` }
type TradePayResponse ¶
type TradePrecreate ¶
type TradePrecreate struct { ErrorResponse OutTradeNo string `json:"out_trade_no,omitempty"` QrCode string `json:"qr_code,omitempty"` }
type TradePrecreateResponse ¶
type TradePrecreateResponse struct { Response *TradePrecreate `json:"alipay_trade_precreate_response"` NullResponse *ErrorResponse `json:"null_response,omitempty"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeQuery ¶
type TradeQuery struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` BuyerLogonId string `json:"buyer_logon_id,omitempty"` TradeStatus string `json:"trade_status,omitempty"` TotalAmount string `json:"total_amount,omitempty"` TransCurrency string `json:"trans_currency,omitempty"` SettleCurrency string `json:"settle_currency,omitempty"` SettleAmount string `json:"settle_amount,omitempty"` PayCurrency string `json:"pay_currency,omitempty"` PayAmount string `json:"pay_amount,omitempty"` SettleTransRate string `json:"settle_trans_rate,omitempty"` TransPayRate string `json:"trans_pay_rate,omitempty"` BuyerPayAmount string `json:"buyer_pay_amount,omitempty"` PointAmount string `json:"point_amount,omitempty"` InvoiceAmount string `json:"invoice_amount,omitempty"` SendPayDate string `json:"send_pay_date,omitempty"` ReceiptAmount string `json:"receipt_amount,omitempty"` StoreId string `json:"store_id,omitempty"` TerminalId string `json:"terminal_id,omitempty"` FundBillList []*TradeFundBill `json:"fund_bill_list"` StoreName string `json:"store_name,omitempty"` BuyerUserId string `json:"buyer_user_id,omitempty"` BuyerOpenId string `json:"buyer_open_id,omitempty"` DiscountGoodsDetail string `json:"discount_goods_detail,omitempty"` IndustrySepcDetail string `json:"industry_sepc_detail,omitempty"` IndustrySepcDetailGov string `json:"industry_sepc_detail_gov,omitempty"` IndustrySepcDetailAcc string `json:"industry_sepc_detail_acc,omitempty"` ChargeAmount string `json:"charge_amount,omitempty"` ChargeFlags string `json:"charge_flags,omitempty"` SettlementId string `json:"settlement_id,omitempty"` TradeSettleInfo *TradeSettleInfo `json:"trade_settle_info,omitempty"` AuthTradePayMode string `json:"auth_trade_pay_mode,omitempty"` BuyerUserType string `json:"buyer_user_type,omitempty"` MdiscountAmount string `json:"mdiscount_amount,omitempty"` DiscountAmount string `json:"discount_amount,omitempty"` Subject string `json:"subject,omitempty"` Body string `json:"body,omitempty"` AlipaySubMerchantId string `json:"alipay_sub_merchant_id,omitempty"` ExtInfos string `json:"ext_infos,omitempty"` PassbackParams string `json:"passback_params,omitempty"` HbFqPayInfo *HbFqPayInfo `json:"hb_fq_pay_info,omitempty"` CreditPayMode string `json:"credit_pay_mode,omitempty"` CreditBizOrderId string `json:"credit_biz_order_id,omitempty"` HybAmount string `json:"hyb_amount,omitempty"` BkagentRespInfo *BkAgentRespInfo `json:"bkagent_resp_info,omitempty"` ChargeInfoList []*ChargeInfo `json:"charge_info_list,omitempty"` BizSettleMode string `json:"biz_settle_mode,omitempty"` }
type TradeQueryResponse ¶
type TradeQueryResponse struct { Response *TradeQuery `json:"alipay_trade_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRefund ¶
type TradeRefund struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` BuyerLogonId string `json:"buyer_logon_id,omitempty"` FundChange string `json:"fund_change,omitempty"` RefundFee string `json:"refund_fee,omitempty"` RefundDetailItemList []*TradeFundBill `json:"refund_detail_item_list,omitempty"` StoreName string `json:"store_name,omitempty"` BuyerUserId string `json:"buyer_user_id,omitempty"` BuyerOpenId string `json:"buyer_open_id,omitempty"` SendBackFee string `json:"send_back_fee,omitempty"` OpenId string `json:"open_id,omitempty"` RefundCurrency string `json:"refund_currency,omitempty"` GmtRefundPay string `json:"gmt_refund_pay,omitempty"` RefundPresetPaytoolList []*RefundPresetPaytool `json:"refund_preset_paytool_list,omitempty"` RefundChargeAmount string `json:"refund_charge_amount,omitempty"` RefundSettlementId string `json:"refund_settlement_id,omitempty"` PresentRefundBuyerAmount string `json:"present_refund_buyer_amount,omitempty"` PresentRefundDiscountAmount string `json:"present_refund_discount_amount,omitempty"` PresentRefundMdiscountAmount string `json:"present_refund_mdiscount_amount,omitempty"` HasDepositBack string `json:"has_deposit_back,omitempty"` RefundHybAmount string `json:"refund_hyb_amount,omitempty"` }
type TradeRefundQuery ¶
type TradeRefundQuery struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` OutRequestNo string `json:"out_request_no,omitempty"` RefundReason string `json:"refund_reason,omitempty"` TotalAmount string `json:"total_amount,omitempty"` RefundAmount string `json:"refund_amount,omitempty"` RefundStatus string `json:"refund_status,omitempty"` RefundRoyaltys []*RefundRoyalty `json:"refund_royaltys,omitempty"` GmtRefundPay string `json:"gmt_refund_pay,omitempty"` RefundDetailItemList []*TradeFundBill `json:"refund_detail_item_list,omitempty"` SendBackFee string `json:"send_back_fee,omitempty"` DepositBackInfo *DepositBackInfo `json:"deposit_back_info,omitempty"` }
type TradeRefundResponse ¶
type TradeRefundResponse struct { Response *TradeRefund `json:"alipay_trade_refund_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRelationBatchQuery ¶
type TradeRelationBatchQuery struct { ErrorResponse ResultCode string `json:"result_code"` ReceiverList []*Receiver `json:"receiver_list"` TotalPageNum int `json:"total_page_num"` TotalRecordNum int `json:"total_record_num"` CurrentPageNum int `json:"current_page_num"` CurrentPageSize int `json:"current_page_size"` }
type TradeRelationBatchQueryResponse ¶
type TradeRelationBatchQueryResponse struct { Response *TradeRelationBatchQuery `json:"alipay_trade_order_settle_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRelationBind ¶
type TradeRelationBind struct { ErrorResponse ResultCode string `json:"result_code"` }
type TradeRelationBindResponse ¶
type TradeRelationBindResponse struct { Response *TradeRelationBind `json:"alipay_trade_royalty_relation_bind_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRelationUnbindResponse ¶
type TradeRelationUnbindResponse struct { Response *TradeRelationBind `json:"alipay_trade_royalty_relation_unbind_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRepaybillQuery ¶
type TradeRepaybillQuery struct { ErrorResponse BillNo string `json:"bill_no"` BillAmount string `json:"bill_amount"` BillOverdueAmount string `json:"bill_overdue_amount"` BillPaidAmount string `json:"bill_paid_amount"` BillPaidRevokedAmount string `json:"bill_paid_revoked_amount"` BillRevokedAmount string `json:"bill_revoked_amount"` BillStatus string `json:"bill_status"` }
type TradeRepaybillQueryRsp ¶
type TradeRepaybillQueryRsp struct { Response *TradeRepaybillQuery `json:"alipay_trade_repaybill_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeRoyaltyRateQuery ¶
type TradeRoyaltyRateQuery struct { ErrorResponse UserId string `json:"user_id,omitempty"` MaxRatio string `json:"max_ratio,omitempty"` }
type TradeRoyaltyRateQueryResponse ¶
type TradeRoyaltyRateQueryResponse struct { Response *TradeRoyaltyRateQuery `json:"alipay_trade_royalty_rate_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeSettleConfirmResponse ¶
type TradeSettleConfirmResponse struct { Response *TradeOrderSettle `json:"alipay_trade_settle_confirm_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type TradeSettleDetail ¶
type TradeSettleDetail struct { OperationType string `json:"operation_type,omitempty"` OperationSerialNo string `json:"operation_serial_no,omitempty"` OperationDt string `json:"operation_dt,omitempty"` TransOut string `json:"trans_out,omitempty"` TransIn string `json:"trans_in,omitempty"` Amount string `json:"amount,omitempty"` OriTransOut string `json:"ori_trans_out,omitempty"` OriTransIn string `json:"ori_trans_in,omitempty"` }
type TradeSettleInfo ¶
type TradeSettleInfo struct {
TradeSettleDetailList []*TradeSettleDetail `json:"trade_settle_detail_list,omitempty"`
}
type TransUniTransfer ¶
type UidTelPair ¶
type UserAgreementExecutionplanModify ¶
type UserAgreementExecutionplanModify struct { ErrorResponse AgreementNo string `json:"agreement_no"` DeductTime string `json:"deduct_time"` }
type UserAgreementExecutionplanModifyRsp ¶
type UserAgreementExecutionplanModifyRsp struct { Response *UserAgreementExecutionplanModify `json:"alipay_user_agreement_executionplan_modify_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAgreementPageSign ¶
type UserAgreementPageSign struct { ErrorResponse ExternalAgreementNo string `json:"external_agreement_no,omitempty"` PersonalProductCode string `json:"personal_product_code"` ValidTime string `json:"valid_time"` SignScene string `json:"sign_scene"` AgreementNo string `json:"agreement_no"` ZmOpenId string `json:"zm_open_id,omitempty"` InvalidTime string `json:"invalid_time"` SignTime string `json:"sign_time"` AlipayUserId string `json:"alipay_user_id"` Status string `json:"status"` ForexEligible string `json:"forex_eligible,omitempty"` ExternalLogonId string `json:"external_logon_id,omitempty"` AlipayLogonId string `json:"alipay_logon_id"` CreditAuthMode string `json:"credit_auth_mode,omitempty"` }
type UserAgreementPageSignRsp ¶
type UserAgreementPageSignRsp struct { Response *UserAgreementPageSign `json:"alipay_user_agreement_page_sign_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type UserAgreementPageUnSignRsp ¶
type UserAgreementPageUnSignRsp struct { Response *ErrorResponse `json:"alipay_user_agreement_unsign_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAgreementQuery ¶
type UserAgreementQuery struct { ErrorResponse PrincipalId string `json:"principal_id"` PrincipalOpenId string `json:"principal_open_id,omitempty"` ValidTime string `json:"valid_time"` AlipayLogonId string `json:"alipay_logon_id"` InvalidTime string `json:"invalid_time"` PricipalType string `json:"pricipal_type"` DeviceId string `json:"device_id,omitempty"` SignScene string `json:"sign_scene"` AgreementNo string `json:"agreement_no"` ThirdPartyType string `json:"third_party_type"` Status string `json:"status"` SignTime string `json:"sign_time"` PersonalProductCode string `json:"personal_product_code"` ExternalAgreementNo string `json:"external_agreement_no,omitempty"` ZmOpenId string `json:"zm_open_id,omitempty"` ExternalLogonId string `json:"external_logon_id,omitempty"` CreditAuthMode string `json:"credit_auth_mode,omitempty"` SingleQuota string `json:"single_quota,omitempty"` LastDeductTime string `json:"last_deduct_time,omitempty"` NextDeductTime string `json:"next_deduct_time,omitempty"` }
type UserAgreementQueryRsp ¶
type UserAgreementQueryRsp struct { Response *UserAgreementQuery `json:"alipay_user_agreement_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAgreementTransfer ¶
type UserAgreementTransfer struct { ErrorResponse ExecuteTime string `json:"execute_time,omitempty"` PeriodType string `json:"period_type,omitempty"` Amount string `json:"amount,omitempty"` TotalAmount string `json:"total_amount,omitempty"` TotalPayments string `json:"total_payments,omitempty"` Period string `json:"period,omitempty"` }
type UserAgreementTransferRsp ¶
type UserAgreementTransferRsp struct { Response *UserAgreementTransfer `json:"alipay_user_agreement_transfer_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAlipaypointBudgetlibQuery ¶
type UserAlipaypointBudgetlibQuery struct { ErrorResponse BudgetCode string `json:"budget_code"` BudgetDesc string `json:"budget_desc"` Enabled bool `json:"enabled"` CumulativeAmount int64 `json:"cumulative_amount"` RemainAmount int64 `json:"remain_amount"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
type UserAlipaypointBudgetlibQueryRsp ¶
type UserAlipaypointBudgetlibQueryRsp struct { Response *UserAlipaypointBudgetlibQuery `json:"alipay_user_alipaypoint_budgetlib_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAlipaypointSend ¶
type UserAlipaypointSend struct { ErrorResponse RecordId string `json:"record_id"` }
type UserAlipaypointSendRsp ¶
type UserAlipaypointSendRsp struct { Response *UserAlipaypointSend `json:"alipay_user_alipaypoint_send_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserAuthZhimaorgIdentityApply ¶
type UserAuthZhimaorgIdentityApply struct { ErrorResponse AccessToken string `json:"access_token"` AuthTokenType string `json:"auth_token_type,omitempty"` RefreshToken string `json:"refresh_token"` }
type UserAuthZhimaorgIdentityApplyRsp ¶
type UserAuthZhimaorgIdentityApplyRsp struct { Response *UserAuthZhimaorgIdentityApply `json:"alipay_user_auth_zhimaorg_identity_apply_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserCertdocCertverifyConsult ¶
type UserCertdocCertverifyConsult struct { ErrorResponse Passed string `json:"passed"` FailReason string `json:"fail_reason,omitempty"` FailParams string `json:"fail_params,omitempty"` }
type UserCertdocCertverifyConsultRsp ¶
type UserCertdocCertverifyConsultRsp struct { Response *UserCertdocCertverifyConsult `json:"alipay_user_certdoc_certverify_consult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserCertdocCertverifyPreconsult ¶
type UserCertdocCertverifyPreconsult struct { ErrorResponse VerifyId string `json:"verify_id"` }
type UserCertdocCertverifyPreconsultRsp ¶
type UserCertdocCertverifyPreconsultRsp struct { Response *UserCertdocCertverifyPreconsult `json:"alipay_user_certdoc_certverify_preconsult_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserCertifyOpenInit ¶
type UserCertifyOpenInit struct { ErrorResponse CertifyId string `json:"certify_id,omitempty"` }
type UserCertifyOpenInitResponse ¶
type UserCertifyOpenInitResponse struct { Response *UserCertifyOpenInit `json:"alipay_user_certify_open_initialize_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserCertifyOpenQuery ¶
type UserCertifyOpenQuery struct { ErrorResponse Passed string `json:"passed,omitempty"` IdentityInfo string `json:"identity_info,omitempty"` MaterialInfo string `json:"material_info,omitempty"` }
type UserCertifyOpenQueryResponse ¶
type UserCertifyOpenQueryResponse struct { Response *UserCertifyOpenQuery `json:"alipay_user_certify_open_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserCharityRecordexistQuery ¶
type UserCharityRecordexistQuery struct { ErrorResponse DonationTag string `json:"donation_tag"` }
type UserCharityRecordexistQueryRsp ¶
type UserCharityRecordexistQueryRsp struct { Response *UserCharityRecordexistQuery `json:"alipay_user_charity_recordexist_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserDtbankQrcodedataQuery ¶
type UserDtbankQrcodedataQuery struct { ErrorResponse DataDate string `json:"data_date,omitempty"` QrcodeId string `json:"qrcode_id,omitempty"` QrcodeOutId string `json:"qrcode_out_id,omitempty"` BindCard string `json:"bind_card,omitempty"` SendVoucherCnt string `json:"send_voucher_cnt,omitempty"` SendVoucherAmt string `json:"send_voucher_amt,omitempty"` WriteOffVoucherCnt string `json:"write_off_voucher_cnt,omitempty"` WriteOffVoucherAmt string `json:"write_off_voucher_amt,omitempty"` LeadToFollow string `json:"lead_to_follow,omitempty"` }
type UserDtbankQrcodedataQueryRsp ¶
type UserDtbankQrcodedataQueryRsp struct { Response *UserDtbankQrcodedataQuery `json:"alipay_user_dtbank_qrcodedata_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserFamilyArchiveInitialize ¶
type UserFamilyArchiveInitialize struct { ErrorResponse ArchivePluginUrl string `json:"archive_plugin_url"` }
type UserFamilyArchiveInitializeRsp ¶
type UserFamilyArchiveInitializeRsp struct { Response *UserFamilyArchiveInitialize `json:"alipay_user_family_archive_initialize_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserFamilyArchiveQuery ¶
type UserFamilyArchiveQuery struct { ErrorResponse ArchiveList []*FamilyArchiveDetail `json:"archive_list"` }
type UserFamilyArchiveQueryRsp ¶
type UserFamilyArchiveQueryRsp struct { Response *UserFamilyArchiveQuery `json:"alipay_user_family_archive_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type UserFamilyShareZmgoInitialize ¶
type UserFamilyShareZmgoInitialize struct {}
type UserFamilyShareZmgoInitializeRsp ¶
type UserFamilyShareZmgoInitializeRsp struct {}
type UserIdentityInfo ¶
type UserIdentityInfo struct {
HSchoolInfo []*HSchoolInfo `json:"h_school_info,omitempty"`
}
type UserInfoAuthResponse ¶
type UserInfoAuthResponse struct { Response *ErrorResponse `json:"alipay_user_info_auth_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type UserInfoShare ¶
type UserInfoShare struct {}
type UserInfoShareResponse ¶
type UserInfoShareResponse struct {}
type UserPhone ¶
type UserPhone struct { ErrorResponse Mobile string `json:"mobile,omitempty"` }
type UserTwostageCommonUse ¶
type UserTwostageCommonUse struct { ErrorResponse UserId string `json:"user_id,omitempty"` OpenId string `json:"open_id,omitempty"` UserIdentityInfo []*UserIdentityInfo `json:"user_identity_info,omitempty"` }
type UserTwostageCommonUseRsp ¶
type UserTwostageCommonUseRsp struct { Response *UserTwostageCommonUse `json:"alipay_user_twostage_common_use_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type VoucherDetail ¶
type VoucherDetail struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Amount string `json:"amount,omitempty"` MerchantContribute string `json:"merchant_contribute,omitempty"` OtherContribute string `json:"other_contribute,omitempty"` Memo string `json:"memo,omitempty"` TemplateId string `json:"template_id,omitempty"` PurchaseBuyerContribute string `json:"purchase_buyer_contribute,omitempty"` PurchaseMerchantContribute string `json:"purchase_merchant_contribute,omitempty"` PurchaseAntContribute string `json:"purchase_ant_contribute,omitempty"` }
type WaitRepaymentOrderInfo ¶
type ZhimaCreditEpSceneAgreementCancel ¶
type ZhimaCreditEpSceneAgreementCancel struct { ErrorResponse CreditOrderNo string `json:"credit_order_no"` }
type ZhimaCreditEpSceneAgreementCancelRsp ¶
type ZhimaCreditEpSceneAgreementCancelRsp struct { Response *ZhimaCreditEpSceneAgreementCancel `json:"zhima_credit_ep_scene_agreement_cancel_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditEpSceneAgreementUse ¶
type ZhimaCreditEpSceneAgreementUse struct { ErrorResponse CreditOrderNo string `json:"credit_order_no"` }
type ZhimaCreditEpSceneAgreementUseRsp ¶
type ZhimaCreditEpSceneAgreementUseRsp struct { Response *ZhimaCreditEpSceneAgreementUse `json:"zhima_credit_ep_scene_agreement_use_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditEpSceneFulfillmentSync ¶
type ZhimaCreditEpSceneFulfillmentSync struct { ErrorResponse FulfillmentOrderNo string `json:"fulfillment_order_no"` }
type ZhimaCreditEpSceneFulfillmentSyncRsp ¶
type ZhimaCreditEpSceneFulfillmentSyncRsp struct { Response *ZhimaCreditEpSceneFulfillmentSync `json:"zhima_credit_ep_scene_fulfillment_sync_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditEpSceneFulfillmentlistSync ¶
type ZhimaCreditEpSceneFulfillmentlistSync struct { ErrorResponse FulfillmentResultList []*FulfillmentResult `json:"fulfillment_result_list"` }
type ZhimaCreditEpSceneFulfillmentlistSyncRsp ¶
type ZhimaCreditEpSceneFulfillmentlistSyncRsp struct { Response *ZhimaCreditEpSceneFulfillmentlistSync `json:"zhima_credit_ep_scene_fulfillmentlist_sync_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditEpSceneRatingInitialize ¶
type ZhimaCreditEpSceneRatingInitialize struct { ErrorResponse OrderNo string `json:"order_no"` }
type ZhimaCreditEpSceneRatingInitializeRsp ¶
type ZhimaCreditEpSceneRatingInitializeRsp struct { Response *ZhimaCreditEpSceneRatingInitialize `json:"zhima_credit_ep_scene_rating_initialize_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoAgreementQueryRsp ¶
type ZhimaCreditPeZmgoAgreementQueryRsp struct { Response *ZhimaCreditPeZmgoAgreementQuery `json:"zhima_credit_pe_zmgo_agreement_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoAgreementUnsign ¶
type ZhimaCreditPeZmgoAgreementUnsign struct { ErrorResponse AgreementId string `json:"agreement_id"` WithholdPlanNo string `json:"withhold_plan_no"` }
type ZhimaCreditPeZmgoAgreementUnsignRsp ¶
type ZhimaCreditPeZmgoAgreementUnsignRsp struct { Response *ZhimaCreditPeZmgoAgreementUnsign `json:"zhima_credit_pe_zmgo_agreement_unsign_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoBizoptCloseRsp ¶
type ZhimaCreditPeZmgoBizoptCloseRsp struct { Response *ZhimaCreditPeZmgoBizoptClose `json:"zhima_credit_pe_zmgo_bizopt_close_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoCumulationSyncRsp ¶
type ZhimaCreditPeZmgoCumulationSyncRsp struct { Response *ZhimaCreditPeZmgoCumulationSync `json:"zhima_credit_pe_zmgo_cumulation_sync_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoPaysignApply ¶
type ZhimaCreditPeZmgoPaysignApply struct { ErrorResponse BizType string `json:"biz_type"` ZmgoOptNo string `json:"zmgo_opt_no,omitempty"` Idempotent bool `json:"idempotent,omitempty"` AgreementId string `json:"agreement_id,omitempty"` }
type ZhimaCreditPeZmgoPaysignApplyRsp ¶
type ZhimaCreditPeZmgoPaysignApplyRsp struct { Response *ZhimaCreditPeZmgoPaysignApply `json:"zhima_credit_pe_zmgo_paysign_apply_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoPaysignConfirm ¶
type ZhimaCreditPeZmgoPaysignConfirm struct { ErrorResponse AgreementId string `json:"agreement_id,omitempty"` }
type ZhimaCreditPeZmgoPaysignConfirmRsp ¶
type ZhimaCreditPeZmgoPaysignConfirmRsp struct { Response *ZhimaCreditPeZmgoPaysignConfirm `json:"zhima_credit_pe_zmgo_paysign_confirm_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoPreorderCreate ¶
type ZhimaCreditPeZmgoPreorderCreate struct { ErrorResponse PreorderNo string `json:"preorder_no"` PartnerId string `json:"partner_id"` BizType string `json:"biz_type"` }
type ZhimaCreditPeZmgoPreorderCreateRsp ¶
type ZhimaCreditPeZmgoPreorderCreateRsp struct { Response *ZhimaCreditPeZmgoPreorderCreate `json:"zhima_credit_pe_zmgo_preorder_create_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoSettleRefundRsp ¶
type ZhimaCreditPeZmgoSettleRefundRsp struct { Response *ZhimaCreditPeZmgoSettleRefund `json:"zhima_credit_pe_zmgo_settle_refund_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCreditPeZmgoSettleUnfreeze ¶
type ZhimaCreditPeZmgoSettleUnfreeze struct { ErrorResponse UnfreezeStatus string `json:"unfreeze_status"` FailReaseon string `json:"fail_reaseon,omitempty"` Retry string `json:"retry,omitempty"` UnfreezeAmount string `json:"unfreeze_amount,omitempty"` }
type ZhimaCreditPeZmgoSettleUnfreezeRsp ¶
type ZhimaCreditPeZmgoSettleUnfreezeRsp struct { Response *ZhimaCreditPeZmgoSettleUnfreeze `json:"zhima_credit_pe_zmgo_settle_unfreeze_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCustomerJobworthAdapterQuery ¶
type ZhimaCustomerJobworthAdapterQuery struct { ErrorResponse AdapterScore string `json:"adapter_score,omitempty"` SubCode string `json:"sub_code,omitempty"` SubMsg string `json:"sub_msg,omitempty"` Url string `json:"url,omitempty"` }
type ZhimaCustomerJobworthAdapterQueryRsp ¶
type ZhimaCustomerJobworthAdapterQueryRsp struct { Response *ZhimaCustomerJobworthAdapterQuery `json:"zhima_customer_jobworth_adapter_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaCustomerJobworthSceneUse ¶
type ZhimaCustomerJobworthSceneUse struct { ErrorResponse SubCode string `json:"sub_code"` SubMsg string `json:"sub_msg"` }
type ZhimaCustomerJobworthSceneUseRsp ¶
type ZhimaCustomerJobworthSceneUseRsp struct { Response *ZhimaCustomerJobworthSceneUse `json:"zhima_customer_jobworth_scene_use_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaMerchantZmgoCumulateQuery ¶
type ZhimaMerchantZmgoCumulateQuery struct { ErrorResponse AgreementId string `json:"agreement_id"` AggrAmount string `json:"aggr_amount"` AggrTimes int64 `json:"aggr_times"` AggrDiscountAmount string `json:"aggr_discount_amount"` PageNo int64 `json:"page_no"` PageSize int64 `json:"page_size"` DetailList []*CumulateDataDetail `json:"detail_list,omitempty"` FailReason string `json:"fail_reason,omitempty"` }
type ZhimaMerchantZmgoCumulateQueryRsp ¶
type ZhimaMerchantZmgoCumulateQueryRsp struct { Response *ZhimaMerchantZmgoCumulateQuery `json:"zhima_merchant_zmgo_cumulate_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZhimaMerchantZmgoCumulateSync ¶
type ZhimaMerchantZmgoCumulateSync struct { ErrorResponse AgreementId string `json:"agreement_id"` OutBizNo string `json:"out_biz_no"` FailReason string `json:"fail_reason,omitempty"` }
type ZhimaMerchantZmgoCumulateSyncRsp ¶
type ZhimaMerchantZmgoCumulateSyncRsp struct { Response *ZhimaMerchantZmgoCumulateSync `json:"zhima_merchant_zmgo_cumulate_sync_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZolozAuthenticationCustomerFtokenQuery ¶
type ZolozAuthenticationCustomerFtokenQuery struct { ErrorResponse Uid string `json:"uid"` OpenId string `json:"open_id"` UidTelPairList []*UidTelPair `json:"uid_tel_pair_list"` AgeCheckResult string `json:"age_check_result"` CertNo string `json:"cert_no"` CertName string `json:"cert_name"` FaceId string `json:"face_id"` }
type ZolozAuthenticationCustomerFtokenQueryRsp ¶
type ZolozAuthenticationCustomerFtokenQueryRsp struct { Response *ZolozAuthenticationCustomerFtokenQuery `json:"zoloz_authentication_customer_ftoken_query_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
type ZolozAuthenticationSmilepayInitialize ¶
type ZolozAuthenticationSmilepayInitialize struct { ErrorResponse RetCodeSub string `json:"ret_code_sub"` RetMessageSub string `json:"ret_message_sub"` ZimId string `json:"zim_id"` ZimInitClientData string `json:"zim_init_client_data"` }
type ZolozAuthenticationSmilepayInitializeRsp ¶
type ZolozAuthenticationSmilepayInitializeRsp struct { Response *ZolozAuthenticationSmilepayInitialize `json:"zoloz_authentication_smilepay_initialize_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
Source Files ¶
- ant.go
- client.go
- commerce_api.go
- common_api.go
- customs.go
- data_api.go
- error.go
- funds_api.go
- goods_api.go
- koubei_api.go
- marketing_api.go
- member_api.go
- merchant_api.go
- mode_funds.go
- model.go
- model_ant.go
- model_commerce.go
- model_customs.go
- model_koubei.go
- model_market.go
- model_member.go
- model_merchant.go
- model_payment.go
- model_smilepay.go
- model_zhima.go
- notify.go
- param.go
- payment_api.go
- request.go
- sign.go
- smilepay.go
- third_auth.go
- third_dev.go
- util_api.go
- zhima_api.go