Documentation ¶
Index ¶
- Constants
- func DecryptOpenDataToBodyMap(encryptedData, secretKey string) (bm gopay.BodyMap, err error)
- func DecryptOpenDataToStruct(encryptedData, secretKey string, beanPtr interface{}) (err error)
- func FormatURLParam(body gopay.BodyMap) (urlParam string)
- func GetCertSN(certPathOrData interface{}) (sn string, err error)
- func GetRootCertSN(rootCertPathOrData interface{}) (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 interface{}) (ok bool, err error)
- func VerifySignWithCert(aliPayPublicKeyCert, notifyBean interface{}) (ok bool, err error)
- func VerifySyncSign(aliPayPublicKey, signData, sign string) (ok bool, err error)
- func VerifySyncSignWithCert(alipayPublicKeyCert interface{}, signData, sign string) (ok bool, err error)
- 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 AuthTokenApp
- type AuthTokenAppQuery
- type BizErr
- 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) 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) FileRequest(ctx context.Context, bm gopay.BodyMap, file *util.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) MemberDataIsvCreate(ctx context.Context, bm gopay.BodyMap) (aliRsp *MemberDataIsvCreateRsp, err error)
- func (a *Client) MerchantItemFileUpload(ctx context.Context, file *util.File) (aliRsp *MerchantItemFileUploadRsp, 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) OpenAuthTokenAppQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *OpenAuthTokenAppQueryResponse, 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) PostAliPayAPISelf(ctx context.Context, bm gopay.BodyMap, method string, aliRsp interface{}) (err error)
- func (a *Client) PostAliPayAPISelfV2(ctx context.Context, bm gopay.BodyMap, method string, aliRsp interface{}) (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) 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) 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) 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) 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) (aliRsp *UserInfoAuthResponse, 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)
- type CommerceAirCallcenterTradeApply
- type CommerceAirCallcenterTradeApplyRsp
- type CommerceBenefitApply
- type CommerceBenefitApplyRsp
- type CommerceBenefitVerify
- type CommerceBenefitVerifyRsp
- type CommerceTransportNfccardSend
- type CommerceTransportNfccardSendRsp
- type ConversionDataDetail
- type CumulateDataDetail
- type DataBillBalanceQuery
- type DataBillBalanceQueryResponse
- type DataBillDownloadUrlQuery
- type DataBillDownloadUrlQueryResponse
- type DataDataserviceAdDataQuery
- type DataDataserviceAdDataQueryRsp
- type DataDetail
- 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 FundBill
- 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 FundTransToaccountTransferResponse
- 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 MemberDataIsvCreate
- type MemberDataIsvCreateRsp
- type MerchantItemFileUpload
- type MerchantItemFileUploadRsp
- type MonitorHeartbeatSynRes
- type MonitorHeartbeatSynResponse
- type NotifyRequest
- type OauthTokenInfo
- type OpenAppQrcodeCreate
- type OpenAppQrcodeCreateRsp
- 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 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 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 TradeSettleDetail
- type TradeSettleInfo
- type TransToaccountTransfer
- type TransUniTransfer
- 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
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/mini/introduce/aes 文档:https://opendocs.alipay.com/open/common/104567
func DecryptOpenDataToStruct ¶
DecryptOpenDataToStruct 解密支付宝开放数据到 结构体 encryptedData:包括敏感数据在内的完整用户信息的加密数据 secretKey:AES密钥,支付宝管理平台配置 beanPtr:需要解析到的结构体指针 文档:https://opendocs.alipay.com/mini/introduce/aes 文档:https://opendocs.alipay.com/open/common/104567
func GetCertSN ¶
GetCertSN 获取证书序列号SN certPathOrData x509证书文件路径(appCertPublicKey.crt、alipayCertPublicKey_RSA2.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:支付宝公钥证书存放路径 alipayCertPublicKey_RSA2.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 ¶
func VerifySyncSignWithCert(alipayPublicKeyCert interface{}, signData, sign string) (ok bool, err error)
VerifySyncSignWithCert 支付宝同步返回验签(公钥证书模式) 注意:APP支付,手机网站支付,电脑网站支付,身份认证开始认证 不支持同步返回验签 aliPayPublicKeyCert:支付宝公钥证书存放路径 alipayCertPublicKey_RSA2.crt 或文件内容[]byte signData:待验签参数,aliRsp.SignData sign:待验签sign,aliRsp.Sign 返回参数ok:是否验签通过 返回参数err:错误信息 验签文档:https://opendocs.alipay.com/open/200/106120
Types ¶
type AntMerchantOrderQuery ¶ added in v1.5.58
type AntMerchantOrderQueryRsp ¶ added in v1.5.58
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 ¶ added in v1.5.58
type AntMerchantShopClose struct {
ErrorResponse
}
type AntMerchantShopCloseRsp ¶ added in v1.5.58
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 ¶ added in v1.5.56
type AntMerchantShopConsult struct { ErrorResponse AccountAudit bool `json:"account_audit"` RiskAudit bool `json:"risk_audit"` OrderId string `json:"order_id"` }
type AntMerchantShopConsultRsp ¶ added in v1.5.56
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 ¶ added in v1.5.56
type AntMerchantShopCreate struct { ErrorResponse OrderId string `json:"order_id"` }
type AntMerchantShopCreateRsp ¶ added in v1.5.56
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 ¶ added in v1.5.56
type AntMerchantShopModify struct { ErrorResponse OrderId string `json:"order_id"` }
type AntMerchantShopModifyRsp ¶ added in v1.5.56
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 ¶ added in v1.5.58
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 ¶ added in v1.5.58
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 ¶ added in v1.5.45
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 ¶ added in v1.5.88
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 ¶ added in v1.5.76
type BizErr struct { Code string `json:"code"` Msg string `json:"msg"` SubCode string `json:"sub_code"` SubMsg string `json:"sub_msg"` }
BizErr 用于判断支付宝的业务逻辑是否有错误
func IsBizError ¶ added in v1.5.76
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 ¶
初始化支付宝客户端 注意:如果使用支付宝公钥证书验签,请设置 支付宝根证书SN(client.SetAlipayRootCertSN())、应用公钥证书SN(client.SetAppCertSN()) appid:应用ID privateKey:应用私钥,支持PKCS1和PKCS8 isProd:是否是正式环境
func (*Client) AcquireCustoms ¶ added in v1.5.49
alipay.acquire.customs(报关接口) 文档地址:https://opendocs.alipay.com/pre-open/01x3kh
func (*Client) AcquireCustomsQuery ¶ added in v1.5.49
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 ¶ added in v1.5.58
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 ¶ added in v1.5.58
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.58
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 ¶ added in v1.5.45
开启请求完自动验签功能(默认不开启,推荐开启,只支持证书模式) 注意:只支持证书模式 alipayPublicKeyContent:支付宝公钥证书文件内容[]byte
func (*Client) CommerceAirCallcenterTradeApply ¶ added in v1.5.52
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 ¶ added in v1.5.59
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 ¶ added in v1.5.59
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 ¶ added in v1.5.52
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) DataBillBalanceQuery ¶
func (a *Client) DataBillBalanceQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *DataBillBalanceQueryResponse, err error)
Deprecated 支付宝已不再支持 alipay.data.bill.balance.query(支付宝商家账户当前余额查询) 文档地址:https://opendocs.alipay.com/apis/api_15/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 ¶ added in v1.5.52
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) FileRequest ¶ added in v1.5.83
func (a *Client) FileRequest(ctx context.Context, bm gopay.BodyMap, file *util.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/apis/api_28/alipay.fund.auth.order.app.freeze
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/apis/api_28/alipay.fund.trans.app.pay
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 ¶ added in v1.5.59
func (a *Client) FundTransPagePay(ctx context.Context, bm gopay.BodyMap) (aliRsp *FundTransPagePayRsp, err error)
alipay.fund.trans.page.pay(资金转账页面支付接口) 文档地址: https://opendocs.alipay.com/apis/api_1/alipay.fund.trans.page.pay
func (*Client) FundTransPayeeBindQuery ¶ added in v1.5.45
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/apis/api_28/alipay.fund.trans.refund
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 ¶ added in v1.5.52
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 ¶ added in v1.5.55
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 ¶ added in v1.5.55
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 ¶ added in v1.5.52
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 ¶ added in v1.5.55
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 ¶ added in v1.5.52
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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) MemberDataIsvCreate ¶ added in v1.5.51
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 ¶ added in v1.5.45
func (a *Client) MerchantItemFileUpload(ctx context.Context, file *util.File) (aliRsp *MerchantItemFileUploadRsp, err error)
alipay.merchant.item.file.upload(商品文件上传接口) 文档地址:https://opendocs.alipay.com/apis/api_4/alipay.merchant.item.file.upload
func (*Client) OpenAppQrcodeCreate ¶ added in v1.5.45
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) OpenAuthTokenAppQuery ¶ added in v1.5.88
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) PaymentTradeOrderCreate ¶ added in v1.5.52
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 ¶ added in v1.5.52
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) PostAliPayAPISelf ¶
func (a *Client) PostAliPayAPISelf(ctx context.Context, bm gopay.BodyMap, method string, aliRsp interface{}) (err error)
Deprecated 推荐使用 PostAliPayAPISelfV2() 示例:请参考 client_test.go 的 TestClient_PostAliPayAPISelf() 方法
func (*Client) PostAliPayAPISelfV2 ¶
func (a *Client) PostAliPayAPISelfV2(ctx context.Context, bm gopay.BodyMap, method string, aliRsp interface{}) (err error)
PostAliPayAPISelfV2 支付宝接口自行实现方法 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数 示例:请参考 client_test.go 的 TestClient_PostAliPayAPISelfV2() 方法
func (*Client) PublicCertDownload ¶ added in v1.5.45
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 ¶ added in v1.5.45
RequestParam 获取支付宝完整请求参数包含签名 注意:biz_content 需要自行通过bm.SetBodyMap()设置,不设置则没有此参数
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 ¶ added in v1.5.82
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/apis/api_9/alipay.system.oauth.token
func (*Client) TradeAdvanceConsult ¶ added in v1.5.45
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 ¶ added in v1.5.49
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 ¶ added in v1.5.45
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) 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 ¶ added in v1.5.83
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 ¶ added in v1.5.83
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 ¶ added in v1.5.83
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 ¶ added in v1.5.83
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 ¶ added in v1.5.59
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) TradeWapPay ¶
alipay.trade.wap.pay(手机网站支付接口2.0) 文档地址:https://opendocs.alipay.com/open/02ivbs?scene=21&ref=api
func (*Client) UserAgreementExecutionplanModify ¶ added in v1.5.51
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 ¶ added in v1.5.45
func (a *Client) UserAgreementPageSign(ctx context.Context, bm gopay.BodyMap) (ret string, err error)
alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.page.sign
func (*Client) UserAgreementPageUnSign ¶ added in v1.5.45
func (a *Client) UserAgreementPageUnSign(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementPageUnSignRsp, err error)
alipay.user.agreement.unsign(支付宝个人代扣协议解约接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.page.unsign
func (*Client) UserAgreementQuery ¶ added in v1.5.45
func (a *Client) UserAgreementQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserAgreementQueryRsp, err error)
alipay.user.agreement.query(支付宝个人代扣协议查询接口) 文档地址:https://opendocs.alipay.com/apis/api_2/alipay.user.agreement.query
func (*Client) UserAgreementTransfer ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
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/apis/api_2/alipay.user.certify.open.certify 产品文档地址:https://opendocs.alipay.com/open/20181012100420932508/quickstart
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/apis/api_2/alipay.user.certify.open.initialize
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/apis/api_2/alipay.user.certify.open.query
func (*Client) UserCharityRecordexistQuery ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
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 ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶
func (a *Client) UserInfoAuth(ctx context.Context, bm gopay.BodyMap) (aliRsp *UserInfoAuthResponse, err error)
alipay.user.info.auth(用户登陆授权) 文档地址:https://opendocs.alipay.com/apis/api_9/alipay.user.info.auth
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/apis/api_2/alipay.user.info.share
func (*Client) UserTwostageCommonUse ¶ added in v1.5.51
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.51
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/apis/01rqcy
func (*Client) ZhimaCreditPeZmgoAgreementUnsign ¶ added in v1.5.51
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/apis/01rium
func (*Client) ZhimaCreditPeZmgoBizoptClose ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.50
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/apis/01rhsk
func (*Client) ZhimaCreditPeZmgoSettleRefund ¶ added in v1.5.50
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/apis/01rhsf
func (*Client) ZhimaCreditPeZmgoSettleUnfreeze ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.50
func (a *Client) ZhimaMerchantZmgoCumulateQuery(ctx context.Context, bm gopay.BodyMap) (aliRsp *ZhimaMerchantZmgoCumulateQueryRsp, err error)
zhima.merchant.zmgo.cumulate.query(商家芝麻GO累计数据查询接口) 文档地址:https://opendocs.alipay.com/apis/01ooeo
func (*Client) ZhimaMerchantZmgoCumulateSync ¶ added in v1.5.50
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
type CommerceAirCallcenterTradeApply ¶ added in v1.5.52
type CommerceAirCallcenterTradeApply struct {
ErrorResponse
}
type CommerceAirCallcenterTradeApplyRsp ¶ added in v1.5.52
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 ¶ added in v1.5.59
type CommerceBenefitApply struct { ErrorResponse ApplyVoucherCodeList string `json:"apply_voucher_code_list,omitempty"` }
type CommerceBenefitApplyRsp ¶ added in v1.5.59
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 ¶ added in v1.5.59
type CommerceBenefitVerify struct { ErrorResponse VoucherVerifyStatus bool `json:"voucher_verify_status,omitempty"` }
type CommerceBenefitVerifyRsp ¶ added in v1.5.59
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 ¶ added in v1.5.52
type CommerceTransportNfccardSend struct {
ErrorResponse
}
type CommerceTransportNfccardSendRsp ¶ added in v1.5.52
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 ConversionDataDetail ¶ added in v1.5.52
type CumulateDataDetail ¶ added in v1.5.50
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 DataBillBalanceQuery ¶ added in v1.5.45
type DataBillBalanceQuery struct { ErrorResponse TotalAmount string `json:"total_amount,omitempty"` AvailableAmount string `json:"available_amount,omitempty"` FreezeAmount string `json:"freeze_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 ¶ added in v1.5.45
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 ¶ added in v1.5.52
type DataDataserviceAdDataQuery struct { ErrorResponse DataList []*DataDetail `json:"data_list,omitempty"` }
type DataDataserviceAdDataQueryRsp ¶ added in v1.5.52
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 ¶ added in v1.5.52
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 DepositBackInfo ¶ added in v1.5.58
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 ¶ added in v1.5.50
type ErrorResponse ¶
type ExtCardInfo ¶ added in v1.5.45
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 ¶ added in v1.5.51
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 ¶ added in v1.5.50
type FundAccountQuery ¶ added in v1.5.45
type FundAccountQuery struct { ErrorResponse AvailableAmount string `json:"available_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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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"` 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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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"` 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 ¶ added in v1.5.45
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 FundAuthOrderVoucherCreate ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 FundBillListInfo struct { Amount string `json:"amount,omitempty"` FundChannel string `json:"fundChannel,omitempty"` // 异步通知里是 fundChannel }
Deprecated
type FundTransAppPay ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.59
type FundTransPagePay struct { ErrorResponse OutBizNo string `json:"out_biz_no"` OrderID string `json:"order_id,omitempty"` Status string `json:"status"` }
type FundTransPagePayRsp ¶ added in v1.5.59
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 ¶ added in v1.5.45
type FundTransPayeeBindQuery struct { ErrorResponse Bind string `json:"bind"` // 是否绑定收款账号。true:已绑定;false:未绑定 }
type FundTransPayeeBindQueryRsp ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 FundTransToaccountTransferResponse ¶
type FundTransToaccountTransferResponse struct { Response *TransToaccountTransfer `json:"alipay_fund_trans_toaccount_transfer_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 ¶ added in v1.5.51
type HbFqPayInfo ¶ added in v1.5.58
type HbFqPayInfo struct {
UserInstallNum string `json:"user_install_num,omitempty"`
}
type KoubeiTradeItemorderBuyRsp ¶ added in v1.5.52
type KoubeiTradeItemorderBuyRsp struct { Response *KoubeiTradeOrderPrecreate `json:"koubei_trade_itemorder_buy_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type KoubeiTradeItemorderQuery ¶ added in v1.5.55
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 ¶ added in v1.5.55
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 ¶ added in v1.5.55
type KoubeiTradeItemorderRefund struct { ErrorResponse OrderNo string `json:"order_no"` OutRequestNo string `json:"out_request_no"` RealRefundAmount string `json:"real_refund_amount"` }
type KoubeiTradeItemorderRefundRsp ¶ added in v1.5.55
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
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 ¶ added in v1.5.55
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 ¶ added in v1.5.55
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 ¶ added in v1.5.52
type KoubeiTradeOrderPrecreate struct { ErrorResponse OrderNo string `json:"order_no"` QrCode string `json:"qr_code,omitempty"` }
type KoubeiTradeOrderPrecreateRsp ¶ added in v1.5.52
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 ¶ added in v1.5.56
type KoubeiTradeTicketTicketcodeCancel struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeCancelRsp ¶ added in v1.5.56
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 ¶ added in v1.5.56
type KoubeiTradeTicketTicketcodeDelay struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeDelayRsp ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
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 ¶ added in v1.5.56
type KoubeiTradeTicketTicketcodeSend struct { ErrorResponse RequestId string `json:"request_id"` BizCode string `json:"biz_code,omitempty"` }
type KoubeiTradeTicketTicketcodeSendRsp ¶ added in v1.5.56
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 MemberDataIsvCreate ¶ added in v1.5.51
type MemberDataIsvCreate struct {
ErrorResponse
}
type MemberDataIsvCreateRsp ¶ added in v1.5.51
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 ¶ added in v1.5.45
type MerchantItemFileUpload struct { ErrorResponse MaterialId string `json:"material_id"` // 文件在商品中心的素材标识(素材ID长期有效) MaterialKey string `json:"material_key"` // 文件在商品中心的素材标示,创建/更新商品时使用 }
type MerchantItemFileUploadRsp ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 []*VoucherDetail `json:"voucher_detail_list,omitempty"` Method string `json:"method,omitempty"` // 电脑网站支付 支付宝请求 return_url 同步返回参数 Timestamp string `json:"timestamp,omitempty"` // 电脑网站支付 支付宝请求 return_url 同步返回参数 }
Deprecated
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 OauthTokenInfo ¶ added in v1.5.45
type OauthTokenInfo struct { UserId string `json:"user_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 OpenAppQrcodeCreate ¶ added in v1.5.45
type OpenAppQrcodeCreate struct { ErrorResponse QrCodeUrl string `json:"qr_code_url"` }
type OpenAppQrcodeCreateRsp ¶ added in v1.5.45
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 OpenAuthTokenAppQueryResponse ¶ added in v1.5.88
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 ¶ added in v1.5.52
type PaymentTradeOrderCreate struct {
ErrorResponse
}
type PaymentTradeOrderCreateRsp ¶ added in v1.5.52
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 ¶ added in v1.5.52
type PcreditHuabeiAuthSettleApply struct { ErrorResponse OutRequestNo string `json:"out_request_no"` FailReason string `json:"fail_reason,omitempty"` }
type PcreditHuabeiAuthSettleApplyRsp ¶ added in v1.5.52
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 ¶ added in v1.5.45
type PublicCertDownload struct { ErrorResponse AlipayCertContent string `json:"alipay_cert_content"` }
type PublicCertDownloadRsp ¶ added in v1.5.45
type PublicCertDownloadRsp struct {
Response *PublicCertDownload `json:"alipay_open_app_alipaycert_download_response"`
}
===================================================
type RefundPresetPaytool ¶ added in v1.5.45
type RefundRoyalty ¶ added in v1.5.45
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 ¶ added in v1.5.83
type RoyaltyDetail struct { OperationType string `json:"operation_type"` ExecuteDt string `json:"execute_dt"` TransOut string `json:"trans_out"` TransOutType string `json:"trans_out_type"` TransIn string `json:"trans_in"` TransInType string `json:"trans_in_type"` Amount string `json:"amount"` State string `json:"state"` ErrorCode string `json:"error_code"` ErrorDesc string `json:"error_desc"` }
type RoyaltyDetailInfoPojo ¶ added in v1.5.56
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 ¶ added in v1.5.45
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 ¶ added in v1.5.56
type Token ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
type TradeCreate struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` OutTradeNo string `json:"out_trade_no,omitempty"` }
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 ¶ added in v1.5.49
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 ¶ added in v1.5.49
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 ¶ added in v1.5.52
type TradeItemorderBuy struct { ErrorResponse OrderNo string `json:"order_no"` TradeNo string `json:"trade_no"` CashierOrderId string `json:"cashier_order_id,omitempty"` }
type TradeOrderInfoSync ¶ added in v1.5.45
type TradeOrderInfoSync struct { ErrorResponse TradeNo string `json:"trade_no"` OutTradeNo string `json:"out_trade_no"` BuyerUserId string `json:"buyer_user_id"` }
type TradeOrderInfoSyncRsp ¶ added in v1.5.45
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 TradeOrderSettle ¶ added in v1.5.45
type TradeOrderSettle struct { ErrorResponse TradeNo string `json:"trade_no,omitempty"` }
type TradeOrderSettleQuery ¶ added in v1.5.83
type TradeOrderSettleQuery struct { ErrorResponse OutTradeNo string `json:"out_request_no"` OperationDt string `json:"operation_dt"` RoyaltyDetailList []*RoyaltyDetail `json:"royalty_detail_list"` }
type TradeOrderSettleQueryResponse ¶ added in v1.5.83
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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"` 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 TradePayResponse struct { Response *TradePay `json:"alipay_trade_pay_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type TradePrecreate ¶ added in v1.5.45
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 ¶ added in v1.5.45
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"` 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"` HbFqPayInfo *HbFqPayInfo `json:"hb_fq_pay_info,omitempty"` CreditPayMode string `json:"credit_pay_mode"` CreditBizOrderId string `json:"credit_biz_order_id"` }
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 ¶ added in v1.5.45
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"` 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 ¶ added in v1.5.45
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 ¶ added in v1.5.83
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 ¶ added in v1.5.83
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 ¶ added in v1.5.83
type TradeRelationBind struct { ErrorResponse ResultCode string `json:"result_code"` }
type TradeRelationBindResponse ¶ added in v1.5.83
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 ¶ added in v1.5.83
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 ¶ added in v1.5.59
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 ¶ added in v1.5.59
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 TradeSettleDetail ¶ added in v1.5.58
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 ¶ added in v1.5.58
type TradeSettleInfo struct {
TradeSettleDetailList *TradeSettleDetail `json:"trade_settle_detail_list,omitempty"`
}
type TransToaccountTransfer ¶ added in v1.5.45
type TransToaccountTransfer struct { ErrorResponse OutBizNo string `json:"out_biz_no,omitempty"` OrderId string `json:"order_id,omitempty"` PayDate string `json:"pay_date,omitempty"` }
type TransUniTransfer ¶ added in v1.5.45
type UserAgreementExecutionplanModify ¶ added in v1.5.51
type UserAgreementExecutionplanModify struct { ErrorResponse AgreementNo string `json:"agreement_no"` DeductTime string `json:"deduct_time"` }
type UserAgreementExecutionplanModifyRsp ¶ added in v1.5.51
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
type UserAgreementQuery struct { ErrorResponse 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"` PrincipalId string `json:"principal_id"` 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"` }
type UserAgreementQueryRsp ¶ added in v1.5.45
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
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 ¶ added in v1.5.51
type UserAlipaypointSend struct { ErrorResponse RecordId string `json:"record_id"` }
type UserAlipaypointSendRsp ¶ added in v1.5.51
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 ¶ added in v1.5.51
type UserAuthZhimaorgIdentityApply struct { ErrorResponse AccessToken string `json:"access_token"` AuthTokenType string `json:"auth_token_type,omitempty"` RefreshToken string `json:"refresh_token"` }
type UserAuthZhimaorgIdentityApplyRsp ¶ added in v1.5.51
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 ¶ added in v1.5.52
type UserCertdocCertverifyConsult struct { ErrorResponse Passed string `json:"passed"` FailReason string `json:"fail_reason,omitempty"` FailParams string `json:"fail_params,omitempty"` }
type UserCertdocCertverifyConsultRsp ¶ added in v1.5.52
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 ¶ added in v1.5.52
type UserCertdocCertverifyPreconsult struct { ErrorResponse VerifyId string `json:"verify_id"` }
type UserCertdocCertverifyPreconsultRsp ¶ added in v1.5.52
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
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 ¶ added in v1.5.51
type UserCharityRecordexistQuery struct { ErrorResponse DonationTag string `json:"donation_tag"` }
type UserCharityRecordexistQueryRsp ¶ added in v1.5.51
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
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 ¶ added in v1.5.52
type UserFamilyArchiveInitialize struct { ErrorResponse ArchivePluginUrl string `json:"archive_plugin_url"` }
type UserFamilyArchiveInitializeRsp ¶ added in v1.5.52
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 ¶ added in v1.5.51
type UserFamilyArchiveQuery struct { ErrorResponse ArchiveList []*FamilyArchiveDetail `json:"archive_list"` }
type UserFamilyArchiveQueryRsp ¶ added in v1.5.51
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 ¶ added in v1.5.52
type UserFamilyShareZmgoInitialize struct {}
type UserFamilyShareZmgoInitializeRsp ¶ added in v1.5.52
type UserFamilyShareZmgoInitializeRsp struct {}
===================================================
type UserIdentityInfo ¶ added in v1.5.51
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 ¶ added in v1.5.45
type UserInfoShare struct {}
type UserInfoShareResponse ¶
type UserInfoShareResponse struct {}
===================================================
type UserPhone ¶
type UserPhone struct { ErrorResponse Mobile string `json:"mobile,omitempty"` }
type UserTwostageCommonUse ¶ added in v1.5.51
type UserTwostageCommonUse struct { ErrorResponse UserId string `json:"user_id,omitempty"` UserIdentityInfo []*UserIdentityInfo `json:"user_identity_info,omitempty"` }
type UserTwostageCommonUseRsp ¶ added in v1.5.51
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 ¶ added in v1.5.45
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 ¶ added in v1.5.45
type ZhimaCreditEpSceneAgreementCancel ¶ added in v1.5.50
type ZhimaCreditEpSceneAgreementCancel struct { ErrorResponse CreditOrderNo string `json:"credit_order_no"` }
type ZhimaCreditEpSceneAgreementCancelRsp ¶ added in v1.5.50
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 ¶ added in v1.5.50
type ZhimaCreditEpSceneAgreementUse struct { ErrorResponse CreditOrderNo string `json:"credit_order_no"` }
type ZhimaCreditEpSceneAgreementUseRsp ¶ added in v1.5.50
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 ¶ added in v1.5.50
type ZhimaCreditEpSceneFulfillmentSync struct { ErrorResponse FulfillmentOrderNo string `json:"fulfillment_order_no"` }
type ZhimaCreditEpSceneFulfillmentSyncRsp ¶ added in v1.5.50
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 ¶ added in v1.5.50
type ZhimaCreditEpSceneFulfillmentlistSync struct { ErrorResponse FulfillmentResultList []*FulfillmentResult `json:"fulfillment_result_list"` }
type ZhimaCreditEpSceneFulfillmentlistSyncRsp ¶ added in v1.5.50
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 ¶ added in v1.5.50
type ZhimaCreditEpSceneRatingInitialize struct { ErrorResponse OrderNo string `json:"order_no"` }
type ZhimaCreditEpSceneRatingInitializeRsp ¶ added in v1.5.50
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 ZhimaCreditPeZmgoAgreementQuery ¶ added in v1.5.51
type ZhimaCreditPeZmgoAgreementQuery struct { ErrorResponse AgreementId string `json:"agreement_id"` AgreementName string `json:"agreement_name"` AlipayUserId string `json:"alipay_user_id"` AgreementStatus string `json:"agreement_status"` }
type ZhimaCreditPeZmgoAgreementQueryRsp ¶ added in v1.5.51
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 ¶ added in v1.5.51
type ZhimaCreditPeZmgoAgreementUnsign struct { ErrorResponse AgreementId string `json:"agreement_id"` WithholdPlanNo string `json:"withhold_plan_no"` }
type ZhimaCreditPeZmgoAgreementUnsignRsp ¶ added in v1.5.51
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 ZhimaCreditPeZmgoBizoptClose ¶ added in v1.5.50
type ZhimaCreditPeZmgoBizoptClose struct { ErrorResponse UserId string `json:"user_id"` BizOptNo string `json:"biz_opt_no,omitempty"` PartnerId string `json:"partner_id"` OutRequestNo string `json:"out_request_no"` }
type ZhimaCreditPeZmgoBizoptCloseRsp ¶ added in v1.5.50
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 ZhimaCreditPeZmgoCumulationSync ¶ added in v1.5.50
type ZhimaCreditPeZmgoCumulationSync struct { ErrorResponse OutBizNo string `json:"out_biz_no,omitempty"` AagreementNo string `json:"aagreement_no,omitempty"` UserId string `json:"user_id,omitempty"` FailReason string `json:"fail_reason,omitempty"` }
type ZhimaCreditPeZmgoCumulationSyncRsp ¶ added in v1.5.50
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
type ZhimaCreditPeZmgoPaysignConfirm struct { ErrorResponse AgreementId string `json:"agreement_id,omitempty"` }
type ZhimaCreditPeZmgoPaysignConfirmRsp ¶ added in v1.5.51
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 ¶ added in v1.5.50
type ZhimaCreditPeZmgoPreorderCreate struct { ErrorResponse PreorderNo string `json:"preorder_no"` PartnerId string `json:"partner_id"` BizType string `json:"biz_type"` }
type ZhimaCreditPeZmgoPreorderCreateRsp ¶ added in v1.5.50
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 ZhimaCreditPeZmgoSettleRefund ¶ added in v1.5.50
type ZhimaCreditPeZmgoSettleRefundRsp ¶ added in v1.5.50
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ZhimaCreditScoreGetResponse ¶
type ZhimaCreditScoreGetResponse struct { Response *ScoreGet `json:"zhima_credit_score_get_response"` AlipayCertSn string `json:"alipay_cert_sn,omitempty"` SignData string `json:"-"` Sign string `json:"sign"` }
===================================================
type ZhimaCustomerJobworthAdapterQuery ¶ added in v1.5.51
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 ¶ added in v1.5.51
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 ¶ added in v1.5.51
type ZhimaCustomerJobworthSceneUse struct { ErrorResponse SubCode string `json:"sub_code"` SubMsg string `json:"sub_msg"` }
type ZhimaCustomerJobworthSceneUseRsp ¶ added in v1.5.51
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
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 ¶ added in v1.5.50
type ZhimaMerchantZmgoCumulateSync struct { ErrorResponse AgreementId string `json:"agreement_id"` OutBizNo string `json:"out_biz_no"` FailReason string `json:"fail_reason,omitempty"` }
type ZhimaMerchantZmgoCumulateSyncRsp ¶ added in v1.5.50
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"` }
===================================================