Documentation
¶
Overview ¶
Package stripe provides the binding for Stripe REST APIs.
Index ¶
- Constants
- Variables
- 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
- type APIError
- type APIResource
- type APIResponse
- type APIStream
- type Account
- type AccountAddress
- type AccountAddressParams
- type AccountBusinessProfile
- type AccountBusinessProfileParams
- type AccountBusinessType
- type AccountCapabilities
- type AccountCapabilitiesACSSDebitPaymentsParams
- type AccountCapabilitiesAUBECSDebitPaymentsParams
- type AccountCapabilitiesAfterpayClearpayPaymentsParams
- type AccountCapabilitiesBACSDebitPaymentsParams
- type AccountCapabilitiesBancontactPaymentsParams
- type AccountCapabilitiesBankTransferPayments
- type AccountCapabilitiesBankTransferPaymentsParams
- type AccountCapabilitiesBoletoPaymentsParams
- type AccountCapabilitiesCardIssuingParams
- type AccountCapabilitiesCardPaymentsParams
- type AccountCapabilitiesCartesBancairesPaymentsParams
- type AccountCapabilitiesEPSPaymentsParams
- type AccountCapabilitiesFPXPaymentsParams
- type AccountCapabilitiesGiropayPaymentsParams
- type AccountCapabilitiesGrabpayPaymentsParams
- type AccountCapabilitiesIdealPaymentsParams
- type AccountCapabilitiesJCBPaymentsParams
- type AccountCapabilitiesKlarnaPaymentsParams
- type AccountCapabilitiesKonbiniPayments
- type AccountCapabilitiesKonbiniPaymentsParams
- type AccountCapabilitiesLegacyPaymentsParams
- type AccountCapabilitiesOXXOPaymentsParams
- type AccountCapabilitiesP24PaymentsParams
- type AccountCapabilitiesParams
- type AccountCapabilitiesPayNowPayments
- type AccountCapabilitiesPayNowPaymentsParams
- type AccountCapabilitiesSEPADebitPaymentsParams
- type AccountCapabilitiesSofortPaymentsParams
- type AccountCapabilitiesTaxReportingUS1099KParams
- type AccountCapabilitiesTaxReportingUS1099MISCParams
- type AccountCapabilitiesTransfersParams
- type AccountCapabilitiesUSBankAccountAchPayments
- type AccountCapabilitiesUSBankAccountAchPaymentsParams
- type AccountCapability
- type AccountCapabilityStatus
- type AccountCompany
- type AccountCompanyOwnershipDeclaration
- type AccountCompanyOwnershipDeclarationParams
- type AccountCompanyParams
- type AccountCompanyStructure
- type AccountCompanyVerification
- type AccountCompanyVerificationDocument
- type AccountCompanyVerificationDocumentDetailsCode
- type AccountCompanyVerificationDocumentParams
- type AccountCompanyVerificationParams
- type AccountController
- type AccountControllerType
- type AccountDeclineOn
- type AccountDeclineSettingsParams
- type AccountDocumentsBankAccountOwnershipVerificationParams
- type AccountDocumentsCompanyLicenseParams
- type AccountDocumentsCompanyMemorandumOfAssociationParams
- type AccountDocumentsCompanyMinisterialDecreeParams
- type AccountDocumentsCompanyRegistrationVerificationParams
- type AccountDocumentsCompanyTaxIDVerificationParams
- type AccountDocumentsParams
- type AccountDocumentsProofOfRegistrationParams
- type AccountExternalAccountParams
- type AccountFutureRequirements
- type AccountFutureRequirementsAlternative
- type AccountFutureRequirementsError
- type AccountLink
- type AccountLinkCollect
- type AccountLinkParams
- type AccountLinkType
- type AccountList
- type AccountListParams
- type AccountParams
- type AccountPayoutSchedule
- type AccountRejectParams
- type AccountRejectReason
- type AccountRequirements
- type AccountRequirementsAlternative
- type AccountRequirementsDisabledReason
- type AccountRequirementsError
- type AccountSettings
- type AccountSettingsBACSDebitPayments
- type AccountSettingsBACSDebitPaymentsParams
- type AccountSettingsBranding
- type AccountSettingsBrandingParams
- type AccountSettingsCardIssuing
- type AccountSettingsCardIssuingParams
- type AccountSettingsCardPayments
- type AccountSettingsCardPaymentsParams
- type AccountSettingsDashboard
- type AccountSettingsDashboardParams
- type AccountSettingsParams
- type AccountSettingsPayments
- type AccountSettingsPaymentsParams
- type AccountSettingsPayouts
- type AccountSettingsPayoutsParams
- type AccountSettingsSEPADebitPayments
- type AccountTOSAcceptance
- type AccountTOSAcceptanceParams
- type AccountTOSAcceptanceServiceAgreement
- type AccountType
- type Address
- type AddressParams
- type Amount
- type AppInfo
- type ApplePayDomain
- type ApplePayDomainList
- type ApplePayDomainListParams
- type ApplePayDomainParams
- type Application
- type ApplicationFee
- type ApplicationFeeList
- type ApplicationFeeListParams
- type ApplicationFeeParams
- type AuthenticationError
- type AuthorizeURLParams
- type Backend
- type BackendConfig
- type BackendImplementation
- 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) CallStreaming(method, path, key string, params ParamsContainer, ...) error
- func (s *BackendImplementation) Do(req *http.Request, body *bytes.Buffer, v LastResponseSetter) error
- func (s *BackendImplementation) DoStreaming(req *http.Request, body *bytes.Buffer, v StreamingLastResponseSetter) 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
- type Balance
- type BalanceDetails
- type BalanceParams
- type BalanceSourceType
- type BalanceTransaction
- type BalanceTransactionFee
- type BalanceTransactionList
- type BalanceTransactionListParams
- type BalanceTransactionParams
- type BalanceTransactionReportingCategory
- type BalanceTransactionSource
- type BalanceTransactionSourceType
- type BalanceTransactionStatus
- type BalanceTransactionType
- type BankAccount
- type BankAccountAccountHolderType
- type BankAccountAvailablePayoutMethod
- type BankAccountList
- type BankAccountListParams
- type BankAccountParams
- type BankAccountStatus
- type BillingDetails
- type BillingDetailsParams
- type BillingPortalConfiguration
- type BillingPortalConfigurationBusinessProfile
- type BillingPortalConfigurationBusinessProfileParams
- type BillingPortalConfigurationFeatures
- type BillingPortalConfigurationFeaturesCustomerUpdate
- type BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdate
- type BillingPortalConfigurationFeaturesCustomerUpdateParams
- type BillingPortalConfigurationFeaturesInvoiceHistory
- type BillingPortalConfigurationFeaturesInvoiceHistoryParams
- type BillingPortalConfigurationFeaturesParams
- type BillingPortalConfigurationFeaturesPaymentMethodUpdate
- type BillingPortalConfigurationFeaturesPaymentMethodUpdateParams
- type BillingPortalConfigurationFeaturesSubscriptionCancel
- type BillingPortalConfigurationFeaturesSubscriptionCancelCancellationReason
- type BillingPortalConfigurationFeaturesSubscriptionCancelCancellationReasonOption
- type BillingPortalConfigurationFeaturesSubscriptionCancelCancellationReasonParams
- type BillingPortalConfigurationFeaturesSubscriptionCancelMode
- type BillingPortalConfigurationFeaturesSubscriptionCancelParams
- type BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior
- type BillingPortalConfigurationFeaturesSubscriptionPause
- type BillingPortalConfigurationFeaturesSubscriptionPauseParams
- type BillingPortalConfigurationFeaturesSubscriptionUpdate
- type BillingPortalConfigurationFeaturesSubscriptionUpdateDefaultAllowedUpdate
- type BillingPortalConfigurationFeaturesSubscriptionUpdateParams
- type BillingPortalConfigurationFeaturesSubscriptionUpdateProduct
- type BillingPortalConfigurationFeaturesSubscriptionUpdateProductParams
- type BillingPortalConfigurationFeaturesSubscriptionUpdateProrationBehavior
- type BillingPortalConfigurationList
- type BillingPortalConfigurationListParams
- type BillingPortalConfigurationParams
- type BillingPortalSession
- type BillingPortalSessionParams
- type Capability
- type CapabilityDisabledReason
- type CapabilityFutureRequirements
- type CapabilityFutureRequirementsAlternative
- type CapabilityFutureRequirementsError
- type CapabilityList
- type CapabilityListParams
- type CapabilityParams
- type CapabilityRequirements
- type CapabilityRequirementsAlternative
- type CapabilityStatus
- type CaptureParams
- type Card
- type CardAvailablePayoutMethod
- type CardBrand
- type CardError
- type CardFunding
- type CardList
- type CardListParams
- type CardOwnerParams
- type CardParams
- type CardTokenizationMethod
- type CardVerification
- type CashBalance
- type CashBalanceParams
- type CashBalanceSettings
- type CashBalanceSettingsParams
- type CashBalanceSettingsReconciliationMode
- type Charge
- type ChargeFraudStripeReport
- type ChargeFraudUserReport
- type ChargeLevel3
- type ChargeLevel3LineItem
- type ChargeLevel3LineItemsParams
- type ChargeLevel3Params
- type ChargeList
- type ChargeListParams
- type ChargeOutcome
- type ChargeOutcomeRule
- type ChargeParams
- type ChargePaymentMethodDetails
- type ChargePaymentMethodDetailsAUBECSDebit
- type ChargePaymentMethodDetailsAchCreditTransfer
- type ChargePaymentMethodDetailsAchDebit
- type ChargePaymentMethodDetailsAcssDebit
- type ChargePaymentMethodDetailsAfterpayClearpay
- type ChargePaymentMethodDetailsAlipay
- type ChargePaymentMethodDetailsBACSDebit
- type ChargePaymentMethodDetailsBancontact
- type ChargePaymentMethodDetailsBoleto
- type ChargePaymentMethodDetailsCard
- type ChargePaymentMethodDetailsCardChecks
- type ChargePaymentMethodDetailsCardInstallments
- type ChargePaymentMethodDetailsCardPresent
- type ChargePaymentMethodDetailsCardPresentReceipt
- type ChargePaymentMethodDetailsCardPresentReceiptAccountType
- type ChargePaymentMethodDetailsCardThreeDSecure
- type ChargePaymentMethodDetailsCardThreeDSecureAuthenticationFlow
- type ChargePaymentMethodDetailsCardThreeDSecureResult
- type ChargePaymentMethodDetailsCardThreeDSecureResultReason
- type ChargePaymentMethodDetailsCardWallet
- type ChargePaymentMethodDetailsCardWalletAmexExpressCheckout
- type ChargePaymentMethodDetailsCardWalletApplePay
- type ChargePaymentMethodDetailsCardWalletGooglePay
- type ChargePaymentMethodDetailsCardWalletMasterpass
- type ChargePaymentMethodDetailsCardWalletSamsungPay
- type ChargePaymentMethodDetailsCardWalletVisaCheckout
- type ChargePaymentMethodDetailsCustomerBalance
- type ChargePaymentMethodDetailsEps
- type ChargePaymentMethodDetailsFPX
- type ChargePaymentMethodDetailsGiropay
- type ChargePaymentMethodDetailsGrabpay
- type ChargePaymentMethodDetailsIdeal
- type ChargePaymentMethodDetailsInteracPresent
- type ChargePaymentMethodDetailsInteracPresentReceipt
- type ChargePaymentMethodDetailsKlarna
- type ChargePaymentMethodDetailsKlarnaPaymentMethodCategory
- type ChargePaymentMethodDetailsKonbini
- type ChargePaymentMethodDetailsKonbiniStore
- type ChargePaymentMethodDetailsKonbiniStoreChain
- type ChargePaymentMethodDetailsMultibanco
- type ChargePaymentMethodDetailsOXXO
- type ChargePaymentMethodDetailsP24
- type ChargePaymentMethodDetailsPayNow
- type ChargePaymentMethodDetailsSepaCreditTransfer
- type ChargePaymentMethodDetailsSepaDebit
- type ChargePaymentMethodDetailsSofort
- type ChargePaymentMethodDetailsStripeAccount
- type ChargePaymentMethodDetailsType
- type ChargePaymentMethodDetailsUSBankAccount
- type ChargePaymentMethodDetailsUSBankAccountAccountHolderType
- type ChargePaymentMethodDetailsUSBankAccountAccountType
- type ChargePaymentMethodDetailsWechat
- type ChargePaymentMethodDetailsWechatPay
- type ChargeSearchParams
- type ChargeSearchResult
- type ChargeStatus
- type ChargeTransferData
- type ChargeTransferDataParams
- type CheckoutSession
- type CheckoutSessionAfterExpiration
- type CheckoutSessionAfterExpirationParams
- type CheckoutSessionAfterExpirationRecovery
- type CheckoutSessionAfterExpirationRecoveryParams
- type CheckoutSessionAutomaticTax
- type CheckoutSessionAutomaticTaxParams
- type CheckoutSessionAutomaticTaxStatus
- type CheckoutSessionBillingAddressCollection
- type CheckoutSessionConsent
- type CheckoutSessionConsentCollection
- type CheckoutSessionConsentCollectionParams
- type CheckoutSessionConsentCollectionPromotions
- type CheckoutSessionConsentPromotions
- type CheckoutSessionCustomerCreation
- type CheckoutSessionCustomerDetails
- type CheckoutSessionCustomerDetailsTaxExempt
- type CheckoutSessionCustomerDetailsTaxIDs
- type CheckoutSessionCustomerDetailsTaxIDsType
- type CheckoutSessionCustomerUpdateParams
- type CheckoutSessionDiscountParams
- type CheckoutSessionExpireParams
- type CheckoutSessionLineItemAdjustableQuantityParams
- type CheckoutSessionLineItemParams
- type CheckoutSessionLineItemPriceDataParams
- type CheckoutSessionLineItemPriceDataProductDataParams
- type CheckoutSessionLineItemPriceDataRecurringParams
- type CheckoutSessionList
- type CheckoutSessionListLineItemsParams
- type CheckoutSessionListParams
- type CheckoutSessionMode
- type CheckoutSessionParams
- type CheckoutSessionPaymentIntentDataParams
- type CheckoutSessionPaymentIntentDataTransferDataParams
- type CheckoutSessionPaymentMethodOptions
- type CheckoutSessionPaymentMethodOptionsACSSDebit
- type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions
- type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsDefaultFor
- type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams
- type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule
- type CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsTransactionType
- type CheckoutSessionPaymentMethodOptionsACSSDebitParams
- type CheckoutSessionPaymentMethodOptionsACSSDebitVerificationMethod
- type CheckoutSessionPaymentMethodOptionsAlipay
- type CheckoutSessionPaymentMethodOptionsAlipayParams
- type CheckoutSessionPaymentMethodOptionsBoleto
- type CheckoutSessionPaymentMethodOptionsBoletoParams
- type CheckoutSessionPaymentMethodOptionsKonbini
- type CheckoutSessionPaymentMethodOptionsKonbiniParams
- type CheckoutSessionPaymentMethodOptionsOXXO
- type CheckoutSessionPaymentMethodOptionsOXXOParams
- type CheckoutSessionPaymentMethodOptionsParams
- type CheckoutSessionPaymentMethodOptionsUSBankAccount
- type CheckoutSessionPaymentMethodOptionsUSBankAccountFinancialConnections
- type CheckoutSessionPaymentMethodOptionsUSBankAccountFinancialConnectionsParams
- type CheckoutSessionPaymentMethodOptionsUSBankAccountFinancialConnectionsPermission
- type CheckoutSessionPaymentMethodOptionsUSBankAccountParams
- type CheckoutSessionPaymentMethodOptionsUSBankAccountVerificationMethod
- type CheckoutSessionPaymentMethodOptionsWechatPayParams
- type CheckoutSessionPaymentStatus
- type CheckoutSessionPhoneNumberCollection
- type CheckoutSessionPhoneNumberCollectionParams
- type CheckoutSessionSetupIntentDataParams
- type CheckoutSessionShippingAddressCollection
- type CheckoutSessionShippingAddressCollectionParams
- type CheckoutSessionShippingOption
- type CheckoutSessionShippingOptionParams
- type CheckoutSessionShippingOptionShippingRateDataDeliveryEstimateMaximumParams
- type CheckoutSessionShippingOptionShippingRateDataDeliveryEstimateMinimumParams
- type CheckoutSessionShippingOptionShippingRateDataDeliveryEstimateParams
- type CheckoutSessionShippingOptionShippingRateDataFixedAmountParams
- type CheckoutSessionShippingOptionShippingRateDataParams
- type CheckoutSessionStatus
- type CheckoutSessionSubmitType
- type CheckoutSessionSubscriptionDataItemsParams
- type CheckoutSessionSubscriptionDataParams
- type CheckoutSessionSubscriptionDataTransferDataParams
- type CheckoutSessionTaxIDCollection
- type CheckoutSessionTaxIDCollectionParams
- type CheckoutSessionTotalDetails
- type CheckoutSessionTotalDetailsBreakdown
- type CheckoutSessionTotalDetailsBreakdownDiscount
- type CheckoutSessionTotalDetailsBreakdownTax
- type CodeVerificationFlow
- type ConnectCollectionTransfer
- type Country
- type CountrySpec
- type CountrySpecList
- type CountrySpecListParams
- type CountrySpecParams
- type Coupon
- type CouponAppliesTo
- type CouponAppliesToParams
- type CouponDuration
- type CouponList
- type CouponListParams
- type CouponParams
- type CreditNote
- type CreditNoteDiscountAmount
- type CreditNoteLineItem
- type CreditNoteLineItemDiscountAmount
- type CreditNoteLineItemList
- type CreditNoteLineItemListParams
- type CreditNoteLineItemListPreviewParams
- type CreditNoteLineItemType
- type CreditNoteLineParams
- type CreditNoteList
- type CreditNoteListParams
- type CreditNoteParams
- type CreditNotePreviewParams
- type CreditNoteReason
- type CreditNoteStatus
- type CreditNoteTaxAmount
- type CreditNoteType
- type CreditNoteVoidParams
- type Currency
- type Customer
- type CustomerBalanceTransaction
- type CustomerBalanceTransactionList
- type CustomerBalanceTransactionListParams
- type CustomerBalanceTransactionParams
- type CustomerBalanceTransactionType
- type CustomerCashBalanceParams
- type CustomerCashBalanceSettingsParams
- type CustomerCreateFundingInstructionsBankTransferParams
- type CustomerCreateFundingInstructionsParams
- type CustomerInvoiceCustomField
- type CustomerInvoiceCustomFieldParams
- type CustomerInvoiceSettings
- type CustomerInvoiceSettingsParams
- type CustomerList
- type CustomerListParams
- type CustomerListPaymentMethodsParams
- type CustomerParams
- type CustomerSearchParams
- type CustomerSearchResult
- type CustomerShippingDetails
- type CustomerShippingDetailsParams
- type CustomerSourceParams
- type CustomerTax
- type CustomerTaxAutomaticTax
- type CustomerTaxExempt
- type CustomerTaxIDDataParams
- type CustomerTaxLocation
- type CustomerTaxLocationSource
- type CustomerTaxParams
- type DOB
- type DOBParams
- type Deauthorize
- type DeauthorizeParams
- type DeclineCode
- type DeliveryEstimate
- type DestinationParams
- type Discount
- type DiscountParams
- type Dispute
- type DisputeEvidence
- type DisputeEvidenceParams
- type DisputeList
- type DisputeListParams
- type DisputeParams
- type DisputeReason
- type DisputeStatus
- type DocumentsCompanyAuthorizationParams
- type DocumentsParams
- type DocumentsPassportParams
- type DocumentsVisaParams
- type EphemeralKey
- type EphemeralKeyParams
- type Error
- type ErrorCode
- type ErrorType
- type Event
- type EventData
- type EventList
- type EventListParams
- type EventParams
- type EventRequest
- type EvidenceDetails
- type ExternalAccount
- type ExternalAccountList
- type ExternalAccountType
- type ExtraValues
- type FeeRefund
- type FeeRefundList
- type FeeRefundListParams
- type FeeRefundParams
- type File
- type FileFileLinkDataParams
- type FileLink
- type FileLinkList
- type FileLinkListParams
- type FileLinkParams
- type FileList
- type FileListParams
- type FileParams
- type FilePurpose
- type Filters
- type FinancialConnectionsAccount
- type FinancialConnectionsAccountAccountHolder
- type FinancialConnectionsAccountAccountHolderType
- type FinancialConnectionsAccountBalance
- type FinancialConnectionsAccountBalanceCash
- type FinancialConnectionsAccountBalanceCredit
- type FinancialConnectionsAccountBalanceRefresh
- type FinancialConnectionsAccountBalanceRefreshStatus
- type FinancialConnectionsAccountBalanceType
- type FinancialConnectionsAccountCategory
- type FinancialConnectionsAccountDisconnectParams
- type FinancialConnectionsAccountList
- type FinancialConnectionsAccountOwner
- type FinancialConnectionsAccountOwnerList
- type FinancialConnectionsAccountOwnership
- type FinancialConnectionsAccountOwnershipRefresh
- type FinancialConnectionsAccountOwnershipRefreshStatus
- type FinancialConnectionsAccountParams
- type FinancialConnectionsAccountPermission
- type FinancialConnectionsAccountRefreshParams
- type FinancialConnectionsAccountStatus
- type FinancialConnectionsAccountSubcategory
- type FinancialConnectionsAccountSupportedPaymentMethodType
- type FinancialConnectionsSession
- type FinancialConnectionsSessionAccountHolder
- type FinancialConnectionsSessionAccountHolderParams
- type FinancialConnectionsSessionAccountHolderType
- type FinancialConnectionsSessionFilters
- type FinancialConnectionsSessionFiltersParams
- type FinancialConnectionsSessionParams
- type FinancialConnectionsSessionPermission
- type FraudDetails
- type FraudDetailsParams
- type FundingInstructions
- type FundingInstructionsBankTransfer
- type FundingInstructionsBankTransferFinancialAddress
- type FundingInstructionsBankTransferFinancialAddressSupportedNetwork
- type FundingInstructionsBankTransferFinancialAddressType
- type FundingInstructionsBankTransferFinancialAddressZengin
- type FundingInstructionsBankTransferType
- type FundingInstructionsFundingType
- type IdempotencyError
- type IdentityVerificationReport
- type IdentityVerificationReportDocument
- type IdentityVerificationReportDocumentDOB
- type IdentityVerificationReportDocumentError
- type IdentityVerificationReportDocumentErrorCode
- type IdentityVerificationReportDocumentExpirationDate
- type IdentityVerificationReportDocumentIssuedDate
- type IdentityVerificationReportDocumentStatus
- type IdentityVerificationReportDocumentType
- type IdentityVerificationReportIDNumber
- type IdentityVerificationReportIDNumberDOB
- type IdentityVerificationReportIDNumberError
- type IdentityVerificationReportIDNumberErrorCode
- type IdentityVerificationReportIDNumberIDNumberType
- type IdentityVerificationReportIDNumberStatus
- type IdentityVerificationReportList
- type IdentityVerificationReportListParams
- type IdentityVerificationReportOptions
- type IdentityVerificationReportOptionsDocument
- type IdentityVerificationReportOptionsDocumentAllowedType
- type IdentityVerificationReportOptionsIDNumber
- type IdentityVerificationReportParams
- type IdentityVerificationReportSelfie
- type IdentityVerificationReportSelfieError
- type IdentityVerificationReportSelfieErrorCode
- type IdentityVerificationReportSelfieStatus
- type IdentityVerificationReportType
- type IdentityVerificationSession
- type IdentityVerificationSessionCancelParams
- type IdentityVerificationSessionLastError
- type IdentityVerificationSessionLastErrorCode
- type IdentityVerificationSessionList
- type IdentityVerificationSessionListParams
- type IdentityVerificationSessionOptions
- type IdentityVerificationSessionOptionsDocument
- type IdentityVerificationSessionOptionsDocumentAllowedType
- type IdentityVerificationSessionOptionsDocumentParams
- type IdentityVerificationSessionOptionsIDNumber
- type IdentityVerificationSessionOptionsParams
- type IdentityVerificationSessionParams
- type IdentityVerificationSessionRedactParams
- type IdentityVerificationSessionRedaction
- type IdentityVerificationSessionRedactionStatus
- type IdentityVerificationSessionStatus
- type IdentityVerificationSessionType
- type IdentityVerificationSessionVerifiedOutputs
- type IdentityVerificationSessionVerifiedOutputsDOB
- type IdentityVerificationSessionVerifiedOutputsIDNumberType
- type IdentityVerificationStatus
- type InvalidRequestError
- type Inventory
- type InventoryParams
- type Invoice
- type InvoiceAutomaticTax
- type InvoiceAutomaticTaxParams
- type InvoiceAutomaticTaxStatus
- type InvoiceBillingReason
- type InvoiceCollectionMethod
- type InvoiceCustomField
- type InvoiceCustomFieldParams
- type InvoiceCustomerTaxID
- type InvoiceDiscountAmount
- type InvoiceDiscountParams
- type InvoiceFinalizeParams
- type InvoiceItem
- type InvoiceItemDiscountParams
- type InvoiceItemList
- type InvoiceItemListParams
- type InvoiceItemParams
- type InvoiceItemPeriodParams
- type InvoiceItemPriceDataParams
- type InvoiceLine
- type InvoiceLineDiscountAmount
- type InvoiceLineList
- type InvoiceLineListParams
- type InvoiceLineProrationDetails
- type InvoiceLineProrationDetailsCreditedItems
- type InvoiceLineType
- type InvoiceList
- type InvoiceListParams
- type InvoiceMarkUncollectibleParams
- type InvoiceParams
- type InvoicePayParams
- type InvoicePaymentSettings
- type InvoicePaymentSettingsParams
- type InvoicePaymentSettingsPaymentMethodOptions
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebit
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebitMandateOptions
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebitMandateOptionsParams
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebitMandateOptionsTransactionType
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebitParams
- type InvoicePaymentSettingsPaymentMethodOptionsACSSDebitVerificationMethod
- type InvoicePaymentSettingsPaymentMethodOptionsBancontact
- type InvoicePaymentSettingsPaymentMethodOptionsBancontactParams
- type InvoicePaymentSettingsPaymentMethodOptionsCard
- type InvoicePaymentSettingsPaymentMethodOptionsCardParams
- type InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure
- type InvoicePaymentSettingsPaymentMethodOptionsCustomerBalance
- type InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
- type InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams
- type InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceFundingType
- type InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceParams
- type InvoicePaymentSettingsPaymentMethodOptionsKonbini
- type InvoicePaymentSettingsPaymentMethodOptionsKonbiniParams
- type InvoicePaymentSettingsPaymentMethodOptionsParams
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccount
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnections
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnectionsParams
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnectionsPermission
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccountParams
- type InvoicePaymentSettingsPaymentMethodOptionsUSBankAccountVerificationMethod
- type InvoicePaymentSettingsPaymentMethodType
- type InvoiceSearchParams
- type InvoiceSearchResult
- type InvoiceSendParams
- type InvoiceStatus
- type InvoiceStatusTransitions
- type InvoiceTaxAmount
- type InvoiceThresholdReason
- type InvoiceThresholdReasonItemReason
- type InvoiceTransferData
- type InvoiceTransferDataParams
- type InvoiceUpcomingAutomaticTaxParams
- type InvoiceUpcomingCustomerDetailsParams
- type InvoiceUpcomingCustomerDetailsShippingParams
- type InvoiceUpcomingCustomerDetailsTaxIDParams
- type InvoiceUpcomingCustomerDetailsTaxParams
- type InvoiceUpcomingInvoiceItemParams
- type InvoiceUpcomingInvoiceItemPeriodParams
- type InvoiceVoidParams
- type IssuingAuthorization
- type IssuingAuthorizationAmountDetails
- type IssuingAuthorizationApproveParams
- type IssuingAuthorizationAuthorizationMethod
- type IssuingAuthorizationDeclineParams
- type IssuingAuthorizationList
- type IssuingAuthorizationListParams
- type IssuingAuthorizationMerchantData
- type IssuingAuthorizationParams
- type IssuingAuthorizationPendingRequest
- type IssuingAuthorizationRequestHistory
- type IssuingAuthorizationRequestHistoryReason
- type IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity
- type IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName
- type IssuingAuthorizationStatus
- type IssuingAuthorizationVerificationData
- type IssuingAuthorizationVerificationDataCheck
- type IssuingAuthorizationWalletType
- type IssuingCard
- type IssuingCardCancellationReason
- type IssuingCardList
- type IssuingCardListParams
- type IssuingCardPINParams
- type IssuingCardParams
- type IssuingCardReplacementReason
- type IssuingCardShipping
- type IssuingCardShippingCarrier
- type IssuingCardShippingParams
- type IssuingCardShippingService
- type IssuingCardShippingStatus
- type IssuingCardShippingType
- type IssuingCardSpendingControls
- type IssuingCardSpendingControlsParams
- type IssuingCardSpendingControlsSpendingLimit
- type IssuingCardSpendingControlsSpendingLimitInterval
- type IssuingCardSpendingControlsSpendingLimitParams
- type IssuingCardStatus
- type IssuingCardType
- type IssuingCardWallets
- type IssuingCardWalletsApplePay
- type IssuingCardWalletsApplePayIneligibleReason
- type IssuingCardWalletsGooglePay
- type IssuingCardWalletsGooglePayIneligibleReason
- type IssuingCardholder
- type IssuingCardholderBilling
- type IssuingCardholderBillingParams
- type IssuingCardholderCompany
- type IssuingCardholderCompanyParams
- type IssuingCardholderIndividual
- type IssuingCardholderIndividualDOB
- type IssuingCardholderIndividualDOBParams
- type IssuingCardholderIndividualParams
- type IssuingCardholderIndividualVerification
- type IssuingCardholderIndividualVerificationDocument
- type IssuingCardholderIndividualVerificationDocumentParams
- type IssuingCardholderIndividualVerificationParams
- type IssuingCardholderList
- type IssuingCardholderListParams
- type IssuingCardholderParams
- type IssuingCardholderRequirements
- type IssuingCardholderRequirementsDisabledReason
- type IssuingCardholderSpendingControls
- type IssuingCardholderSpendingControlsParams
- type IssuingCardholderSpendingControlsSpendingLimit
- type IssuingCardholderSpendingControlsSpendingLimitInterval
- type IssuingCardholderSpendingControlsSpendingLimitParams
- type IssuingCardholderStatus
- type IssuingCardholderType
- type IssuingDispute
- type IssuingDisputeEvidence
- type IssuingDisputeEvidenceCanceled
- type IssuingDisputeEvidenceCanceledParams
- type IssuingDisputeEvidenceCanceledProductType
- type IssuingDisputeEvidenceCanceledReturnStatus
- type IssuingDisputeEvidenceDuplicate
- type IssuingDisputeEvidenceDuplicateParams
- type IssuingDisputeEvidenceFraudulent
- type IssuingDisputeEvidenceFraudulentParams
- type IssuingDisputeEvidenceMerchandiseNotAsDescribed
- type IssuingDisputeEvidenceMerchandiseNotAsDescribedParams
- type IssuingDisputeEvidenceMerchandiseNotAsDescribedReturnStatus
- type IssuingDisputeEvidenceNotReceived
- type IssuingDisputeEvidenceNotReceivedParams
- type IssuingDisputeEvidenceNotReceivedProductType
- type IssuingDisputeEvidenceOther
- type IssuingDisputeEvidenceOtherParams
- type IssuingDisputeEvidenceOtherProductType
- type IssuingDisputeEvidenceParams
- type IssuingDisputeEvidenceReason
- type IssuingDisputeEvidenceServiceNotAsDescribed
- type IssuingDisputeEvidenceServiceNotAsDescribedParams
- type IssuingDisputeEvidenceServiceNotAsDescribedProductType
- type IssuingDisputeList
- type IssuingDisputeListParams
- type IssuingDisputeParams
- type IssuingDisputeStatus
- type IssuingDisputeSubmitParams
- type IssuingTransaction
- type IssuingTransactionAmountDetails
- type IssuingTransactionList
- type IssuingTransactionListParams
- type IssuingTransactionParams
- type IssuingTransactionPurchaseDetails
- type IssuingTransactionPurchaseDetailsFlight
- type IssuingTransactionPurchaseDetailsFlightSegment
- type IssuingTransactionPurchaseDetailsFuel
- type IssuingTransactionPurchaseDetailsFuelType
- type IssuingTransactionPurchaseDetailsFuelUnit
- type IssuingTransactionPurchaseDetailsLodging
- type IssuingTransactionPurchaseDetailsReceipt
- type IssuingTransactionType
- type IssuingTransactionWallet
- type Iter
- type LastResponseSetter
- type Level
- type LeveledLogger
- type LeveledLoggerInterface
- type LineItem
- type LineItemDiscount
- type LineItemList
- type LineItemTax
- type ListContainer
- type ListMeta
- type ListParams
- type ListParamsContainer
- type LoginLink
- type LoginLinkParams
- type Mandate
- type MandateCustomerAcceptance
- type MandateCustomerAcceptanceOffline
- type MandateCustomerAcceptanceOnline
- type MandateCustomerAcceptanceType
- type MandateMultiUse
- type MandateParams
- type MandatePaymentMethodDetails
- type MandatePaymentMethodDetailsACSSDebit
- type MandatePaymentMethodDetailsACSSDebitDefaultFor
- type MandatePaymentMethodDetailsACSSDebitPaymentSchedule
- type MandatePaymentMethodDetailsACSSDebitTransactionType
- type MandatePaymentMethodDetailsAUBECSDebit
- type MandatePaymentMethodDetailsBACSDebit
- type MandatePaymentMethodDetailsBACSDebitNetworkStatus
- type MandatePaymentMethodDetailsCard
- type MandatePaymentMethodDetailsSepaDebit
- type MandatePaymentMethodDetailsUSBankAccount
- type MandateSingleUse
- type MandateStatus
- type MandateType
- type OAuthScopeType
- type OAuthStripeUserBusinessType
- type OAuthStripeUserGender
- type OAuthStripeUserParams
- type OAuthToken
- type OAuthTokenParams
- type OAuthTokenType
- type Order
- type OrderDeliveryEstimateType
- type OrderItem
- type OrderItemParams
- type OrderItemParent
- type OrderItemParentType
- type OrderItemType
- type OrderList
- type OrderListParams
- type OrderParams
- type OrderPayParams
- type OrderReturn
- type OrderReturnList
- type OrderReturnListParams
- type OrderReturnParams
- type OrderStatus
- type OrderUpdateParams
- type OrderUpdateShippingParams
- type PIIParams
- type PackageDimensions
- type PackageDimensionsParams
- type Params
- type ParamsContainer
- type PaymentIntent
- type PaymentIntentAmountDetails
- type PaymentIntentAmountDetailsTip
- type PaymentIntentApplyCustomerBalanceParams
- type PaymentIntentAutomaticPaymentMethods
- type PaymentIntentAutomaticPaymentMethodsParams
- type PaymentIntentCancelParams
- type PaymentIntentCancellationReason
- type PaymentIntentCaptureMethod
- type PaymentIntentCaptureParams
- type PaymentIntentConfirmParams
- type PaymentIntentConfirmationMethod
- type PaymentIntentIncrementAuthorizationParams
- type PaymentIntentIncrementAuthorizationTransferDataParams
- type PaymentIntentList
- type PaymentIntentListParams
- type PaymentIntentMandateDataCustomerAcceptanceOfflineParams
- type PaymentIntentMandateDataCustomerAcceptanceOnlineParams
- type PaymentIntentMandateDataCustomerAcceptanceParams
- type PaymentIntentMandateDataParams
- type PaymentIntentNextAction
- type PaymentIntentNextActionAlipayHandleRedirect
- type PaymentIntentNextActionBoletoDisplayDetails
- type PaymentIntentNextActionCardAwaitNotification
- type PaymentIntentNextActionDisplayBankTransferInstructions
- type PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddress
- type PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressSupportedNetwork
- type PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressType
- type PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressZengin
- type PaymentIntentNextActionDisplayBankTransferInstructionsType
- type PaymentIntentNextActionKonbiniDisplayDetails
- type PaymentIntentNextActionKonbiniDisplayDetailsStores
- type PaymentIntentNextActionKonbiniDisplayDetailsStoresFamilyMart
- type PaymentIntentNextActionKonbiniDisplayDetailsStoresLawson
- type PaymentIntentNextActionKonbiniDisplayDetailsStoresMinistop
- type PaymentIntentNextActionKonbiniDisplayDetailsStoresSeicomart
- type PaymentIntentNextActionOXXODisplayDetails
- type PaymentIntentNextActionPayNowDisplayQRCode
- type PaymentIntentNextActionRedirectToURL
- type PaymentIntentNextActionType
- type PaymentIntentNextActionUseStripeSDK
- type PaymentIntentNextActionVerifyWithMicrodeposits
- type PaymentIntentNextActionVerifyWithMicrodepositsMicrodepositType
- type PaymentIntentNextActionWechatPayDisplayQRCode
- type PaymentIntentNextActionWechatPayRedirectToAndroidApp
- type PaymentIntentNextActionWechatPayRedirectToIOSApp
- type PaymentIntentOffSession
- type PaymentIntentParams
- type PaymentIntentPaymentMethodDataCustomerBalanceParams
- type PaymentIntentPaymentMethodDataKonbiniParams
- type PaymentIntentPaymentMethodDataParams
- type PaymentIntentPaymentMethodDataPayNowParams
- type PaymentIntentPaymentMethodDataUSBankAccountParams
- type PaymentIntentPaymentMethodOptions
- type PaymentIntentPaymentMethodOptionsACSSDebit
- type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptions
- type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsParams
- type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule
- type PaymentIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType
- type PaymentIntentPaymentMethodOptionsACSSDebitParams
- type PaymentIntentPaymentMethodOptionsACSSDebitSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsACSSDebitVerificationMethod
- type PaymentIntentPaymentMethodOptionsAUBECSDebit
- type PaymentIntentPaymentMethodOptionsAUBECSDebitParams
- type PaymentIntentPaymentMethodOptionsAUBECSDebitSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsAfterpayClearpay
- type PaymentIntentPaymentMethodOptionsAfterpayClearpayCaptureMethod
- type PaymentIntentPaymentMethodOptionsAfterpayClearpayParams
- type PaymentIntentPaymentMethodOptionsAfterpayClearpaySetupFutureUsage
- type PaymentIntentPaymentMethodOptionsAlipay
- type PaymentIntentPaymentMethodOptionsAlipayParams
- type PaymentIntentPaymentMethodOptionsAlipaySetupFutureUsage
- type PaymentIntentPaymentMethodOptionsBACSDebit
- type PaymentIntentPaymentMethodOptionsBACSDebitParams
- type PaymentIntentPaymentMethodOptionsBACSDebitSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsBancontact
- type PaymentIntentPaymentMethodOptionsBancontactParams
- type PaymentIntentPaymentMethodOptionsBancontactSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsBoleto
- type PaymentIntentPaymentMethodOptionsBoletoParams
- type PaymentIntentPaymentMethodOptionsBoletoSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsCard
- type PaymentIntentPaymentMethodOptionsCardCaptureMethod
- type PaymentIntentPaymentMethodOptionsCardInstallments
- type PaymentIntentPaymentMethodOptionsCardInstallmentsParams
- type PaymentIntentPaymentMethodOptionsCardInstallmentsPlan
- type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval
- type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams
- type PaymentIntentPaymentMethodOptionsCardInstallmentsPlanType
- type PaymentIntentPaymentMethodOptionsCardMandateOptions
- type PaymentIntentPaymentMethodOptionsCardMandateOptionsAmountType
- type PaymentIntentPaymentMethodOptionsCardMandateOptionsInterval
- type PaymentIntentPaymentMethodOptionsCardMandateOptionsParams
- type PaymentIntentPaymentMethodOptionsCardMandateOptionsSupportedType
- type PaymentIntentPaymentMethodOptionsCardParams
- type PaymentIntentPaymentMethodOptionsCardPresent
- type PaymentIntentPaymentMethodOptionsCardPresentParams
- type PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
- type PaymentIntentPaymentMethodOptionsCardSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsCustomerBalance
- type PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
- type PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferParams
- type PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressType
- type PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
- type PaymentIntentPaymentMethodOptionsCustomerBalanceFundingType
- type PaymentIntentPaymentMethodOptionsCustomerBalanceParams
- type PaymentIntentPaymentMethodOptionsCustomerBalanceSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsEPS
- type PaymentIntentPaymentMethodOptionsEPSParams
- type PaymentIntentPaymentMethodOptionsEPSSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsFPX
- type PaymentIntentPaymentMethodOptionsFPXParams
- type PaymentIntentPaymentMethodOptionsFPXSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsGiropay
- type PaymentIntentPaymentMethodOptionsGiropayParams
- type PaymentIntentPaymentMethodOptionsGiropaySetupFutureUsage
- type PaymentIntentPaymentMethodOptionsGrabpay
- type PaymentIntentPaymentMethodOptionsGrabpayParams
- type PaymentIntentPaymentMethodOptionsGrabpaySetupFutureUsage
- type PaymentIntentPaymentMethodOptionsIdeal
- type PaymentIntentPaymentMethodOptionsIdealParams
- type PaymentIntentPaymentMethodOptionsIdealSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsInteracPresent
- type PaymentIntentPaymentMethodOptionsInteracPresentParams
- type PaymentIntentPaymentMethodOptionsKlarna
- type PaymentIntentPaymentMethodOptionsKlarnaCaptureMethod
- type PaymentIntentPaymentMethodOptionsKlarnaParams
- type PaymentIntentPaymentMethodOptionsKlarnaSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsKonbini
- type PaymentIntentPaymentMethodOptionsKonbiniParams
- type PaymentIntentPaymentMethodOptionsKonbiniSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsOXXO
- type PaymentIntentPaymentMethodOptionsOXXOParams
- type PaymentIntentPaymentMethodOptionsOXXOSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsP24
- type PaymentIntentPaymentMethodOptionsP24Params
- type PaymentIntentPaymentMethodOptionsP24SetupFutureUsage
- type PaymentIntentPaymentMethodOptionsParams
- type PaymentIntentPaymentMethodOptionsPayNow
- type PaymentIntentPaymentMethodOptionsPayNowParams
- type PaymentIntentPaymentMethodOptionsPayNowSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsSepaDebit
- type PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions
- type PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
- type PaymentIntentPaymentMethodOptionsSepaDebitParams
- type PaymentIntentPaymentMethodOptionsSepaDebitSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsSofort
- type PaymentIntentPaymentMethodOptionsSofortParams
- type PaymentIntentPaymentMethodOptionsSofortSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsUSBankAccount
- type PaymentIntentPaymentMethodOptionsUSBankAccountFinancialConnections
- type PaymentIntentPaymentMethodOptionsUSBankAccountFinancialConnectionsParams
- type PaymentIntentPaymentMethodOptionsUSBankAccountFinancialConnectionsPermission
- type PaymentIntentPaymentMethodOptionsUSBankAccountParams
- type PaymentIntentPaymentMethodOptionsUSBankAccountSetupFutureUsage
- type PaymentIntentPaymentMethodOptionsUSBankAccountVerificationMethod
- type PaymentIntentPaymentMethodOptionsWechatPay
- type PaymentIntentPaymentMethodOptionsWechatPayClient
- type PaymentIntentPaymentMethodOptionsWechatPayParams
- type PaymentIntentPaymentMethodOptionsWechatPaySetupFutureUsage
- type PaymentIntentProcessing
- type PaymentIntentProcessingCard
- type PaymentIntentProcessingCardCustomerNotification
- type PaymentIntentProcessingType
- type PaymentIntentSearchParams
- type PaymentIntentSearchResult
- type PaymentIntentSetupFutureUsage
- type PaymentIntentStatus
- type PaymentIntentTransferData
- type PaymentIntentTransferDataParams
- type PaymentIntentVerifyMicrodepositsParams
- type PaymentLink
- type PaymentLinkAfterCompletion
- type PaymentLinkAfterCompletionHostedConfirmation
- type PaymentLinkAfterCompletionHostedConfirmationParams
- type PaymentLinkAfterCompletionParams
- type PaymentLinkAfterCompletionRedirect
- type PaymentLinkAfterCompletionRedirectParams
- type PaymentLinkAfterCompletionType
- type PaymentLinkAutomaticTax
- type PaymentLinkAutomaticTaxParams
- type PaymentLinkBillingAddressCollection
- type PaymentLinkLineItemAdjustableQuantityParams
- type PaymentLinkLineItemParams
- type PaymentLinkList
- type PaymentLinkListLineItemsParams
- type PaymentLinkListParams
- type PaymentLinkParams
- type PaymentLinkPaymentMethodType
- type PaymentLinkPhoneNumberCollection
- type PaymentLinkPhoneNumberCollectionParams
- type PaymentLinkShippingAddressCollection
- type PaymentLinkShippingAddressCollectionParams
- type PaymentLinkSubscriptionData
- type PaymentLinkSubscriptionDataParams
- type PaymentLinkTransferData
- type PaymentLinkTransferDataParams
- type PaymentMethod
- type PaymentMethodACSSDebit
- type PaymentMethodACSSDebitParams
- type PaymentMethodAUBECSDebit
- type PaymentMethodAUBECSDebitParams
- type PaymentMethodAfterpayClearpay
- type PaymentMethodAfterpayClearpayParams
- type PaymentMethodAlipay
- type PaymentMethodAlipayParams
- type PaymentMethodAttachParams
- type PaymentMethodBACSDebit
- type PaymentMethodBACSDebitParams
- type PaymentMethodBancontact
- type PaymentMethodBancontactParams
- type PaymentMethodBoleto
- type PaymentMethodBoletoParams
- type PaymentMethodCard
- type PaymentMethodCardBrand
- type PaymentMethodCardChecks
- type PaymentMethodCardNetwork
- type PaymentMethodCardNetworks
- type PaymentMethodCardParams
- type PaymentMethodCardPresent
- type PaymentMethodCardThreeDSecureUsage
- type PaymentMethodCardWallet
- type PaymentMethodCardWalletAmexExpressCheckout
- type PaymentMethodCardWalletApplePay
- type PaymentMethodCardWalletGooglePay
- type PaymentMethodCardWalletMasterpass
- type PaymentMethodCardWalletSamsungPay
- type PaymentMethodCardWalletType
- type PaymentMethodCardWalletVisaCheckout
- type PaymentMethodCustomerBalance
- type PaymentMethodCustomerBalanceParams
- type PaymentMethodDetachParams
- type PaymentMethodEPS
- type PaymentMethodEPSParams
- type PaymentMethodFPX
- type PaymentMethodFPXAccountHolderType
- type PaymentMethodFPXParams
- type PaymentMethodGiropay
- type PaymentMethodGiropayParams
- type PaymentMethodGrabpay
- type PaymentMethodGrabpayParams
- type PaymentMethodIdeal
- type PaymentMethodIdealParams
- type PaymentMethodInteracPresent
- type PaymentMethodInteracPresentParams
- type PaymentMethodKlarna
- type PaymentMethodKlarnaDOB
- type PaymentMethodKlarnaDOBParams
- type PaymentMethodKlarnaParams
- type PaymentMethodKonbini
- type PaymentMethodKonbiniParams
- type PaymentMethodList
- type PaymentMethodListParams
- type PaymentMethodOXXO
- type PaymentMethodOXXOParams
- type PaymentMethodP24
- type PaymentMethodP24Params
- type PaymentMethodParams
- type PaymentMethodPayNow
- type PaymentMethodPayNowParams
- type PaymentMethodSepaDebit
- type PaymentMethodSepaDebitGeneratedFrom
- type PaymentMethodSepaDebitParams
- type PaymentMethodSofort
- type PaymentMethodSofortParams
- type PaymentMethodType
- type PaymentMethodUSBankAccount
- type PaymentMethodUSBankAccountAccountHolderType
- type PaymentMethodUSBankAccountAccountType
- type PaymentMethodUSBankAccountParams
- type PaymentMethodWechatPay
- type PaymentMethodWechatPayParams
- type PaymentSource
- type PaymentSourceOwnerParams
- type PaymentSourceType
- type Payout
- type PayoutDestination
- type PayoutDestinationType
- type PayoutFailureCode
- type PayoutInterval
- type PayoutList
- type PayoutListParams
- type PayoutMethodType
- type PayoutParams
- type PayoutReverseParams
- type PayoutScheduleParams
- type PayoutSourceType
- type PayoutStatus
- type PayoutType
- type Period
- type PermissionError
- type Person
- type PersonFutureRequirements
- type PersonFutureRequirementsAlternative
- type PersonFutureRequirementsError
- type PersonList
- type PersonListParams
- type PersonParams
- type PersonPoliticalExposure
- type PersonRequirementsAlternative
- type PersonVerification
- type PersonVerificationDetailsCode
- type PersonVerificationDocument
- type PersonVerificationDocumentParams
- type PersonVerificationParams
- type Plan
- type PlanAggregateUsage
- type PlanBillingScheme
- type PlanInterval
- type PlanList
- type PlanListParams
- type PlanParams
- type PlanProductParams
- type PlanTier
- type PlanTierParams
- type PlanTiersMode
- type PlanTransformUsage
- type PlanTransformUsageParams
- type PlanTransformUsageRound
- type PlanUsageType
- type Price
- type PriceBillingScheme
- type PriceList
- type PriceListParams
- type PriceParams
- type PriceProductDataParams
- type PriceRecurring
- type PriceRecurringAggregateUsage
- type PriceRecurringInterval
- type PriceRecurringListParams
- type PriceRecurringParams
- type PriceRecurringUsageType
- type PriceSearchParams
- type PriceSearchResult
- type PriceTaxBehavior
- type PriceTier
- type PriceTierParams
- type PriceTiersMode
- type PriceTransformQuantity
- type PriceTransformQuantityParams
- type PriceTransformQuantityRound
- type PriceType
- type Product
- type ProductDefaultPriceDataParams
- type ProductDefaultPriceDataRecurringParams
- type ProductList
- type ProductListParams
- type ProductParams
- type ProductSearchParams
- type ProductSearchResult
- type ProductType
- type PromotionCode
- type PromotionCodeList
- type PromotionCodeListParams
- type PromotionCodeParams
- type PromotionCodeRestrictions
- type PromotionCodeRestrictionsParams
- type Query
- type Quote
- type QuoteAcceptParams
- type QuoteAutomaticTax
- type QuoteAutomaticTaxParams
- type QuoteAutomaticTaxStatus
- type QuoteCancelParams
- type QuoteCollectionMethod
- type QuoteComputed
- type QuoteComputedRecurring
- type QuoteComputedRecurringInterval
- type QuoteComputedRecurringTotalDetails
- type QuoteComputedRecurringTotalDetailsBreakdown
- type QuoteComputedRecurringTotalDetailsBreakdownDiscount
- type QuoteComputedRecurringTotalDetailsBreakdownTax
- type QuoteComputedUpfront
- type QuoteComputedUpfrontTotalDetails
- type QuoteComputedUpfrontTotalDetailsBreakdown
- type QuoteComputedUpfrontTotalDetailsBreakdownDiscount
- type QuoteComputedUpfrontTotalDetailsBreakdownTax
- type QuoteDiscountParams
- type QuoteFinalizeQuoteParams
- type QuoteFromQuote
- type QuoteFromQuoteParams
- type QuoteInvoiceSettings
- type QuoteInvoiceSettingsParams
- type QuoteLineItemParams
- type QuoteLineItemPriceDataParams
- type QuoteLineItemPriceDataRecurringParams
- type QuoteList
- type QuoteListComputedUpfrontLineItemsParams
- type QuoteListLineItemsParams
- type QuoteListParams
- type QuotePDFParams
- type QuoteParams
- type QuoteStatus
- type QuoteStatusTransitions
- type QuoteSubscriptionData
- type QuoteSubscriptionDataParams
- type QuoteTotalDetails
- type QuoteTotalDetailsBreakdown
- type QuoteTotalDetailsBreakdownDiscount
- type QuoteTotalDetailsBreakdownTax
- type QuoteTransferData
- type QuoteTransferDataParams
- type RadarEarlyFraudWarning
- type RadarEarlyFraudWarningFraudType
- type RadarEarlyFraudWarningList
- type RadarEarlyFraudWarningListParams
- type RadarEarlyFraudWarningParams
- type RadarValueList
- type RadarValueListItem
- type RadarValueListItemList
- type RadarValueListItemListParams
- type RadarValueListItemParams
- type RadarValueListItemType
- type RadarValueListList
- type RadarValueListListParams
- type RadarValueListParams
- type RangeQueryParams
- type RateLimitError
- type ReceiverFlow
- type RedirectFlow
- type RedirectParams
- type Refund
- type RefundCancelParams
- type RefundFailureReason
- type RefundList
- type RefundListParams
- type RefundNextAction
- type RefundNextActionDisplayDetails
- type RefundNextActionDisplayDetailsEmailSent
- type RefundParams
- type RefundReason
- type RefundStatus
- type Relationship
- type RelationshipListParams
- type RelationshipParams
- type ReportRun
- type ReportRunList
- type ReportRunListParams
- type ReportRunParameters
- type ReportRunParametersParams
- type ReportRunParams
- type ReportRunStatus
- type ReportType
- type ReportTypeList
- type ReportTypeListParams
- type ReportTypeParams
- type Requirements
- type Reversal
- type ReversalList
- type ReversalListParams
- type ReversalParams
- type Review
- type ReviewApproveParams
- type ReviewClosedReason
- type ReviewIPAddressLocation
- type ReviewList
- type ReviewListParams
- type ReviewOpenedReason
- type ReviewParams
- type ReviewReason
- type ReviewReasonTypedeprecated
- type ReviewSession
- type SKU
- type SKUInventoryType
- type SKUInventoryValue
- type SKUList
- type SKUListParams
- type SKUParams
- type SearchContainer
- type SearchIter
- type SearchMeta
- type SearchParams
- type SearchParamsContainer
- type SearchQuery
- type SetupAttempt
- type SetupAttemptList
- type SetupAttemptListParams
- type SetupAttemptPaymentMethodDetails
- type SetupAttemptPaymentMethodDetailsACSSDebit
- type SetupAttemptPaymentMethodDetailsAUBECSDebit
- type SetupAttemptPaymentMethodDetailsBACSDebit
- type SetupAttemptPaymentMethodDetailsBancontact
- type SetupAttemptPaymentMethodDetailsBoleto
- type SetupAttemptPaymentMethodDetailsCard
- type SetupAttemptPaymentMethodDetailsCardPresent
- type SetupAttemptPaymentMethodDetailsCardThreeDSecure
- type SetupAttemptPaymentMethodDetailsCardThreeDSecureAuthenticationFlow
- type SetupAttemptPaymentMethodDetailsCardThreeDSecureResult
- type SetupAttemptPaymentMethodDetailsCardThreeDSecureResultReason
- type SetupAttemptPaymentMethodDetailsIdeal
- type SetupAttemptPaymentMethodDetailsSepaDebit
- type SetupAttemptPaymentMethodDetailsSofort
- type SetupAttemptPaymentMethodDetailsType
- type SetupAttemptPaymentMethodDetailsUSBankAccount
- type SetupAttemptStatus
- type SetupAttemptUsage
- type SetupIntent
- type SetupIntentCancelParams
- type SetupIntentCancellationReason
- type SetupIntentConfirmParams
- type SetupIntentConfirmPaymentMethodDataACSSDebitParams
- type SetupIntentConfirmPaymentMethodDataAUBECSDebitParams
- type SetupIntentConfirmPaymentMethodDataAfterpayClearpayParams
- type SetupIntentConfirmPaymentMethodDataAlipayParams
- type SetupIntentConfirmPaymentMethodDataBACSDebitParams
- type SetupIntentConfirmPaymentMethodDataBancontactParams
- type SetupIntentConfirmPaymentMethodDataBillingDetailsParams
- type SetupIntentConfirmPaymentMethodDataBoletoParams
- type SetupIntentConfirmPaymentMethodDataCustomerBalanceParams
- type SetupIntentConfirmPaymentMethodDataEPSParams
- type SetupIntentConfirmPaymentMethodDataFPXParams
- type SetupIntentConfirmPaymentMethodDataGiropayParams
- type SetupIntentConfirmPaymentMethodDataGrabpayParams
- type SetupIntentConfirmPaymentMethodDataIdealParams
- type SetupIntentConfirmPaymentMethodDataInteracPresentParams
- type SetupIntentConfirmPaymentMethodDataKlarnaDOBParams
- type SetupIntentConfirmPaymentMethodDataKlarnaParams
- type SetupIntentConfirmPaymentMethodDataKonbiniParams
- type SetupIntentConfirmPaymentMethodDataOXXOParams
- type SetupIntentConfirmPaymentMethodDataP24Params
- type SetupIntentConfirmPaymentMethodDataParams
- type SetupIntentConfirmPaymentMethodDataPayNowParams
- type SetupIntentConfirmPaymentMethodDataSepaDebitParams
- type SetupIntentConfirmPaymentMethodDataSofortParams
- type SetupIntentConfirmPaymentMethodDataUSBankAccountParams
- type SetupIntentConfirmPaymentMethodDataWechatPayParams
- type SetupIntentList
- type SetupIntentListParams
- type SetupIntentMandateDataCustomerAcceptanceOfflineParams
- type SetupIntentMandateDataCustomerAcceptanceOnlineParams
- type SetupIntentMandateDataCustomerAcceptanceParams
- type SetupIntentMandateDataParams
- type SetupIntentNextAction
- type SetupIntentNextActionRedirectToURL
- type SetupIntentNextActionType
- type SetupIntentNextActionUseStripeSDK
- type SetupIntentNextActionVerifyWithMicrodeposits
- type SetupIntentNextActionVerifyWithMicrodepositsMicrodepositType
- type SetupIntentParams
- type SetupIntentPaymentMethodDataACSSDebitParams
- type SetupIntentPaymentMethodDataAUBECSDebitParams
- type SetupIntentPaymentMethodDataAfterpayClearpayParams
- type SetupIntentPaymentMethodDataAlipayParams
- type SetupIntentPaymentMethodDataBACSDebitParams
- type SetupIntentPaymentMethodDataBancontactParams
- type SetupIntentPaymentMethodDataBillingDetailsParams
- type SetupIntentPaymentMethodDataBoletoParams
- type SetupIntentPaymentMethodDataCustomerBalanceParams
- type SetupIntentPaymentMethodDataEPSParams
- type SetupIntentPaymentMethodDataFPXParams
- type SetupIntentPaymentMethodDataGiropayParams
- type SetupIntentPaymentMethodDataGrabpayParams
- type SetupIntentPaymentMethodDataIdealParams
- type SetupIntentPaymentMethodDataInteracPresentParams
- type SetupIntentPaymentMethodDataKlarnaDOBParams
- type SetupIntentPaymentMethodDataKlarnaParams
- type SetupIntentPaymentMethodDataKonbiniParams
- type SetupIntentPaymentMethodDataOXXOParams
- type SetupIntentPaymentMethodDataP24Params
- type SetupIntentPaymentMethodDataParams
- type SetupIntentPaymentMethodDataPayNowParams
- type SetupIntentPaymentMethodDataSepaDebitParams
- type SetupIntentPaymentMethodDataSofortParams
- type SetupIntentPaymentMethodDataUSBankAccountParams
- type SetupIntentPaymentMethodDataWechatPayParams
- type SetupIntentPaymentMethodOptions
- type SetupIntentPaymentMethodOptionsACSSDebit
- type SetupIntentPaymentMethodOptionsACSSDebitCurrency
- type SetupIntentPaymentMethodOptionsACSSDebitMandateOptions
- type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsDefaultFor
- type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams
- type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsPaymentSchedule
- type SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsTransactionType
- type SetupIntentPaymentMethodOptionsACSSDebitParams
- type SetupIntentPaymentMethodOptionsACSSDebitVerificationMethod
- type SetupIntentPaymentMethodOptionsCard
- type SetupIntentPaymentMethodOptionsCardMandateOptions
- type SetupIntentPaymentMethodOptionsCardMandateOptionsAmountType
- type SetupIntentPaymentMethodOptionsCardMandateOptionsInterval
- type SetupIntentPaymentMethodOptionsCardMandateOptionsParams
- type SetupIntentPaymentMethodOptionsCardMandateOptionsSupportedType
- type SetupIntentPaymentMethodOptionsCardParams
- type SetupIntentPaymentMethodOptionsCardRequestThreeDSecure
- type SetupIntentPaymentMethodOptionsParams
- type SetupIntentPaymentMethodOptionsSepaDebit
- type SetupIntentPaymentMethodOptionsSepaDebitMandateOptions
- type SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
- type SetupIntentPaymentMethodOptionsSepaDebitParams
- type SetupIntentPaymentMethodOptionsUSBankAccount
- type SetupIntentPaymentMethodOptionsUSBankAccountFinancialConnections
- type SetupIntentPaymentMethodOptionsUSBankAccountFinancialConnectionsParams
- type SetupIntentPaymentMethodOptionsUSBankAccountFinancialConnectionsPermission
- type SetupIntentPaymentMethodOptionsUSBankAccountParams
- type SetupIntentPaymentMethodOptionsUSBankAccountVerificationMethod
- type SetupIntentSingleUseParams
- type SetupIntentStatus
- type SetupIntentUsage
- type SetupIntentVerifyMicrodepositsParams
- type Shipping
- type ShippingDetails
- type ShippingDetailsParams
- type ShippingMethod
- type ShippingParams
- type ShippingRate
- type ShippingRateDeliveryEstimate
- type ShippingRateDeliveryEstimateMaximum
- type ShippingRateDeliveryEstimateMaximumParams
- type ShippingRateDeliveryEstimateMaximumUnit
- type ShippingRateDeliveryEstimateMinimum
- type ShippingRateDeliveryEstimateMinimumParams
- type ShippingRateDeliveryEstimateMinimumUnit
- type ShippingRateDeliveryEstimateParams
- type ShippingRateFixedAmount
- type ShippingRateFixedAmountParams
- type ShippingRateList
- type ShippingRateListParams
- type ShippingRateParams
- type ShippingRateTaxBehavior
- type ShippingRateType
- type SigmaScheduledQueryRun
- type SigmaScheduledQueryRunError
- type SigmaScheduledQueryRunList
- type SigmaScheduledQueryRunListParams
- type SigmaScheduledQueryRunParams
- type SigmaScheduledQueryRunStatus
- type Source
- type SourceCodeVerificationFlowStatus
- type SourceFlow
- type SourceList
- type SourceListParams
- type SourceMandate
- type SourceMandateAcceptance
- type SourceMandateAcceptanceOfflineParams
- type SourceMandateAcceptanceOnlineParams
- type SourceMandateAcceptanceParams
- type SourceMandateAcceptanceStatus
- type SourceMandateNotificationMethod
- type SourceMandateParams
- type SourceObjectDetachParams
- type SourceObjectParams
- type SourceOrderItemsParams
- type SourceOrderParams
- type SourceOwner
- type SourceOwnerParams
- type SourceParams
- type SourceReceiverParams
- type SourceRedirectFlowFailureReason
- type SourceRedirectFlowStatus
- type SourceRefundAttributesMethod
- type SourceRefundAttributesStatus
- type SourceSourceOrder
- type SourceSourceOrderItemType
- type SourceSourceOrderItems
- type SourceStatus
- type SourceTransaction
- type SourceTransactionList
- type SourceTransactionListParams
- type SourceUsage
- type SourceVerifyParams
- type StatusTransitions
- type StatusTransitionsFilterParams
- type StreamingAPIResponse
- type StreamingLastResponseSetter
- type Subscription
- type SubscriptionAddInvoiceItemParams
- type SubscriptionAutomaticTax
- type SubscriptionAutomaticTaxParams
- type SubscriptionBillingThresholds
- type SubscriptionBillingThresholdsParams
- type SubscriptionCancelParams
- type SubscriptionCollectionMethod
- type SubscriptionItem
- type SubscriptionItemBillingThresholds
- type SubscriptionItemBillingThresholdsParams
- type SubscriptionItemList
- type SubscriptionItemListParams
- type SubscriptionItemParams
- type SubscriptionItemPriceDataParams
- type SubscriptionItemPriceDataRecurringParams
- type SubscriptionItemsParams
- type SubscriptionList
- type SubscriptionListParams
- type SubscriptionParams
- type SubscriptionPauseCollection
- type SubscriptionPauseCollectionBehavior
- type SubscriptionPauseCollectionParams
- type SubscriptionPaymentBehavior
- type SubscriptionPaymentSettings
- type SubscriptionPaymentSettingsParams
- type SubscriptionPaymentSettingsPaymentMethodOptions
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebit
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebitMandateOptions
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebitMandateOptionsParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebitMandateOptionsTransactionType
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebitParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsACSSDebitVerificationMethod
- type SubscriptionPaymentSettingsPaymentMethodOptionsBancontact
- type SubscriptionPaymentSettingsPaymentMethodOptionsBancontactParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsCard
- type SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
- type SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsAmountType
- type SubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsCardParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure
- type SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalance
- type SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
- type SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceFundingType
- type SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsKonbini
- type SubscriptionPaymentSettingsPaymentMethodOptionsKonbiniParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccount
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnections
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnectionsParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccountFinancialConnectionsPermission
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccountParams
- type SubscriptionPaymentSettingsPaymentMethodOptionsUSBankAccountVerificationMethod
- type SubscriptionPaymentSettingsPaymentMethodType
- type SubscriptionPendingInvoiceItemInterval
- type SubscriptionPendingInvoiceItemIntervalInterval
- type SubscriptionPendingInvoiceItemIntervalParams
- type SubscriptionPendingUpdate
- type SubscriptionProrationBehavior
- type SubscriptionSchedule
- type SubscriptionScheduleCancelParams
- type SubscriptionScheduleCurrentPhase
- type SubscriptionScheduleDefaultSettings
- type SubscriptionScheduleDefaultSettingsParams
- type SubscriptionScheduleEndBehavior
- type SubscriptionScheduleInvoiceSettings
- type SubscriptionScheduleInvoiceSettingsParams
- type SubscriptionScheduleList
- type SubscriptionScheduleListParams
- type SubscriptionScheduleParams
- type SubscriptionSchedulePhase
- type SubscriptionSchedulePhaseAddInvoiceItem
- type SubscriptionSchedulePhaseAddInvoiceItemParams
- type SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams
- type SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams
- type SubscriptionSchedulePhaseAutomaticTaxParams
- type SubscriptionSchedulePhaseBillingCycleAnchor
- type SubscriptionSchedulePhaseItem
- type SubscriptionSchedulePhaseItemParams
- type SubscriptionSchedulePhaseParams
- type SubscriptionSchedulePhaseProrationBehavior
- type SubscriptionScheduleReleaseParams
- type SubscriptionScheduleStatus
- type SubscriptionSearchParams
- type SubscriptionSearchResult
- type SubscriptionStatus
- type SubscriptionTransferData
- type SubscriptionTransferDataParams
- type SupportedBackend
- type TaxCode
- type TaxCodeList
- type TaxCodeListParams
- type TaxCodeParams
- type TaxID
- type TaxIDList
- type TaxIDListParams
- type TaxIDParams
- type TaxIDType
- type TaxIDVerification
- type TaxIDVerificationStatus
- type TaxRate
- type TaxRateList
- type TaxRateListParams
- type TaxRateParams
- type TaxRateTaxType
- type TerminalConfiguration
- type TerminalConfigurationBBPOSWisePOSE
- type TerminalConfigurationBBPOSWisePOSEParams
- type TerminalConfigurationList
- type TerminalConfigurationListParams
- type TerminalConfigurationParams
- type TerminalConfigurationTipping
- type TerminalConfigurationTippingAUD
- type TerminalConfigurationTippingAUDParams
- type TerminalConfigurationTippingCAD
- type TerminalConfigurationTippingCADParams
- type TerminalConfigurationTippingCHF
- type TerminalConfigurationTippingCHFParams
- type TerminalConfigurationTippingDKK
- type TerminalConfigurationTippingDKKParams
- type TerminalConfigurationTippingEUR
- type TerminalConfigurationTippingEURParams
- type TerminalConfigurationTippingGBP
- type TerminalConfigurationTippingGBPParams
- type TerminalConfigurationTippingHKD
- type TerminalConfigurationTippingHKDParams
- type TerminalConfigurationTippingMYR
- type TerminalConfigurationTippingMYRParams
- type TerminalConfigurationTippingNOK
- type TerminalConfigurationTippingNOKParams
- type TerminalConfigurationTippingNZD
- type TerminalConfigurationTippingNZDParams
- type TerminalConfigurationTippingParams
- type TerminalConfigurationTippingSEK
- type TerminalConfigurationTippingSEKParams
- type TerminalConfigurationTippingSGD
- type TerminalConfigurationTippingSGDParams
- type TerminalConfigurationTippingUSD
- type TerminalConfigurationTippingUSDParams
- type TerminalConfigurationVerifoneP400
- type TerminalConfigurationVerifoneP400Params
- type TerminalConnectionToken
- type TerminalConnectionTokenParams
- type TerminalLocation
- type TerminalLocationList
- type TerminalLocationListParams
- type TerminalLocationParams
- type TerminalReader
- type TerminalReaderAction
- type TerminalReaderActionProcessPaymentIntent
- type TerminalReaderActionProcessSetupIntent
- type TerminalReaderActionSetReaderDisplay
- type TerminalReaderActionSetReaderDisplayCart
- type TerminalReaderActionSetReaderDisplayCartLineItem
- type TerminalReaderActionSetReaderDisplayType
- type TerminalReaderActionStatus
- type TerminalReaderActionType
- type TerminalReaderCancelActionParams
- type TerminalReaderDeviceType
- type TerminalReaderGetParams
- type TerminalReaderList
- type TerminalReaderListParams
- type TerminalReaderParams
- type TerminalReaderProcessPaymentIntentParams
- type TerminalReaderProcessPaymentIntentProcessConfigParams
- type TerminalReaderProcessSetupIntentParams
- type TerminalReaderSetReaderDisplayCartLineItemParams
- type TerminalReaderSetReaderDisplayCartParams
- type TerminalReaderSetReaderDisplayParams
- type TestHelpersRefundExpireParams
- type TestHelpersTerminalReaderPresentPaymentMethodCardPresentParams
- type TestHelpersTerminalReaderPresentPaymentMethodParams
- type TestHelpersTestClock
- type TestHelpersTestClockAdvanceParams
- type TestHelpersTestClockList
- type TestHelpersTestClockListParams
- type TestHelpersTestClockParams
- type TestHelpersTestClockStatus
- type Token
- type TokenAccountParams
- type TokenCVCUpdateParams
- type TokenParams
- type TokenType
- type Topup
- type TopupList
- type TopupListParams
- type TopupParams
- type TopupStatus
- type Transfer
- type TransferDestination
- type TransferList
- type TransferListParams
- type TransferParams
- type TransferSourceType
- type UsageRecord
- type UsageRecordParams
- type UsageRecordSummary
- type UsageRecordSummaryList
- type UsageRecordSummaryListParams
- type VerificationDocumentDetailsCode
- type VerificationFieldsList
- type WebhookEndpoint
- type WebhookEndpointList
- type WebhookEndpointListParams
- type WebhookEndpointParams
Examples ¶
Constants ¶
const ( EndingBefore = "ending_before" StartingAfter = "starting_after" )
Contains constants for the names of parameters used for pagination in list APIs.
const ( // APIVersion is the currently supported API version APIVersion string = "2020-08-27" // APIBackend is a constant representing the API service backend. APIBackend SupportedBackend = "api" // APIURL is the URL of the API service backend. APIURL string = "https://api.stripe.com" // ConnectURL is the URL for OAuth. ConnectURL string = "https://connect.stripe.com" // ConnectBackend is a constant representing the connect service backend for // OAuth. ConnectBackend SupportedBackend = "connect" // DefaultMaxNetworkRetries is the default maximum number of retries made // by a Stripe client. DefaultMaxNetworkRetries int64 = 2 // UnknownPlatform is the string returned as the system name if we couldn't get // one from `uname`. UnknownPlatform string = "unknown platform" // UploadsBackend is a constant representing the uploads service backend. UploadsBackend SupportedBackend = "uploads" // UploadsURL is the URL of the uploads service backend. UploadsURL string = "https://files.stripe.com" )
const ( UsageRecordActionIncrement string = "increment" UsageRecordActionSet string = "set" )
Possible values for the action parameter on usage record creation.
const (
Page = "page"
)
Contains constants for the names of parameters used for pagination in search APIs.
Variables ¶
var EnableTelemetry = true
EnableTelemetry is a global override for enabling client telemetry, which sends request performance metrics to Stripe via the `X-Stripe-Client-Telemetry` header. If set to true, all clients will send telemetry metrics. Defaults to true.
Telemetry can also be disabled on a per-client basis by instead creating a `BackendConfig` with `EnableTelemetry: false`.
var Key string
Key is the Stripe API key used globally in the binding.
Functions ¶
func BoolValue ¶
BoolValue returns the value of the bool pointer passed in or false if the pointer is nil.
func Float64Slice ¶
Float64Slice returns a slice of float64 pointers given a slice of float64s.
func Float64Value ¶
Float64Value returns the value of the float64 pointer passed in or 0 if the pointer is nil.
func FormatURLPath ¶
FormatURLPath takes a format string (of the kind used in the fmt package) representing a URL path with a number of parameters that belong in the path and returns a formatted string.
This is mostly a pass through to Sprintf. It exists to make it it impossible to accidentally provide a parameter type that would be formatted improperly; for example, a string pointer instead of a string.
It also URL-escapes every given parameter. This usually isn't necessary for a standard Stripe ID, but is needed in places where user-provided IDs are allowed, like in coupons or plans. We apply it broadly for extra safety.
func Int64Slice ¶
Int64Slice returns a slice of int64 pointers given a slice of int64s.
func Int64Value ¶
Int64Value returns the value of the int64 pointer passed in or 0 if the pointer is nil.
func NewIdempotencyKey ¶
func NewIdempotencyKey() string
NewIdempotencyKey generates a new idempotency key that can be used on a request.
func ParseID ¶
ParseID attempts to parse a string scalar from a given JSON value which is still encoded as []byte. If the value was a string, it returns the string along with true as the second return value. If not, false is returned as the second return value.
The purpose of this function is to detect whether a given value in a response from the Stripe API is a string ID or an expanded object.
func SetBackend ¶
func SetBackend(backend SupportedBackend, b Backend)
SetBackend sets the backend used in the binding.
func SetHTTPClient ¶
SetHTTPClient overrides the default HTTP client. This is useful if you're running in a Google AppEngine environment where the http.DefaultClient is not available.
func StringSlice ¶
StringSlice returns a slice of string pointers given a slice of strings.
func StringValue ¶
StringValue returns the value of the string pointer passed in or "" if the pointer is nil.
Types ¶
type APIConnectionError ¶
type APIConnectionError struct {
// contains filtered or unexported fields
}
APIConnectionError is a failure to connect to the Stripe API.
func (*APIConnectionError) Error ¶
func (e *APIConnectionError) Error() string
Error serializes the error object to JSON and returns it as a string.
type APIError ¶
type APIError struct {
// contains filtered or unexported fields
}
APIError is a catch all for any errors not covered by other types (and should be extremely uncommon).
type APIResource ¶
type APIResource struct {
LastResponse *APIResponse `json:"-"`
}
APIResource is a type assigned to structs that may come from Stripe API endpoints and contains facilities common to all of them.
func (*APIResource) SetLastResponse ¶
func (r *APIResource) SetLastResponse(response *APIResponse)
SetLastResponse sets the HTTP response that returned the API resource.
type APIResponse ¶
type APIResponse struct { // Header contain a map of all HTTP header keys to values. Its behavior and // caveats are identical to that of http.Header. Header http.Header // IdempotencyKey contains the idempotency key used with this request. // Idempotency keys are a Stripe-specific concept that helps guarantee that // requests that fail and need to be retried are not duplicated. IdempotencyKey string // RawJSON contains the response body as raw bytes. RawJSON []byte // RequestID contains a string that uniquely identifies the Stripe request. // Used for debugging or support purposes. RequestID string // Status is a status code and message. e.g. "200 OK" Status string // StatusCode is a status code as integer. e.g. 200 StatusCode int }
APIResponse encapsulates some common features of a response from the Stripe API.
type APIStream ¶ added in v72.56.0
type APIStream struct {
LastResponse *StreamingAPIResponse
}
APIStream is a type assigned to streaming responses that may come from Stripe API
func (*APIStream) SetLastResponse ¶ added in v72.56.0
func (r *APIStream) SetLastResponse(response *StreamingAPIResponse)
SetLastResponse sets the HTTP response that returned the API resource.
type Account ¶
type Account struct { APIResource // Business information about the account. BusinessProfile *AccountBusinessProfile `json:"business_profile"` // The business type. BusinessType AccountBusinessType `json:"business_type"` Capabilities *AccountCapabilities `json:"capabilities"` // Whether the account can create live charges. ChargesEnabled bool `json:"charges_enabled"` Company *AccountCompany `json:"company"` Controller *AccountController `json:"controller"` // The account's country. Country string `json:"country"` // Time at which the account was connected. Measured in seconds since the Unix epoch. Created int64 `json:"created"` // Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). DefaultCurrency Currency `json:"default_currency"` Deleted bool `json:"deleted"` // Whether account details have been submitted. Standard accounts cannot receive payouts before this is true. DetailsSubmitted bool `json:"details_submitted"` // An email address associated with the account. You can treat this as metadata: it is not used for authentication or messaging account holders. Email string `json:"email"` // External accounts (bank accounts and debit cards) currently attached to this account ExternalAccounts *ExternalAccountList `json:"external_accounts"` FutureRequirements *AccountFutureRequirements `json:"future_requirements"` // Unique identifier for the object. ID string `json:"id"` // This is an object representing a person associated with a Stripe account. // // A platform cannot access a Standard or Express account's persons after the account starts onboarding, such as after generating an account link for the account. // See the [Standard onboarding](https://stripe.com/docs/connect/standard-accounts) or [Express onboarding documentation](https://stripe.com/docs/connect/express-accounts) for information about platform pre-filling and account onboarding steps. // // Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information). Individual *Person `json:"individual"` // Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Metadata map[string]string `json:"metadata"` // String representing the object's type. Objects of the same type share the same value. Object string `json:"object"` // Whether Stripe can send payouts to this account. PayoutsEnabled bool `json:"payouts_enabled"` Requirements *AccountRequirements `json:"requirements"` // Options for customizing how the account functions within Stripe. Settings *AccountSettings `json:"settings"` TOSAcceptance *AccountTOSAcceptance `json:"tos_acceptance"` // The Stripe account type. Can be `standard`, `express`, or `custom`. Type AccountType `json:"type"` }
This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current e-mail address or if the account is enabled yet to make live charges.
Some properties, marked below, are available only to platforms that want to [create and manage Express or Custom accounts](https://stripe.com/docs/connect/accounts).
func (*Account) UnmarshalJSON ¶
UnmarshalJSON handles deserialization of an Account. This custom unmarshaling is needed because the resulting property may be an id or the full struct if it was expanded.
type AccountAddress ¶
type AccountAddress struct { // City/Ward. City string `json:"city"` // Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). Country string `json:"country"` // Block/Building number. Line1 string `json:"line1"` // Building details. Line2 string `json:"line2"` // ZIP or postal code. PostalCode string `json:"postal_code"` // Prefecture. State string `json:"state"` // Town/cho-me. Note that this is only used for Kana/Kanji representations // of an address. // Town/cho-me. Town string `json:"town"` }
The Kana variation of the company's primary address (Japan only).
type AccountAddressParams ¶
type AccountAddressParams struct { // City or ward. City *string `form:"city"` // Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). Country *string `form:"country"` // Block or building number. Line1 *string `form:"line1"` // Building details. Line2 *string `form:"line2"` // Postal code. PostalCode *string `form:"postal_code"` // Prefecture. State *string `form:"state"` // Town/cho-me. Note that this is only used for Kana/Kanji representations // of an address. // Town or cho-me. Town *string `form:"town"` }
The Kana variation of the company's primary address (Japan only).
type AccountBusinessProfile ¶
type AccountBusinessProfile struct { // [The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide. MCC string `json:"mcc"` // The customer-facing business name. Name string `json:"name"` // Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. ProductDescription string `json:"product_description"` // A publicly available mailing address for sending support issues to. SupportAddress *Address `json:"support_address"` // A publicly available email address for sending support issues to. SupportEmail string `json:"support_email"` // A publicly available phone number to call with support issues. SupportPhone string `json:"support_phone"` // A publicly available website for handling support issues. SupportURL string `json:"support_url"` // The business's publicly available website. URL string `json:"url"` }
Business information about the account.
type AccountBusinessProfileParams ¶
type AccountBusinessProfileParams struct { // [The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide. MCC *string `form:"mcc"` // The customer-facing business name. Name *string `form:"name"` // Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes. ProductDescription *string `form:"product_description"` // A publicly available mailing address for sending support issues to. SupportAddress *AddressParams `form:"support_address"` // A publicly available email address for sending support issues to. SupportEmail *string `form:"support_email"` // A publicly available phone number to call with support issues. SupportPhone *string `form:"support_phone"` // A publicly available website for handling support issues. SupportURL *string `form:"support_url"` // The business's publicly available website. URL *string `form:"url"` }
Business information about the account.
type AccountBusinessType ¶
type AccountBusinessType string
The business type.
const ( AccountBusinessTypeCompany AccountBusinessType = "company" AccountBusinessTypeGovernmentEntity AccountBusinessType = "government_entity" AccountBusinessTypeIndividual AccountBusinessType = "individual" AccountBusinessTypeNonProfit AccountBusinessType = "non_profit" )
List of values that AccountBusinessType can take
type AccountCapabilities ¶
type AccountCapabilities struct { // The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges. ACSSDebitPayments AccountCapabilityStatus `json:"acss_debit_payments"` // The status of the Afterpay Clearpay capability of the account, or whether the account can directly process Afterpay Clearpay charges. AfterpayClearpayPayments AccountCapabilityStatus `json:"afterpay_clearpay_payments"` // The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges. AUBECSDebitPayments AccountCapabilityStatus `json:"au_becs_debit_payments"` // The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges. BACSDebitPayments AccountCapabilityStatus `json:"bacs_debit_payments"` // The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges. BancontactPayments AccountCapabilityStatus `json:"bancontact_payments"` // The status of the customer_balance payments capability of the account, or whether the account can directly process customer_balance charges. BankTransferPayments AccountCapabilitiesBankTransferPayments `json:"bank_transfer_payments"` // The status of the boleto payments capability of the account, or whether the account can directly process boleto charges. BoletoPayments AccountCapabilityStatus `json:"boleto_payments"` // The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards CardIssuing AccountCapabilityStatus `json:"card_issuing"` // The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges. CardPayments AccountCapabilityStatus `json:"card_payments"` // The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency. CartesBancairesPayments AccountCapabilityStatus `json:"cartes_bancaires_payments"` // The status of the EPS payments capability of the account, or whether the account can directly process EPS charges. EPSPayments AccountCapabilityStatus `json:"eps_payments"` // The status of the FPX payments capability of the account, or whether the account can directly process FPX charges. FPXPayments AccountCapabilityStatus `json:"fpx_payments"` // The status of the giropay payments capability of the account, or whether the account can directly process giropay charges. GiropayPayments AccountCapabilityStatus `json:"giropay_payments"` // The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges. GrabpayPayments AccountCapabilityStatus `json:"grabpay_payments"` // The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges. IdealPayments AccountCapabilityStatus `json:"ideal_payments"` // The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency. JCBPayments AccountCapabilityStatus `json:"jcb_payments"` // The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges. KlarnaPayments AccountCapabilityStatus `json:"klarna_payments"` // The status of the konbini payments capability of the account, or whether the account can directly process konbini charges. KonbiniPayments AccountCapabilitiesKonbiniPayments `json:"konbini_payments"` // The status of the legacy payments capability of the account. LegacyPayments AccountCapabilityStatus `json:"legacy_payments"` // The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges. OXXOPayments AccountCapabilityStatus `json:"oxxo_payments"` // The status of the P24 payments capability of the account, or whether the account can directly process P24 charges. P24Payments AccountCapabilityStatus `json:"p24_payments"` // The status of the paynow payments capability of the account, or whether the account can directly process paynow charges. PayNowPayments AccountCapabilitiesPayNowPayments `json:"paynow_payments"` // The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges. SEPADebitPayments AccountCapabilityStatus `json:"sepa_debit_payments"` // The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges. SofortPayments AccountCapabilityStatus `json:"sofort_payments"` // The status of the tax reporting 1099-K (US) capability of the account. TaxReportingUS1099K AccountCapabilityStatus `json:"tax_reporting_us_1099_k"` // The status of the tax reporting 1099-MISC (US) capability of the account. TaxReportingUS1099MISC AccountCapabilityStatus `json:"tax_reporting_us_1099_misc"` // The status of the transfers capability of the account, or whether your platform can transfer funds to the account. Transfers AccountCapabilityStatus `json:"transfers"` // The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges. USBankAccountAchPayments AccountCapabilitiesUSBankAccountAchPayments `json:"us_bank_account_ach_payments"` }
type AccountCapabilitiesACSSDebitPaymentsParams ¶ added in v72.42.0
type AccountCapabilitiesACSSDebitPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The acss_debit_payments capability.
type AccountCapabilitiesAUBECSDebitPaymentsParams ¶
type AccountCapabilitiesAUBECSDebitPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The au_becs_debit_payments capability.
type AccountCapabilitiesAfterpayClearpayPaymentsParams ¶ added in v72.78.0
type AccountCapabilitiesAfterpayClearpayPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The afterpay_clearpay_payments capability.
type AccountCapabilitiesBACSDebitPaymentsParams ¶
type AccountCapabilitiesBACSDebitPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The bacs_debit_payments capability.
type AccountCapabilitiesBancontactPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesBancontactPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The bancontact_payments capability.
type AccountCapabilitiesBankTransferPayments ¶ added in v72.99.0
type AccountCapabilitiesBankTransferPayments string
The status of the customer_balance payments capability of the account, or whether the account can directly process customer_balance charges.
const ( AccountCapabilitiesBankTransferPaymentsActive AccountCapabilitiesBankTransferPayments = "active" AccountCapabilitiesBankTransferPaymentsInactive AccountCapabilitiesBankTransferPayments = "inactive" AccountCapabilitiesBankTransferPaymentsPending AccountCapabilitiesBankTransferPayments = "pending" )
List of values that AccountCapabilitiesBankTransferPayments can take
type AccountCapabilitiesBankTransferPaymentsParams ¶ added in v72.99.0
type AccountCapabilitiesBankTransferPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The bank_transfer_payments capability.
type AccountCapabilitiesBoletoPaymentsParams ¶ added in v72.53.0
type AccountCapabilitiesBoletoPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The boleto_payments capability.
type AccountCapabilitiesCardIssuingParams ¶
type AccountCapabilitiesCardIssuingParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The card_issuing capability.
type AccountCapabilitiesCardPaymentsParams ¶
type AccountCapabilitiesCardPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The card_payments capability.
type AccountCapabilitiesCartesBancairesPaymentsParams ¶
type AccountCapabilitiesCartesBancairesPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The cartes_bancaires_payments capability.
type AccountCapabilitiesEPSPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesEPSPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The eps_payments capability.
type AccountCapabilitiesFPXPaymentsParams ¶
type AccountCapabilitiesFPXPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The fpx_payments capability.
type AccountCapabilitiesGiropayPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesGiropayPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The giropay_payments capability.
type AccountCapabilitiesGrabpayPaymentsParams ¶ added in v72.25.0
type AccountCapabilitiesGrabpayPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The grabpay_payments capability.
type AccountCapabilitiesIdealPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesIdealPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The ideal_payments capability.
type AccountCapabilitiesJCBPaymentsParams ¶
type AccountCapabilitiesJCBPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The jcb_payments capability.
type AccountCapabilitiesKlarnaPaymentsParams ¶ added in v72.67.0
type AccountCapabilitiesKlarnaPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The klarna_payments capability.
type AccountCapabilitiesKonbiniPayments ¶ added in v72.89.0
type AccountCapabilitiesKonbiniPayments string
The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.
const ( AccountCapabilitiesKonbiniPaymentsActive AccountCapabilitiesKonbiniPayments = "active" AccountCapabilitiesKonbiniPaymentsInactive AccountCapabilitiesKonbiniPayments = "inactive" AccountCapabilitiesKonbiniPaymentsPending AccountCapabilitiesKonbiniPayments = "pending" )
List of values that AccountCapabilitiesKonbiniPayments can take
type AccountCapabilitiesKonbiniPaymentsParams ¶ added in v72.89.0
type AccountCapabilitiesKonbiniPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The konbini_payments capability.
type AccountCapabilitiesLegacyPaymentsParams ¶
type AccountCapabilitiesLegacyPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The legacy_payments capability.
type AccountCapabilitiesOXXOPaymentsParams ¶ added in v72.8.0
type AccountCapabilitiesOXXOPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The oxxo_payments capability.
type AccountCapabilitiesP24PaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesP24PaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The p24_payments capability.
type AccountCapabilitiesParams ¶
type AccountCapabilitiesParams struct { // The acss_debit_payments capability. ACSSDebitPayments *AccountCapabilitiesACSSDebitPaymentsParams `form:"acss_debit_payments"` // The afterpay_clearpay_payments capability. AfterpayClearpayPayments *AccountCapabilitiesAfterpayClearpayPaymentsParams `form:"afterpay_clearpay_payments"` // The au_becs_debit_payments capability. AUBECSDebitPayments *AccountCapabilitiesAUBECSDebitPaymentsParams `form:"au_becs_debit_payments"` // The bacs_debit_payments capability. BACSDebitPayments *AccountCapabilitiesBACSDebitPaymentsParams `form:"bacs_debit_payments"` // The bancontact_payments capability. BancontactPayments *AccountCapabilitiesBancontactPaymentsParams `form:"bancontact_payments"` // The bank_transfer_payments capability. BankTransferPayments *AccountCapabilitiesBankTransferPaymentsParams `form:"bank_transfer_payments"` // The boleto_payments capability. BoletoPayments *AccountCapabilitiesBoletoPaymentsParams `form:"boleto_payments"` // The card_issuing capability. CardIssuing *AccountCapabilitiesCardIssuingParams `form:"card_issuing"` // The card_payments capability. CardPayments *AccountCapabilitiesCardPaymentsParams `form:"card_payments"` // The cartes_bancaires_payments capability. CartesBancairesPayments *AccountCapabilitiesCartesBancairesPaymentsParams `form:"cartes_bancaires_payments"` // The eps_payments capability. EPSPayments *AccountCapabilitiesEPSPaymentsParams `form:"eps_payments"` // The fpx_payments capability. FPXPayments *AccountCapabilitiesFPXPaymentsParams `form:"fpx_payments"` // The giropay_payments capability. GiropayPayments *AccountCapabilitiesGiropayPaymentsParams `form:"giropay_payments"` // The grabpay_payments capability. GrabpayPayments *AccountCapabilitiesGrabpayPaymentsParams `form:"grabpay_payments"` // The ideal_payments capability. IdealPayments *AccountCapabilitiesIdealPaymentsParams `form:"ideal_payments"` // The jcb_payments capability. JCBPayments *AccountCapabilitiesJCBPaymentsParams `form:"jcb_payments"` // The klarna_payments capability. KlarnaPayments *AccountCapabilitiesKlarnaPaymentsParams `form:"klarna_payments"` // The konbini_payments capability. KonbiniPayments *AccountCapabilitiesKonbiniPaymentsParams `form:"konbini_payments"` // The legacy_payments capability. LegacyPayments *AccountCapabilitiesLegacyPaymentsParams `form:"legacy_payments"` // The oxxo_payments capability. OXXOPayments *AccountCapabilitiesOXXOPaymentsParams `form:"oxxo_payments"` // The p24_payments capability. P24Payments *AccountCapabilitiesP24PaymentsParams `form:"p24_payments"` // The paynow_payments capability. PayNowPayments *AccountCapabilitiesPayNowPaymentsParams `form:"paynow_payments"` // The sepa_debit_payments capability. SEPADebitPayments *AccountCapabilitiesSEPADebitPaymentsParams `form:"sepa_debit_payments"` // The sofort_payments capability. SofortPayments *AccountCapabilitiesSofortPaymentsParams `form:"sofort_payments"` // The tax_reporting_us_1099_k capability. TaxReportingUS1099K *AccountCapabilitiesTaxReportingUS1099KParams `form:"tax_reporting_us_1099_k"` // The tax_reporting_us_1099_misc capability. TaxReportingUS1099MISC *AccountCapabilitiesTaxReportingUS1099MISCParams `form:"tax_reporting_us_1099_misc"` // The transfers capability. Transfers *AccountCapabilitiesTransfersParams `form:"transfers"` // The us_bank_account_ach_payments capability. USBankAccountAchPayments *AccountCapabilitiesUSBankAccountAchPaymentsParams `form:"us_bank_account_ach_payments"` }
Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
type AccountCapabilitiesPayNowPayments ¶ added in v72.96.0
type AccountCapabilitiesPayNowPayments string
The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
const ( AccountCapabilitiesPayNowPaymentsActive AccountCapabilitiesPayNowPayments = "active" AccountCapabilitiesPayNowPaymentsInactive AccountCapabilitiesPayNowPayments = "inactive" AccountCapabilitiesPayNowPaymentsPending AccountCapabilitiesPayNowPayments = "pending" )
List of values that AccountCapabilitiesPayNowPayments can take
type AccountCapabilitiesPayNowPaymentsParams ¶ added in v72.96.0
type AccountCapabilitiesPayNowPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The paynow_payments capability.
type AccountCapabilitiesSEPADebitPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesSEPADebitPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The sepa_debit_payments capability.
type AccountCapabilitiesSofortPaymentsParams ¶ added in v72.10.0
type AccountCapabilitiesSofortPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The sofort_payments capability.
type AccountCapabilitiesTaxReportingUS1099KParams ¶
type AccountCapabilitiesTaxReportingUS1099KParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The tax_reporting_us_1099_k capability.
type AccountCapabilitiesTaxReportingUS1099MISCParams ¶
type AccountCapabilitiesTaxReportingUS1099MISCParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The tax_reporting_us_1099_misc capability.
type AccountCapabilitiesTransfersParams ¶
type AccountCapabilitiesTransfersParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The transfers capability.
type AccountCapabilitiesUSBankAccountAchPayments ¶ added in v72.96.0
type AccountCapabilitiesUSBankAccountAchPayments string
The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
const ( AccountCapabilitiesUSBankAccountAchPaymentsActive AccountCapabilitiesUSBankAccountAchPayments = "active" AccountCapabilitiesUSBankAccountAchPaymentsInactive AccountCapabilitiesUSBankAccountAchPayments = "inactive" AccountCapabilitiesUSBankAccountAchPaymentsPending AccountCapabilitiesUSBankAccountAchPayments = "pending" )
List of values that AccountCapabilitiesUSBankAccountAchPayments can take
type AccountCapabilitiesUSBankAccountAchPaymentsParams ¶ added in v72.96.0
type AccountCapabilitiesUSBankAccountAchPaymentsParams struct { // Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. Requested *bool `form:"requested"` }
The us_bank_account_ach_payments capability.
type AccountCapability ¶
type AccountCapability string
AccountCapability maps to a given capability for an account.
const ( AccountCapabilityAUBECSDebitPayments AccountCapability = "au_becs_debit_payments" AccountCapabilityBACSDebitPayments AccountCapability = "bacs_debit_payments" AccountCapabilityBancontactPayments AccountCapability = "bancontact_payments" AccountCapabilityCardIssuing AccountCapability = "card_issuing" AccountCapabilityCardPayments AccountCapability = "card_payments" AccountCapabilityCartesBancairesPayments AccountCapability = "cartes_bancaires_payments" AccountCapabilityEPSPayments AccountCapability = "eps_payments" AccountCapabilityFPXPayments AccountCapability = "fpx_payments" AccountCapabilityGiropayPayments AccountCapability = "giropay_payments" AccountCapabilityGrabpayPayments AccountCapability = "grabpay_payments" AccountCapabilityIdealPayments AccountCapability = "ideal_payments" AccountCapabilityJCBPayments AccountCapability = "jcb_payments" AccountCapabilityKlarnaPayments AccountCapability = "klarna_payments" AccountCapabilityLegacyPayments AccountCapability = "legacy_payments" AccountCapabilityOXXOPayments AccountCapability = "oxxo_payments" AccountCapabilityP24Payments AccountCapability = "p24_payments" AccountCapabilitySEPADebitPayments AccountCapability = "sepa_debit_payments" AccountCapabilitySofortPayments AccountCapability = "sofort_payments" AccountCapabilityTaxReportingUS1099K AccountCapability = "tax_reporting_us_1099_k" AccountCapabilityTaxReportingUS1099MISC AccountCapability = "tax_reporting_us_1099_misc" AccountCapabilityTransfers AccountCapability = "transfers" )
List of values that AccountCapability can take.
type AccountCapabilityStatus ¶
type AccountCapabilityStatus string
The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.
const ( AccountCapabilityStatusActive AccountCapabilityStatus = "active" AccountCapabilityStatusInactive AccountCapabilityStatus = "inactive" AccountCapabilityStatusPending AccountCapabilityStatus = "pending" )
List of values that AccountCapabilityStatus can take
type AccountCompany ¶
type AccountCompany struct { Address *AccountAddress `json:"address"` // The Kana variation of the company's primary address (Japan only). AddressKana *AccountAddress `json:"address_kana"` // The Kanji variation of the company's primary address (Japan only). AddressKanji *AccountAddress `json:"address_kanji"` // Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided). DirectorsProvided bool `json:"directors_provided"` // Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided. ExecutivesProvided bool `json:"executives_provided"` // The company's legal name. Name string `json:"name"` // The Kana variation of the company's legal name (Japan only). NameKana string `json:"name_kana"` // The Kanji variation of the company's legal name (Japan only). NameKanji string `json:"name_kanji"` // This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. OwnershipDeclaration *AccountCompanyOwnershipDeclaration `json:"ownership_declaration"` // Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided), or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the `percent_ownership` of each owner together). OwnersProvided bool `json:"owners_provided"` // The company's phone number (used for verification). Phone string `json:"phone"` RegistrationNumber string `json:"registration_number"` // The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Structure AccountCompanyStructure `json:"structure"` // Whether the company's business ID number was provided. TaxIDProvided bool `json:"tax_id_provided"` // The jurisdiction in which the `tax_id` is registered (Germany-based companies only). TaxIDRegistrar string `json:"tax_id_registrar"` // Whether the company's business VAT number was provided. VATIDProvided bool `json:"vat_id_provided"` // Information on the verification state of the company. Verification *AccountCompanyVerification `json:"verification"` }
type AccountCompanyOwnershipDeclaration ¶ added in v72.73.0
type AccountCompanyOwnershipDeclaration struct { // The Unix timestamp marking when the beneficial owner attestation was made. Date int64 `json:"date"` // The IP address from which the beneficial owner attestation was made. IP string `json:"ip"` // The user-agent string from the browser where the beneficial owner attestation was made. UserAgent string `json:"user_agent"` }
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
type AccountCompanyOwnershipDeclarationParams ¶ added in v72.73.0
type AccountCompanyOwnershipDeclarationParams struct { // The Unix timestamp marking when the beneficial owner attestation was made. Date *int64 `form:"date"` // The IP address from which the beneficial owner attestation was made. IP *string `form:"ip"` // The user agent of the browser from which the beneficial owner attestation was made. UserAgent *string `form:"user_agent"` }
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
type AccountCompanyParams ¶
type AccountCompanyParams struct { // The company's primary address. Address *AccountAddressParams `form:"address"` // The Kana variation of the company's primary address (Japan only). AddressKana *AccountAddressParams `form:"address_kana"` // The Kanji variation of the company's primary address (Japan only). AddressKanji *AccountAddressParams `form:"address_kanji"` // Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided. DirectorsProvided *bool `form:"directors_provided"` // Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.executive` requirement. ExecutivesProvided *bool `form:"executives_provided"` // The company's legal name. Name *string `form:"name"` // The Kana variation of the company's legal name (Japan only). NameKana *string `form:"name_kana"` // The Kanji variation of the company's legal name (Japan only). NameKanji *string `form:"name_kanji"` // This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. OwnershipDeclaration *AccountCompanyOwnershipDeclarationParams `form:"ownership_declaration"` // This parameter can only be used on Token creation. OwnershipDeclarationShownAndSigned *bool `form:"ownership_declaration_shown_and_signed"` // Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.owner` requirement. OwnersProvided *bool `form:"owners_provided"` // The company's phone number (used for verification). Phone *string `form:"phone"` // The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). RegistrationNumber *string `form:"registration_number"` // The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. Structure *string `form:"structure"` // The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) TaxID *string `form:"tax_id"` // The jurisdiction in which the `tax_id` is registered (Germany-based companies only). TaxIDRegistrar *string `form:"tax_id_registrar"` // The VAT number of the company. VATID *string `form:"vat_id"` // Information on the verification state of the company. Verification *AccountCompanyVerificationParams `form:"verification"` }
Information about the company or business. This field is available for any `business_type`.
type AccountCompanyStructure ¶
type AccountCompanyStructure string
The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
const ( AccountCompanyStructureFreeZoneEstablishment AccountCompanyStructure = "free_zone_establishment" AccountCompanyStructureFreeZoneLLC AccountCompanyStructure = "free_zone_llc" AccountCompanyStructureGovernmentInstrumentality AccountCompanyStructure = "government_instrumentality" AccountCompanyStructureGovernmentalUnit AccountCompanyStructure = "governmental_unit" AccountCompanyStructureIncorporatedNonProfit AccountCompanyStructure = "incorporated_non_profit" AccountCompanyStructureLimitedLiabilityPartnership AccountCompanyStructure = "limited_liability_partnership" AccountCompanyStructureLLC AccountCompanyStructure = "llc" AccountCompanyStructureMultiMemberLLC AccountCompanyStructure = "multi_member_llc" AccountCompanyStructurePrivateCompany AccountCompanyStructure = "private_company" AccountCompanyStructurePrivateCorporation AccountCompanyStructure = "private_corporation" AccountCompanyStructurePrivatePartnership AccountCompanyStructure = "private_partnership" AccountCompanyStructurePublicCompany AccountCompanyStructure = "public_company" AccountCompanyStructurePublicCorporation AccountCompanyStructure = "public_corporation" AccountCompanyStructurePublicPartnership AccountCompanyStructure = "public_partnership" AccountCompanyStructureSingleMemberLLC AccountCompanyStructure = "single_member_llc" AccountCompanyStructureSoleEstablishment AccountCompanyStructure = "sole_establishment" AccountCompanyStructureSoleProprietorship AccountCompanyStructure = "sole_proprietorship" AccountCompanyStructureTaxExemptGovernmentInstrumentality AccountCompanyStructure = "tax_exempt_government_instrumentality" AccountCompanyStructureUnincorporatedAssociation AccountCompanyStructure = "unincorporated_association" AccountCompanyStructureUnincorporatedNonProfit AccountCompanyStructure = "unincorporated_non_profit" )
List of values that AccountCompanyStructure can take
type AccountCompanyVerification ¶
type AccountCompanyVerification struct {
Document *AccountCompanyVerificationDocument `json:"document"`
}
Information on the verification state of the company.
type AccountCompanyVerificationDocument ¶
type AccountCompanyVerificationDocument struct { // The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Back *File `json:"back"` // A user-displayable string describing the verification state of this document. Details string `json:"details"` // One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document. DetailsCode AccountCompanyVerificationDocumentDetailsCode `json:"details_code"` // The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Front *File `json:"front"` }
type AccountCompanyVerificationDocumentDetailsCode ¶
type AccountCompanyVerificationDocumentDetailsCode string
One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document.
const ( AccountCompanyVerificationDocumentDetailsCodeDocumentCorrupt AccountCompanyVerificationDocumentDetailsCode = "document_corrupt" AccountCompanyVerificationDocumentDetailsCodeDocumentFailedCopy AccountCompanyVerificationDocumentDetailsCode = "document_failed_copy" AccountCompanyVerificationDocumentDetailsCodeDocumentFailedOther AccountCompanyVerificationDocumentDetailsCode = "document_failed_other" AccountCompanyVerificationDocumentDetailsCodeDocumentFailedTestMode AccountCompanyVerificationDocumentDetailsCode = "document_failed_test_mode" AccountCompanyVerificationDocumentDetailsCodeDocumentFraudulent AccountCompanyVerificationDocumentDetailsCode = "document_fraudulent" AccountCompanyVerificationDocumentDetailsCodeDocumentInvalid AccountCompanyVerificationDocumentDetailsCode = "document_invalid" AccountCompanyVerificationDocumentDetailsCodeDocumentManipulated AccountCompanyVerificationDocumentDetailsCode = "document_manipulated" AccountCompanyVerificationDocumentDetailsCodeDocumentNotReadable AccountCompanyVerificationDocumentDetailsCode = "document_not_readable" AccountCompanyVerificationDocumentDetailsCodeDocumentNotUploaded AccountCompanyVerificationDocumentDetailsCode = "document_not_uploaded" AccountCompanyVerificationDocumentDetailsCodeDocumentTooLarge AccountCompanyVerificationDocumentDetailsCode = "document_too_large" )
List of values that AccountCompanyVerificationDocumentDetailsCode can take
type AccountCompanyVerificationDocumentParams ¶
type AccountCompanyVerificationDocumentParams struct { // The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. Back *string `form:"back"` // The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. Front *string `form:"front"` }
A document verifying the business.
type AccountCompanyVerificationParams ¶
type AccountCompanyVerificationParams struct { // A document verifying the business. Document *AccountCompanyVerificationDocumentParams `form:"document"` }
Information on the verification state of the company.
type AccountController ¶ added in v72.49.0
type AccountController struct { // `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null. IsController bool `json:"is_controller"` // The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself. Type AccountControllerType `json:"type"` }
type AccountControllerType ¶ added in v72.49.0
type AccountControllerType string
The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.
const ( AccountControllerTypeAccount AccountControllerType = "account" AccountControllerTypeApplication AccountControllerType = "application" )
List of values that AccountControllerType can take
type AccountDeclineOn ¶
type AccountDeclineOn struct { // Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. AVSFailure bool `json:"avs_failure"` // Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. CVCFailure bool `json:"cvc_failure"` }
type AccountDeclineSettingsParams ¶
type AccountDeclineSettingsParams struct { // Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. AVSFailure *bool `form:"avs_failure"` // Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. CVCFailure *bool `form:"cvc_failure"` }
Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
type AccountDocumentsBankAccountOwnershipVerificationParams ¶ added in v72.28.0
type AccountDocumentsBankAccountOwnershipVerificationParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a voided check.
type AccountDocumentsCompanyLicenseParams ¶ added in v72.29.0
type AccountDocumentsCompanyLicenseParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents that demonstrate proof of a company's license to operate.
type AccountDocumentsCompanyMemorandumOfAssociationParams ¶ added in v72.29.0
type AccountDocumentsCompanyMemorandumOfAssociationParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents showing the company's Memorandum of Association.
type AccountDocumentsCompanyMinisterialDecreeParams ¶ added in v72.29.0
type AccountDocumentsCompanyMinisterialDecreeParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
type AccountDocumentsCompanyRegistrationVerificationParams ¶ added in v72.29.0
type AccountDocumentsCompanyRegistrationVerificationParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
type AccountDocumentsCompanyTaxIDVerificationParams ¶ added in v72.29.0
type AccountDocumentsCompanyTaxIDVerificationParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents that demonstrate proof of a company's tax ID.
type AccountDocumentsParams ¶ added in v72.28.0
type AccountDocumentsParams struct { // One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a voided check. BankAccountOwnershipVerification *AccountDocumentsBankAccountOwnershipVerificationParams `form:"bank_account_ownership_verification"` // One or more documents that demonstrate proof of a company's license to operate. CompanyLicense *AccountDocumentsCompanyLicenseParams `form:"company_license"` // One or more documents showing the company's Memorandum of Association. CompanyMemorandumOfAssocation *AccountDocumentsCompanyMemorandumOfAssociationParams `form:"company_memorandum_of_association"` // (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment. CompanyMinisterialDecree *AccountDocumentsCompanyMinisterialDecreeParams `form:"company_ministerial_decree"` // One or more documents that demonstrate proof of a company's registration with the appropriate local authorities. CompanyRegistrationVerification *AccountDocumentsCompanyRegistrationVerificationParams `form:"company_registration_verification"` // One or more documents that demonstrate proof of a company's tax ID. CompanyTaxIDVerification *AccountDocumentsCompanyTaxIDVerificationParams `form:"company_tax_id_verification"` // One or more documents showing the company's proof of registration with the national business registry. ProofOfRegistration *AccountDocumentsProofOfRegistrationParams `form:"proof_of_registration"` }
Documents that may be submitted to satisfy various informational requests.
type AccountDocumentsProofOfRegistrationParams ¶ added in v72.73.0
type AccountDocumentsProofOfRegistrationParams struct { // One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`. Files []*string `form:"files"` }
One or more documents showing the company's proof of registration with the national business registry.
type AccountExternalAccountParams ¶
type AccountExternalAccountParams struct { Params `form:"*"` AccountNumber *string `form:"account_number"` AccountHolderName *string `form:"account_holder_name"` AccountHolderType *string `form:"account_holder_type"` Country *string `form:"country"` Currency *string `form:"currency"` RoutingNumber *string `form:"routing_number"` Token *string `form:"token"` }
AccountExternalAccountParams are the parameters allowed to reference an external account when creating an account. It should either have Token set or everything else.
func (*AccountExternalAccountParams) AppendTo ¶
func (p *AccountExternalAccountParams) AppendTo(body *form.Values, keyParts []string)
AppendTo implements custom encoding logic for AccountExternalAccountParams so that we can send the special required `object` field up along with the other specified parameters or the token value.
type AccountFutureRequirements ¶ added in v72.64.0
type AccountFutureRequirements struct { // Fields that are due and can be satisfied by providing the corresponding alternative fields instead. Alternatives []*AccountFutureRequirementsAlternative `json:"alternatives"` // Date on which `future_requirements` merges with the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning. CurrentDeadline int64 `json:"current_deadline"` // Fields that need to be collected to keep the account enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash. CurrentlyDue []string `json:"currently_due"` // This is typed as a string for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is empty because fields in `future_requirements` will never disable the account. DisabledReason string `json:"disabled_reason"` // Fields that are `currently_due` and need to be collected again because validation or verification failed. Errors []*AccountFutureRequirementsError `json:"errors"` // Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well. EventuallyDue []string `json:"eventually_due"` // Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`. PastDue []string `json:"past_due"` // Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. PendingVerification []string `json:"pending_verification"` }
type AccountFutureRequirementsAlternative ¶ added in v72.64.0
type AccountFutureRequirementsAlternative struct { // Fields that can be provided to satisfy all fields in `original_fields_due`. AlternativeFieldsDue []string `json:"alternative_fields_due"` // Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. OriginalFieldsDue []string `json:"original_fields_due"` }
Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
type AccountFutureRequirementsError ¶ added in v72.64.0
type AccountFutureRequirementsError struct { // The code for the type of error. Code string `json:"code"` // An informative message that indicates the error type and provides additional details about the error. Reason string `json:"reason"` // The specific user onboarding requirement field (in the requirements hash) that needs to be resolved. Requirement string `json:"requirement"` }
Fields that are `currently_due` and need to be collected again because validation or verification failed.
type AccountLink ¶
type AccountLink struct { APIResource // Time at which the object was created. Measured in seconds since the Unix epoch. Created int64 `json:"created"` // The timestamp at which this account link will expire. ExpiresAt int64 `json:"expires_at"` // String representing the object's type. Objects of the same type share the same value. Object string `json:"object"` // The URL for the account link. URL string `json:"url"` }
Account Links are the means by which a Connect platform grants a connected account permission to access Stripe-hosted applications, such as Connect Onboarding.
Related guide: [Connect Onboarding](https://stripe.com/docs/connect/connect-onboarding).
type AccountLinkCollect ¶
type AccountLinkCollect string
AccountLinkCollect describes what information the platform wants to collect with the account link.
const ( AccountLinkCollectCurrentlyDue AccountLinkCollect = "currently_due" AccountLinkCollectEventuallyDue AccountLinkCollect = "eventually_due" )
List of values that AccountLinkCollect can take.
type AccountLinkParams ¶
type AccountLinkParams struct { Params `form:"*"` // The identifier of the account to create an account link for. Account *string `form:"account"` // Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`. Collect *string `form:"collect"` // The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user. RefreshURL *string `form:"refresh_url"` // The URL that the user will be redirected to upon leaving or completing the linked flow. ReturnURL *string `form:"return_url"` // The type of account link the user is requesting. Possible values are `account_onboarding` or `account_update`. Type *string `form:"type"` }
Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.
type AccountLinkType ¶
type AccountLinkType string
AccountLinkType is the type of an account link.
const ( AccountLinkTypeAccountOnboarding AccountLinkType = "account_onboarding" AccountLinkTypeAccountUpdate AccountLinkType = "account_update" )
List of values that AccountLinkType can take.
type AccountList ¶
type AccountList struct { APIResource ListMeta Data []*Account `json:"data"` }
AccountList is a list of Accounts as retrieved from a list endpoint.
type AccountListParams ¶
type AccountListParams struct { ListParams `form:"*"` Created *int64 `form:"created"` CreatedRange *RangeQueryParams `form:"created"` }
Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
type AccountParams ¶
type AccountParams struct { Params `form:"*"` // An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. AccountToken *string `form:"account_token"` // Business information about the account. BusinessProfile *AccountBusinessProfileParams `form:"business_profile"` // The business type. BusinessType *string `form:"business_type"` // Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. Capabilities *AccountCapabilitiesParams `form:"capabilities"` // Information about the company or business. This field is available for any `business_type`. Company *AccountCompanyParams `form:"company"` // The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Country *string `form:"country"` // Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). DefaultCurrency *string `form:"default_currency"` // Documents that may be submitted to satisfy various informational requests. Documents *AccountDocumentsParams `form:"documents"` // The email address of the account holder. This is only to make the account easier to identify to you. Stripe only emails Custom accounts with your consent. Email *string `form:"email"` // A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. // // By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API. ExternalAccount *AccountExternalAccountParams `form:"external_account"` // Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Individual *PersonParams `form:"individual"` // Options for customizing how the account functions within Stripe. Settings *AccountSettingsParams `form:"settings"` // Details on the account's acceptance of the [Stripe Services Agreement](https://stripe.com/docs/connect/updating-accounts#tos-acceptance). TOSAcceptance *AccountTOSAcceptanceParams `form:"tos_acceptance"` // The type of Stripe account to create. May be one of `custom`, `express` or `standard`. Type *string `form:"type"` // This parameter is deprecated. Prefer using Capabilities instead. RequestedCapabilities []*string `form:"requested_capabilities"` }
Retrieves the details of an account.
type AccountPayoutSchedule ¶
type AccountPayoutSchedule struct { // The number of days charges for the account will be held before being paid out. DelayDays int64 `json:"delay_days"` // How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. Interval PayoutInterval `json:"interval"` // The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months. MonthlyAnchor int64 `json:"monthly_anchor"` // The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly. WeeklyAnchor string `json:"weekly_anchor"` }
type AccountRejectParams ¶
type AccountRejectParams struct { Params `form:"*"` // The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`. Reason *string `form:"reason"` }
With [Connect](https://stripe.com/docs/connect), you may flag accounts as suspicious.
Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
type AccountRejectReason ¶
type AccountRejectReason string
AccountRejectReason describes the valid reason to reject an account
const ( AccountRejectReasonFraud AccountRejectReason = "fraud" AccountRejectReasonOther AccountRejectReason = "other" AccountRejectReasonTermsOfService AccountRejectReason = "terms_of_service" )
List of values that AccountRejectReason can take.
type AccountRequirements ¶
type AccountRequirements struct { // Fields that are due and can be satisfied by providing the corresponding alternative fields instead. Alternatives []*AccountRequirementsAlternative `json:"alternatives"` // Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected. CurrentDeadline int64 `json:"current_deadline"` // Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. CurrentlyDue []string `json:"currently_due"` // If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`. DisabledReason AccountRequirementsDisabledReason `json:"disabled_reason"` // Fields that are `currently_due` and need to be collected again because validation or verification failed. Errors []*AccountRequirementsError `json:"errors"` // Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set. EventuallyDue []string `json:"eventually_due"` // Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account. PastDue []string `json:"past_due"` // Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. PendingVerification []string `json:"pending_verification"` }
type AccountRequirementsAlternative ¶ added in v72.64.0
type AccountRequirementsAlternative struct { // Fields that can be provided to satisfy all fields in `original_fields_due`. AlternativeFieldsDue []string `json:"alternative_fields_due"` // Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`. OriginalFieldsDue []string `json:"original_fields_due"` }
Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
type AccountRequirementsDisabledReason ¶
type AccountRequirementsDisabledReason string
If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.
const ( AccountRequirementsDisabledReasonFieldsNeeded AccountRequirementsDisabledReason = "fields_needed" AccountRequirementsDisabledReasonListed AccountRequirementsDisabledReason = "listed" AccountRequirementsDisabledReasonOther AccountRequirementsDisabledReason = "other" AccountRequirementsDisabledReasonRejectedFraud AccountRequirementsDisabledReason = "rejected.fraud" AccountRequirementsDisabledReasonRejectedListed AccountRequirementsDisabledReason = "rejected.listed" AccountRequirementsDisabledReasonRejectedOther AccountRequirementsDisabledReason = "rejected.other" AccountRequirementsDisabledReasonRejectedTermsOfService AccountRequirementsDisabledReason = "rejected.terms_of_service" AccountRequirementsDisabledReasonUnderReview AccountRequirementsDisabledReason = "under_review" )
List of values that AccountRequirementsDisabledReason can take
type AccountRequirementsError ¶
type AccountRequirementsError struct { // The code for the type of error. Code string `json:"code"` // An informative message that indicates the error type and provides additional details about the error. Reason string `json:"reason"` // The specific user onboarding requirement field (in the requirements hash) that needs to be resolved. Requirement string `json:"requirement"` }
Fields that are `currently_due` and need to be collected again because validation or verification failed.
type AccountSettings ¶
type AccountSettings struct { BACSDebitPayments *AccountSettingsBACSDebitPayments `json:"bacs_debit_payments"` Branding *AccountSettingsBranding `json:"branding"` CardIssuing *AccountSettingsCardIssuing `json:"card_issuing"` CardPayments *AccountSettingsCardPayments `json:"card_payments"` Dashboard *AccountSettingsDashboard `json:"dashboard"` Payments *AccountSettingsPayments `json:"payments"` Payouts *AccountSettingsPayouts `json:"payouts"` SEPADebitPayments *AccountSettingsSEPADebitPayments `json:"sepa_debit_payments"` }
Options for customizing how the account functions within Stripe.
type AccountSettingsBACSDebitPayments ¶
type AccountSettingsBACSDebitPayments struct { // The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this will appear on the mandate, and as the statement descriptor. DisplayName string `json:"display_name"` }
type AccountSettingsBACSDebitPaymentsParams ¶
type AccountSettingsBACSDebitPaymentsParams struct {
DisplayName *string `form:"display_name"`
}
AccountSettingsBACSDebitPaymentsParams represent allowed parameters to configure settings specific to BACS Debit charging on the account.
type AccountSettingsBranding ¶
type AccountSettingsBranding struct { // (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. Icon *File `json:"icon"` // (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. Logo *File `json:"logo"` // A CSS hex color value representing the primary branding color for this account PrimaryColor string `json:"primary_color"` // A CSS hex color value representing the secondary branding color for this account SecondaryColor string `json:"secondary_color"` }
type AccountSettingsBrandingParams ¶
type AccountSettingsBrandingParams struct { // (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. Icon *string `form:"icon"` // (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. Logo *string `form:"logo"` // A CSS hex color value representing the primary branding color for this account. PrimaryColor *string `form:"primary_color"` // A CSS hex color value representing the secondary branding color for this account. SecondaryColor *string `form:"secondary_color"` }
Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
type AccountSettingsCardIssuing ¶ added in v72.40.0
type AccountSettingsCardIssuing struct {
TOSAcceptance *AccountTOSAcceptance `json:"tos_acceptance"`
}
type AccountSettingsCardIssuingParams ¶ added in v72.40.0
type AccountSettingsCardIssuingParams struct { // Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance). TOSAcceptance *AccountTOSAcceptanceParams `form:"tos_acceptance"` }
Settings specific to the account's use of the Card Issuing product.
type AccountSettingsCardPayments ¶
type AccountSettingsCardPayments struct { DeclineOn *AccountDeclineOn `json:"decline_on"` // The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. StatementDescriptorPrefix string `json:"statement_descriptor_prefix"` }
type AccountSettingsCardPaymentsParams ¶
type AccountSettingsCardPaymentsParams struct { // Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. DeclineOn *AccountDeclineSettingsParams `form:"decline_on"` // The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. StatementDescriptorPrefix *string `form:"statement_descriptor_prefix"` }
Settings specific to card charging on the account.
type AccountSettingsDashboard ¶
type AccountSettingsDashboard struct { // The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts. DisplayName string `json:"display_name"` // The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Timezone string `json:"timezone"` }
type AccountSettingsDashboardParams ¶
type AccountSettingsDashboardParams struct { DisplayName *string `form:"display_name"` Timezone *string `form:"timezone"` }
AccountSettingsDashboardParams represent allowed parameters to configure settings for the account's Dashboard.
type AccountSettingsParams ¶
type AccountSettingsParams struct { BACSDebitPayments *AccountSettingsBACSDebitPaymentsParams `form:"bacs_debit_payments"` // Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products. Branding *AccountSettingsBrandingParams `form:"branding"` // Settings specific to the account's use of the Card Issuing product. CardIssuing *AccountSettingsCardIssuingParams `form:"card_issuing"` // Settings specific to card charging on the account. CardPayments *AccountSettingsCardPaymentsParams `form:"card_payments"` Dashboard *AccountSettingsDashboardParams `form:"dashboard"` // Settings that apply across payment methods for charging on the account. Payments *AccountSettingsPaymentsParams `form:"payments"` // Settings specific to the account's payouts. Payouts *AccountSettingsPayoutsParams `form:"payouts"` }
Options for customizing how the account functions within Stripe.
type AccountSettingsPayments ¶
type AccountSettingsPayments struct { // The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. StatementDescriptor string `json:"statement_descriptor"` // The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only) StatementDescriptorKana string `json:"statement_descriptor_kana"` // The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only) StatementDescriptorKanji string `json:"statement_descriptor_kanji"` }
type AccountSettingsPaymentsParams ¶
type AccountSettingsPaymentsParams struct { // The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. StatementDescriptor *string `form:"statement_descriptor"` // The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). StatementDescriptorKana *string `form:"statement_descriptor_kana"` // The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). StatementDescriptorKanji *string `form:"statement_descriptor_kanji"` }
Settings that apply across payment methods for charging on the account.
type AccountSettingsPayouts ¶
type AccountSettingsPayouts struct { // A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See our [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances) documentation for details. Default value is `false` for Custom accounts, otherwise `true`. DebitNegativeBalances bool `json:"debit_negative_balances"` Schedule *AccountPayoutSchedule `json:"schedule"` // The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard. StatementDescriptor string `json:"statement_descriptor"` }
type AccountSettingsPayoutsParams ¶
type AccountSettingsPayoutsParams struct { // A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). DebitNegativeBalances *bool `form:"debit_negative_balances"` // Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/docs/connect/bank-transfers#payout-information) documentation. Schedule *PayoutScheduleParams `form:"schedule"` // The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard. StatementDescriptor *string `form:"statement_descriptor"` }
Settings specific to the account's payouts.
type AccountSettingsSEPADebitPayments ¶
type AccountSettingsSEPADebitPayments struct { // SEPA creditor identifier that identifies the company making the payment. CreditorID string `json:"creditor_id"` }
type AccountTOSAcceptance ¶
type AccountTOSAcceptance struct { // The Unix timestamp marking when the account representative accepted their service agreement Date int64 `json:"date"` // The IP address from which the account representative accepted their service agreement IP string `json:"ip"` // The user's service agreement type ServiceAgreement AccountTOSAcceptanceServiceAgreement `json:"service_agreement"` // The user agent of the browser from which the account representative accepted their service agreement UserAgent string `json:"user_agent"` }
type AccountTOSAcceptanceParams ¶
type AccountTOSAcceptanceParams struct { // The Unix timestamp marking when the account representative accepted their service agreement. Date *int64 `form:"date"` // The IP address from which the account representative accepted their service agreement. IP *string `form:"ip"` // The user's service agreement type. ServiceAgreement *string `form:"service_agreement"` // The user agent of the browser from which the account representative accepted their service agreement. UserAgent *string `form:"user_agent"` }
Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance).
type AccountTOSAcceptanceServiceAgreement ¶
type AccountTOSAcceptanceServiceAgreement string
The user's service agreement type
const ( AccountTOSAcceptanceServiceAgreementFull AccountTOSAcceptanceServiceAgreement = "full" AccountTOSAcceptanceServiceAgreementRecipient AccountTOSAcceptanceServiceAgreement = "recipient" )
List of values that AccountTOSAcceptanceServiceAgreement can take
type AccountType ¶
type AccountType string
The Stripe account type. Can be `standard`, `express`, or `custom`.
const ( AccountTypeCustom AccountType = "custom" AccountTypeExpress AccountType = "express" AccountTypeStandard AccountType = "standard" )
List of values that AccountType can take
type Address ¶
type Address struct { City string `json:"city"` Country string `json:"country"` Line1 string `json:"line1"` Line2 string `json:"line2"` PostalCode string `json:"postal_code"` State string `json:"state"` }
Address describes common properties for an Address hash.
type AddressParams ¶
type AddressParams struct { City *string `form:"city"` Country *string `form:"country"` Line1 *string `form:"line1"` Line2 *string `form:"line2"` PostalCode *string `form:"postal_code"` State *string `form:"state"` }
AddressParams describes the common parameters for an Address.