- #1986 Update generated code
- Add support for
Prices
onBillingCreditBalanceSummaryFilterApplicabilityScopeParams
,BillingCreditGrantApplicabilityConfigScopeParams
, andBillingCreditGrantApplicabilityConfigScope
- Add support for
Priority
onBillingCreditGrantParams
andBillingCreditGrant
- Add support for
TargetDate
onCheckoutSessionPaymentMethodOptionsAcssDebitParams
,CheckoutSessionPaymentMethodOptionsAcssDebit
,CheckoutSessionPaymentMethodOptionsAuBecsDebitParams
,CheckoutSessionPaymentMethodOptionsAuBecsDebit
,CheckoutSessionPaymentMethodOptionsBacsDebitParams
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsSepaDebitParams
,CheckoutSessionPaymentMethodOptionsSepaDebit
,CheckoutSessionPaymentMethodOptionsUsBankAccountParams
,CheckoutSessionPaymentMethodOptionsUsBankAccount
,PaymentIntentConfirmPaymentMethodOptionsAcssDebitParams
,PaymentIntentConfirmPaymentMethodOptionsAuBecsDebitParams
,PaymentIntentConfirmPaymentMethodOptionsBacsDebitParams
,PaymentIntentConfirmPaymentMethodOptionsSepaDebitParams
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsAcssDebitParams
,PaymentIntentPaymentMethodOptionsAcssDebit
,PaymentIntentPaymentMethodOptionsAuBecsDebitParams
,PaymentIntentPaymentMethodOptionsAuBecsDebit
,PaymentIntentPaymentMethodOptionsBacsDebitParams
,PaymentIntentPaymentMethodOptionsBacsDebit
,PaymentIntentPaymentMethodOptionsSepaDebitParams
,PaymentIntentPaymentMethodOptionsSepaDebit
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
, andPaymentIntentPaymentMethodOptionsUsBankAccount
- Add support for
Restrictions
onCheckoutSessionPaymentMethodOptionsCardParams
andCheckoutSessionPaymentMethodOptionsCard
- Add support for
CollectedInformation
onCheckoutSessionParams
andCheckoutSession
- Add support for
Metadata
onProductDefaultPriceDataParams
- Add support for
- #1988 add codeowners file
- #1985 Add Stripe Client to example tests
- #1982 Add usage data for stripe client usage
- Add telemetry for usage of the Stripe Client
- #1984 Revert "Add GetParams methods to root params objects"
- #1983 Add GetParams methods to root params objects
- Adds
nil
-safeGetParams
methods to all top-level Params structs
- Adds
- #1980 Update generated code
⚠️ Fix acronymJPY
in TerminalConfiguration that were not correctly capitalized
- #1965 Update generated code
- Add support for
Close
method on resourceTreasury.FinancialAccount
- Add support for
PayByBankPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
DirectorshipDeclaration
andOwnershipExemptionReason
onAccountCompanyParams
,AccountCompany
, andTokenAccountCompanyParams
- Add support for
ProofOfUltimateBeneficialOwnership
onAccountDocumentsParams
- Add support for
FinancialAccount
onAccountSessionComponentsParams
,AccountSessionComponents
, andTreasuryOutboundTransferDestinationPaymentMethodDetails
- Add support for
FinancialAccountTransactions
,IssuingCard
, andIssuingCardsList
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
AdviceCode
onChargeOutcome
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Add support for
PayByBank
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Country
onChargePaymentMethodDetailsPaypal
,ConfirmationTokenPaymentMethodPreviewPaypal
, andPaymentMethodPaypal
- Add support for
Discounts
onCheckoutSession
- Add support for new value
SD
on enumsCheckoutSessionShippingAddressCollectionAllowedCountries
andPaymentLinkShippingAddressCollectionAllowedCountries
- Add support for new value
pay_by_bank
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
PhoneNumberCollection
onPaymentLinkParams
- Add support for new value
pay_by_bank
on enumPaymentLinkPaymentMethodTypes
- Add support for
Jpy
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for
Nickname
onTreasuryFinancialAccountParams
andTreasuryFinancialAccount
- Add support for
ForwardingSettings
onTreasuryFinancialAccountParams
- Add support for
IsDefault
onTreasuryFinancialAccount
- Add support for
DestinationPaymentMethodData
onTreasuryOutboundTransferParams
- Change type of
TreasuryOutboundTransferDestinationPaymentMethodDetailsType
fromliteral('us_bank_account')
toenum('financial_account'|'us_bank_account')
- Add support for
OutboundTransfer
onTreasuryReceivedCreditLinkedFlowsSourceFlowDetails
- Add support for new value
outbound_transfer
on enumTreasuryReceivedCreditLinkedFlowsSourceFlowDetailsType
- Add support for
- #1970 fix justfile ordering bug
- #1969 pin CI and fix formatting
- #1964 add justfile, update readme, remove coveralls
- #1967 Added CONTRIBUTING.md file
- #1962 Added pull request template
- #1957 This release changes the pinned API version to
2024-12-18.acacia
.- Add support for
NetworkAdviceCode
andNetworkDeclineCode
onChargeOutcome
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Add support for new values
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransactionType
- Add support for
CreditsApplicationInvoiceVoided
onBillingCreditBalanceTransactionCredit
- Change type of
BillingCreditBalanceTransactionCreditType
fromliteral('credits_granted')
toenum('credits_application_invoice_voided'|'credits_granted')
- Add support for
AllowRedisplay
onCard
andSource
- Add support for
RegulatedStatus
onCard
,ChargePaymentMethodDetailsCard
,ConfirmationTokenPaymentMethodPreviewCard
, andPaymentMethodCard
- Add support for
Funding
onChargePaymentMethodDetailsAmazonPay
andChargePaymentMethodDetailsRevolutPay
- Add support for
NetworkTransactionID
onChargePaymentMethodDetailsCard
- Add support for
ReferencePrefix
onCheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions
,PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions
,SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptions
,SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
, andSetupIntentPaymentMethodOptionsSepaDebitMandateOptions
- Add support for new values
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for
VisaCompliance
onDisputeEvidenceDetailsEnhancedEligibility
,DisputeEvidenceEnhancedEvidenceParams
, andDisputeEvidenceEnhancedEvidence
- Add support for new value
request_signature
on enumForwardingRequestReplacements
- Add support for
AccountHolderAddress
andBankAddress
onFundingInstructionsBankTransferFinancialAddressesIban
,FundingInstructionsBankTransferFinancialAddressesSortCode
,FundingInstructionsBankTransferFinancialAddressesSpei
,FundingInstructionsBankTransferFinancialAddressesZengin
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
- Add support for
AccountHolderName
onFundingInstructionsBankTransferFinancialAddressesSpei
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
- Add support for
DisabledReason
onInvoiceAutomaticTax
,SubscriptionAutomaticTax
,SubscriptionScheduleDefaultSettingsAutomaticTax
, andSubscriptionSchedulePhasesAutomaticTax
- Add support for
TaxID
onIssuingAuthorizationMerchantData
andIssuingTransactionMerchantData
- Add support for
TrialPeriodDays
onPaymentLinkSubscriptionDataParams
- Add support for
Al
,Am
,Ao
,Ba
,Bb
,Bs
,Cd
,Gn
,Kh
,Me
,Mk
,Mr
,Np
,Pe
,Sn
,Sr
,Tj
,Ug
,Uy
,Zm
, andZw
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for
- #1955 Temporarily add payment_method parameter to BankAccountParams
- #1951 This release changes the pinned API version to
2024-11-20.acacia
.- Add support for
Respond
test helper method on resourceIssuing.Authorization
- Add support for
Authorizer
onAccountPersonsRelationshipParams
andTokenPersonRelationshipParams
- Change type of
AccountFutureRequirementsDisabledReason
andAccountRequirementsDisabledReason
fromstring
toenum
- Add support for
AdaptivePricing
onCheckoutSessionParams
andCheckoutSession
- Add support for
MandateOptions
onCheckoutSessionPaymentMethodOptionsBacsDebitParams
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsSepaDebitParams
, andCheckoutSessionPaymentMethodOptionsSepaDebit
- Add support for
RequestExtendedAuthorization
,RequestIncrementalAuthorization
,RequestMulticapture
, andRequestOvercapture
onCheckoutSessionPaymentMethodOptionsCardParams
andCheckoutSessionPaymentMethodOptionsCard
- Add support for
CaptureMethod
onCheckoutSessionPaymentMethodOptionsKakaoPayParams
,CheckoutSessionPaymentMethodOptionsKrCardParams
,CheckoutSessionPaymentMethodOptionsNaverPayParams
,CheckoutSessionPaymentMethodOptionsPaycoParams
, andCheckoutSessionPaymentMethodOptionsSamsungPayParams
- Add support for new value
li_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new value
subscribe
on enumsCheckoutSessionSubmitType
andPaymentLinkSubmitType
- Add support for new value
financial_account_statement
on enumFilePurpose
- Add support for
AccountHolderAddress
,AccountHolderName
,AccountType
, andBankAddress
onFundingInstructionsBankTransferFinancialAddressesAba
,FundingInstructionsBankTransferFinancialAddressesSwift
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
- Add support for
MerchantAmount
andMerchantCurrency
onIssuingAuthorizationParams
- Add support for
FraudChallenges
andVerifiedByFraudChallenge
onIssuingAuthorization
- Add support for new value
link
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
- Add support for
SubmitType
onPaymentLinkParams
- Add support for
TraceID
onPayout
- Add support for
NetworkDeclineCode
onRefundDestinationDetailsBlik
andRefundDestinationDetailsSwish
- Add support for new value
service_tax
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the 2024-09-30.acacia
release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (like acacia
) without upgrading the SDK.
However, a bug in the 80.x.y
SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia
version to the new 2024-10-28.acacia
version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia
as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia
line will be released as minor versions.
- #1931 This release changes the pinned API version to
2024-10-28.acacia
.- Add support for new resource
V2.EventDestinations
- Add support for
New
,Retrieve
,Update
,List
,Delete
,Disable
,Enable
andPing
methods on resourceV2.EventDestinations
- Add support for
SubmitCard
test helper method on resourceIssuing.Card
- Add support for
Groups
onAccountParams
andAccount
- Add support for
AlmaPayments
,KakaoPayPayments
,KrCardPayments
,NaverPayPayments
,PaycoPayments
, andSamsungPayPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
DisableStripeUserAuthentication
onAccountSessionComponentsAccountManagementFeaturesParams
,AccountSessionComponentsAccountManagementFeatures
,AccountSessionComponentsAccountOnboardingFeaturesParams
,AccountSessionComponentsAccountOnboardingFeatures
,AccountSessionComponentsBalancesFeaturesParams
,AccountSessionComponentsBalancesFeatures
,AccountSessionComponentsNotificationBannerFeaturesParams
,AccountSessionComponentsNotificationBannerFeatures
,AccountSessionComponentsPayoutsFeaturesParams
, andAccountSessionComponentsPayoutsFeatures
- Add support for
ScheduleAtPeriodEnd
onBillingPortalConfigurationFeaturesSubscriptionUpdateParams
andBillingPortalConfigurationFeaturesSubscriptionUpdate
- Add support for
Alma
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
KakaoPay
andKrCard
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
NaverPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Payco
andSamsungPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new values
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new values
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
EnhancedEvidence
onDisputeEvidenceParams
andDisputeEvidence
- Add support for
EnhancedEligibilityTypes
onDispute
- Add support for
EnhancedEligibility
onDisputeEvidenceDetails
- Add support for new values
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumEventType
- Add support for
Metadata
onForwardingRequestParams
andForwardingRequest
- Add support for
AutomaticallyFinalizesAt
onInvoiceParams
- Add support for new values
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for new value
alma
on enumPaymentLinkPaymentMethodTypes
- Add support for
AmazonPay
onPaymentMethodDomain
- Change type of
RefundNextActionDisplayDetails
fromnullable(RefundNextActionDisplayDetails)
toRefundNextActionDisplayDetails
- Add support for new value
retail_delivery_fee
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
FlatAmount
andRateType
onTaxCalculationTaxBreakdownTaxRateDetails
andTaxRate
- Add support for
By
,Cr
,Ec
,Ma
,Md
,RU
,Rs
,Tz
, andUz
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for new value
state_retail_delivery_fee
on enumTaxRegistrationCountryOptionsUsType
- Add support for
Pln
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for new resource
- #1940 Update webhook API version validation
- Update webhook event processing to accept events from any API version within the supported major release
- #1929, #1933 Remove rawrequests Post, Get, and Delete in favor of rawrequests.Client
- The individual
rawrequests
functions for Post, Get, and Delete methods are removed in favor of the client model which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.
- The individual
- #1928 Update generated code
- Remove the support for resource
Margin
that was accidentally made public in the last release
- Remove the support for resource
-
#1926 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.- Rename
usage_threshold_config
tousage_threshold
onBillingAlertParams
andBillingAlert
- Remove support for
filter
onBillingAlertParams
andBillingAlert
. Use the filters on theusage_threshold
instead - Remove support for
CustomerConsentCollected
onTerminalReaderProcessSetupIntentParams
- Add support for
CustomUnitAmount
onProductDefaultPriceDataParams
- Add support for
AllowRedisplay
onTerminalReaderProcessPaymentIntentProcessConfigParams
andTerminalReaderProcessSetupIntentParams
- Add support for new value
international_transaction
on enumTreasuryReceivedCreditFailureCode
- Add method RawRequest() that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.
- Rename
- #1919 Update generated code
- Add support for new value
international_transaction
on enumTreasuryReceivedDebitFailureCode
- Add support for new value
- #1918 Update generated code
- Add support for new value
verification_supportability
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for new value
terminal_reader_invalid_location_for_activation
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
PayerDetails
onChargePaymentMethodDetailsKlarna
- Add support for
AmazonPay
onDisputePaymentMethodDetails
- Add support for new value
amazon_pay
on enumDisputePaymentMethodDetailsType
- Add support for
AutomaticallyFinalizesAt
onInvoice
- Add support for
StateSalesTax
onTaxRegistrationCountryOptionsUsParams
andTaxRegistrationCountryOptionsUs
- Add support for new value
- #1912 Update generated code
- Add support for new resource
InvoiceRenderingTemplate
- Add support for
Archive
,Get
,List
, andUnarchive
methods on resourceInvoiceRenderingTemplate
- Add support for
Required
onCheckoutSessionTaxIdCollectionParams
,CheckoutSessionTaxIdCollection
,PaymentLinkTaxIdCollectionParams
, andPaymentLinkTaxIdCollection
- Add support for
Template
onCustomerInvoiceSettingsRenderingOptionsParams
,CustomerInvoiceSettingsRenderingOptions
,InvoiceRenderingParams
, andInvoiceRendering
- Add support for
TemplateVersion
onInvoiceRenderingParams
andInvoiceRendering
- Add support for new value
submitted
on enumIssuingCardShippingStatus
- Add support for new resource
- #1906 Update generated code
- Add support for
SubscriptionItem
andSubscription
onBillingAlertFilterParams
- Add support for
- #1910 Generate SDK for OpenAPI spec version 1230
- Add support for new value
hr_oib
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new value
issuing_regulatory_reporting
on enumFilePurpose
- Add support for
StatusDetails
onTestHelpersTestClock
- Add support for new value
- #1904 Update generated code
- Add support for
AuthorizationCode
onChargePaymentMethodDetailsCard
- Add support for
Wallet
onChargePaymentMethodDetailsCardPresent
,ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent
,ConfirmationTokenPaymentMethodPreviewCardPresent
,PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent
, andPaymentMethodCardPresent
- Add support for
MandateOptions
onPaymentIntentConfirmPaymentMethodOptionsBacsDebitParams
,PaymentIntentPaymentMethodOptionsBacsDebitParams
, andPaymentIntentPaymentMethodOptionsBacsDebit
- Add support for
BACSDebit
onSetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for
Chips
onTreasuryOutboundPaymentTrackingDetailsUsDomesticWireParams
,TreasuryOutboundPaymentTrackingDetailsUsDomesticWire
,TreasuryOutboundTransferTrackingDetailsUsDomesticWireParams
, andTreasuryOutboundTransferTrackingDetailsUsDomesticWire
- Add support for
- #1903 Use pinned version of staticcheck
- #1899 Update generated code
- Add support for
Activate
,Archive
,Deactivate
,Get
,List
, andNew
methods on resourceBilling.Alert
- Add support for
Get
method on resourceTax.Calculation
- Add support for new value
invalid_mandate_reference_prefix_format
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
Type
onChargePaymentMethodDetailsCardPresentOffline
,ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresentOffline
,PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresentOffline
, andSetupAttemptPaymentMethodDetailsCardPresentOffline
- Add support for
Offline
onConfirmationTokenPaymentMethodPreviewCardPresent
andPaymentMethodCardPresent
- Add support for
RelatedCustomer
onIdentityVerificationSessionListParams
,IdentityVerificationSessionParams
, andIdentityVerificationSession
- Add support for new value
girocard
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
- Add support for new value
financial_addresses.aba.forwarding
on enumsTreasuryFinancialAccountActiveFeatures
,TreasuryFinancialAccountPendingFeatures
, andTreasuryFinancialAccountRestrictedFeatures
- Add support for
- #1897 Update generated code
- Add support for new resources
Billing.AlertTriggered
andBilling.Alert
- Add support for new value
charge_exceeds_transaction_limit
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
⚠️ Remove support forAuthorizationCode
onChargePaymentMethodDetailsCard
. This was accidentally released last week.- Add support for new value
billing.alert.triggered
on enumEventType
- Add support for new resources
- #1895 Fixed config override with GetBackendWithConfig
- #1896 Update generated code
- Add support for
TaxRegistrations
andTaxSettings
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
- #1892 Update generated code
- Add support for
Update
method on resourceCheckout.Session
- Add support for
TransactionID
onChargePaymentMethodDetailsAffirm
- Add support for
BuyerID
onChargePaymentMethodDetailsBlik
- Add support for
AuthorizationCode
onChargePaymentMethodDetailsCard
- Add support for
BrandProduct
onChargePaymentMethodDetailsCardPresent
,ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent
,ConfirmationTokenPaymentMethodPreviewCardPresent
,PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent
, andPaymentMethodCardPresent
- Add support for
NetworkTransactionID
onChargePaymentMethodDetailsCardPresent
,ChargePaymentMethodDetailsInteracPresent
,ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent
, andPaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent
- Add support for
CaseType
onDisputePaymentMethodDetailsCard
- Add support for new values
invoice.overdue
andinvoice.will_be_due
on enumEventType
- Add support for
TWINT
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
- #1890 Update generated code
- Add support for
Customer
onConfirmationTokenPaymentMethodPreview
- Add support for new value
issuing_dispute.funds_rescinded
on enumEventType
- Add support for new value
multibanco
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for new value
stripe_s700
on enumTerminalReaderDeviceType
- Add support for
- #1888 Update changelog
- #1886 Update generated code
⚠️ Remove support for valuesbilling_policy_remote_function_response_invalid
,billing_policy_remote_function_timeout
,billing_policy_remote_function_unexpected_status_code
, andbilling_policy_remote_function_unreachable
from enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
.⚠️ Remove support for valuepayment_intent_fx_quote_invalid
from enumStripeErrorCode
. The was mistakenly released last week.- Add support for
PaymentMethodOptions
onConfirmationToken
- Add support for
PaymentElement
onCustomerSessionComponentsParams
andCustomerSessionComponents
- Add support for
AddressValidation
onIssuingCardShippingParams
andIssuingCardShipping
- Add support for
Shipping
onIssuingCardParams
- #1881 Update generated code
- Add support for
AddLines
,RemoveLines
, andUpdateLines
methods on resourceInvoice
- Add support for new value
payment_intent_fx_quote_invalid
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
PostedAt
onTaxTransactionCreateFromCalculationParams
andTaxTransaction
- Add support for
- #1879 Update generated code
- Add support for
Filters
onCheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
- Add support for
EmailType
onCreditNoteParams
,CreditNotePreviewLinesParams
, andCreditNotePreviewParams
- Add support for
AccountSubcategories
onFinancialConnectionsSessionFiltersParams
andFinancialConnectionsSessionFilters
- Add support for new values
multibanco
,twint
, andzip
on enumPaymentLinkPaymentMethodTypes
- Add support for
RebootWindow
onTerminalConfigurationParams
andTerminalConfiguration
- Add support for
- #1880 Add object param to list method for BankAccount/Card
- Add support to
object
inBankAccountListParams
andCardListParams
- Add support to
-
#1878 Update generated code
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
- Remove the unused resource
PlatformTaxFee
- Rename
VolumeDecimal
toQuantityDecimal
onIssuingTransactionPurchaseDetailsFuel
,TestHelpersIssuingAuthorizationCapturePurchaseDetailsFuelParams
,TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsFuelParams
, andTestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsFuelParams
- Add support for
FinalizeAmount
test helper method on resourceIssuing.Authorization
- Add support for new value
ch_uid
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for
Fleet
onIssuingAuthorizationParams
,IssuingAuthorization
,IssuingTransactionPurchaseDetails
,TestHelpersIssuingAuthorizationCapturePurchaseDetailsParams
,TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsParams
, andTestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsParams
- Add support for
Fuel
onIssuingAuthorizationParams
andIssuingAuthorization
- Add support for
IndustryProductCode
andQuantityDecimal
onIssuingTransactionPurchaseDetailsFuel
,TestHelpersIssuingAuthorizationCapturePurchaseDetailsFuelParams
,TestHelpersIssuingTransactionCreateForceCapturePurchaseDetailsFuelParams
, andTestHelpersIssuingTransactionCreateUnlinkedRefundPurchaseDetailsFuelParams
- Add support for new values
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
, andpin_blocked
on enumIssuingAuthorizationRequestHistoryReason
- Remove the unused resource
- #1876 Update generated code
- Add support for
TaxIDCollection
onPaymentLinkParams
- Add support for new value
mobilepay
on enumPaymentLinkPaymentMethodTypes
- Add support for
- #1871 Update generated code
- Add support for
MultibancoPayments
andTWINTPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
TWINT
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Multibanco
onCheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new value
de_stn
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new values
multibanco
andtwint
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
MultibancoDisplayDetails
onPaymentIntentNextAction
- Add support for
InvoiceSettings
onSubscription
- Add support for
- #1870 Update generated code
- Add support for
GBBankTransferPayments
,JPBankTransferPayments
,MXBankTransferPayments
,SEPABankTransferPayments
, andUSBankTransferPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for new value
swish
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
- #1868 Update generated code
- Add support for new value
verification_requires_additional_proof_of_registration
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for
DefaultValue
onCheckoutSessionCustomFieldsDropdownParams
,CheckoutSessionCustomFieldsDropdown
,CheckoutSessionCustomFieldsNumericParams
,CheckoutSessionCustomFieldsNumeric
,CheckoutSessionCustomFieldsTextParams
, andCheckoutSessionCustomFieldsText
- Add support for
GeneratedFrom
onConfirmationTokenPaymentMethodPreviewCard
andPaymentMethodCard
- Add support for new values
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumEventType
- Add support for new value
- #1864 Update generated code
- Add support for
ExternalAccountCollection
onAccountSessionComponentsBalancesFeaturesParams
,AccountSessionComponentsBalancesFeatures
,AccountSessionComponentsPayoutsFeaturesParams
, andAccountSessionComponentsPayoutsFeatures
- Add support for new value
terminal_reader_invalid_location_for_payment
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
PaymentMethodRemove
onCheckoutSessionSavedPaymentMethodOptions
- Add support for
- #1862 Update generated code
- Add support for
FeeSource
onApplicationFee
- Add support for
NetAvailable
onBalanceInstantAvailable
- Add support for
PreferredLocales
onChargePaymentMethodDetailsCardPresent
,ConfirmationTokenPaymentMethodPreviewCardPresent
, andPaymentMethodCardPresent
- Add support for
Klarna
onDisputePaymentMethodDetails
- Add support for new value
klarna
on enumDisputePaymentMethodDetailsType
- Add support for
Archived
andLookupKey
onEntitlementsFeatureListParams
- Add support for
NoValidAuthorization
onIssuingDisputeEvidenceParams
andIssuingDisputeEvidence
- Add support for
LossReason
onIssuingDispute
- Add support for new value
no_valid_authorization
on enumIssuingDisputeEvidenceReason
- Add support for
Routing
onPaymentIntentConfirmPaymentMethodOptionsCardPresentParams
,PaymentIntentPaymentMethodOptionsCardPresentParams
, andPaymentIntentPaymentMethodOptionsCardPresent
- Add support for
ApplicationFeeAmount
andApplicationFee
onPayout
- Add support for
StripeS700
onTerminalConfigurationParams
andTerminalConfiguration
- Add support for
- #1858 Update generated code
- Add support for
Update
test helper method on resourcesTreasury.OutboundPayment
andTreasury.OutboundTransfer
- Add support for
AllowRedisplay
onConfirmationTokenPaymentMethodPreview
andPaymentMethod
- Add support for new values
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on enumEventType
- Add support for
PreviewMode
onInvoiceCreatePreviewParams
,InvoiceUpcomingLinesParams
, andInvoiceUpcomingParams
- Add support for
TrackingDetails
onTreasuryOutboundPayment
andTreasuryOutboundTransfer
- Add support for
- #1859 Update method descriptions to reflect OpenAPI
- #1853 Update generated code
- Add support for new value
shipping_address_invalid
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
Paypal
onDisputePaymentMethodDetails
- Change type of
DisputePaymentMethodDetailsType
fromliteral('card')
toenum('card'|'paypal')
- Change type of
EntitlementsFeatureMetadataParams
frommap(string: string)
toemptyable(map(string: string))
- Add support for
PaymentMethodTypes
onPaymentIntentConfirmParams
- Add support for
ShipFromDetails
onTaxCalculationParams
,TaxCalculation
, andTaxTransaction
- Add support for
Bh
,Eg
,Ge
,Ke
,Kz
,Ng
, andOm
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for new value
- #1856 Deprecate Go methods and Params
- Mark as deprecated the
Approve
andDecline
methods onissuing/authorization/client.go
. Instead, respond directly to the webhook request to approve an authorization. - Mark as deprecated the
persistent_token
property onConfirmationTokenPaymentMethodPreviewLink.persistent_token
,PaymentIntentPaymentMethodOptionsLink
,PaymentIntentPaymentMethodOptionsLinkParams
,PaymentMethodLink
,SetupIntentPaymentMethodOptionsCard
,SetupIntentPaymentMethodOptionsLinkParams
. This is a legacy parameter that no longer has any function.
- Mark as deprecated the
- #1852 Update generated code
- Add support for
SetupFutureUsage
onCheckoutSessionPaymentMethodOptionsAmazonPay
,CheckoutSessionPaymentMethodOptionsRevolutPay
,PaymentIntentPaymentMethodOptionsAmazonPay
, andPaymentIntentPaymentMethodOptionsRevolutPay
- Change type of
EntitlementsActiveEntitlementFeature
fromstring
to*EntitlementsFeature
- Remove support for inadvertently released identity verification features
Email
andPhone
onIdentityVerificationSessionOptionsParams
- Add support for new values
amazon_pay
andrevolut_pay
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
AmazonPay
andRevolutPay
onMandatePaymentMethodDetails
andSetupAttemptPaymentMethodDetails
- Add support for
EndingBefore
,Limit
, andStartingAfter
onPaymentMethodConfigurationListParams
- Add support for
Mobilepay
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
- #1849 Update generated code
- Add support for
CreatePreview
method on resourceInvoice
- Add support for
PaymentMethodData
onCheckoutSessionParams
- Add support for
SavedPaymentMethodOptions
onCheckoutSessionParams
andCheckoutSession
- Add support for
Mobilepay
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for
AllowRedisplay
onConfirmationTokenPaymentMethodDataParams
,CustomerListPaymentMethodsParams
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentPaymentMethodDataParams
,PaymentMethodParams
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
ScheduleDetails
andSubscriptionDetails
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
- #1847 Update generated code
- Add support for new resource
Entitlements.ActiveEntitlementSummary
- Add support for
Balances
andPayoutsList
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for new value
entitlements.active_entitlement_summary.updated
on enumEventType
- Remove support for
Config
onForwardingRequestParams
andForwardingRequest
. This field is no longer used by the Forwarding Request API. - Add support for
CaptureMethod
onPaymentIntentConfirmPaymentMethodOptionsRevolutPayParams
,PaymentIntentPaymentMethodOptionsRevolutPayParams
, andPaymentIntentPaymentMethodOptionsRevolutPay
- Add support for
Swish
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for new resource
- #1846 Update generated code
- Add support for
AccountManagement
andNotificationBanner
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
ExternalAccountCollection
onAccountSessionComponentsAccountOnboardingFeaturesParams
andAccountSessionComponentsAccountOnboardingFeatures
- Add support for new values
billing_policy_remote_function_response_invalid
,billing_policy_remote_function_timeout
,billing_policy_remote_function_unexpected_status_code
, andbilling_policy_remote_function_unreachable
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Change type of
BillingMeterEventAdjustmentCancel
fromBillingMeterResourceBillingMeterEventAdjustmentCancel
tonullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
- Add support for
AmazonPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodDataParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for new values
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new value
ownership
on enumsCheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
- Add support for new value
amazon_pay
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
NextRefreshAvailableAt
onFinancialConnectionsAccountOwnershipRefresh
- Add support for new value
ownership
on enumsInvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions
andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions
- Add support for
-
- This release changes the pinned API version to
2024-04-10
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
- When no
x-stripe-should-retry
header is set in the response, the library now retries all requests withstatus >= 500
, not just non-POST methods. - Change the type on the status of TerminalReader object from string to enum with values of
TerminalReaderStatusOffline
andTerminalReaderStatusOnline
- Rename
Features
toMarketingFeatures
onProductCreateOptions
,ProductUpdateOptions
, andProduct
.
⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API- Remove
SubscriptionPause
fromBillingPortalConfigurationFeatures
andBillingPortalConfigurationFeaturesParams
as the feature to pause subscription on the portal has been deprecated. - Remove deprecated values for the
BalanceTransactionType
enum by removing the below constantsBalanceTransactionTypeObligationInbound
BalanceTransactionTypeObligationPayout
BalanceTransactionTypeObligationPayoutFailure
BalanceTransactionTypeObligationReversalOutbound
- Remove deprecated value for the
ClimateSupplierRemovalPathway
enum by removing the constantClimateSupplierRemovalPathwayVarious
- Remove deprecated events types
EventTypeInvoiceItemUpdated
EventTypeOrderCreated
EventTypeRecipientCreated
EventTypeRecipientDeleted
EventTypeRecipientUpdated
EventTypeSKUCreated
EventTypeSKUDeleted
- Remove the field
RequestIncrementalAuthorization
on thePaymentIntentPaymentMethodOptionsCardPresentParams
struct - this was shipped by mistake - Remove support for
id_bank_transfer
,multibanco, netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
. TODO - List the affected types and constants - Remove deprecated value for the
SetupIntentPaymentMethodOptionsCardRequestThreeDSecure
enum by removing the constantSetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
- Remove deprecated value for the
TaxRateTaxType
enum by removing the constantTaxRateTaxTypeServiceTax
- Remove
PaymentIntentPaymentMethodData*Params
in favor of reusing existingPaymentMethodData*Params
for all the payment method types.- Remove
PaymentIntentPaymentMethodDataBLIKParams
in favor ofPaymentMethodDataBLIKParams
- Remove
PaymentIntentPaymentMethodDataCashAppParams
in favor ofPaymentMethodDataCashAppParams
- Remove
PaymentIntentPaymentMethodDataCustomerBalanceParams
in favor ofPaymentMethodDataCustomerBalanceParams
- Remove
PaymentIntentPaymentMethodDataKonbiniParams
in favor ofPaymentMethodDataKonbiniParams
- Remove
PaymentIntentPaymentMethodDataLinkParams
in favor ofPaymentMethodDataLinkParams
- Remove
PaymentIntentPaymentMethodDataPayNowParams
in favor ofPaymentMethodDataPayNowParams
- Remove
PaymentIntentPaymentMethodDataPaypalParams
in favor ofPaymentMethodDataPaypalParams
- Remove
PaymentIntentPaymentMethodDataPixParams
in favor ofPaymentMethodDataPixParams
- Remove
PaymentIntentPaymentMethodDataPromptPayParams
in favor ofPaymentMethodDataPromptPayParams
- Remove
PaymentIntentPaymentMethodDataRevolutPayParams
in favor ofPaymentMethodDataRevolutPayParams
- Remove
PaymentIntentPaymentMethodDataUSBankAccounParams
in favor ofPaymentMethodDataUSBankAccounParams
- Remove
PaymentIntentPaymentMethodDataZipParams
in favor ofPaymentMethodDataZipParams
- Remove
- Remove the legacy field
InvoiceRenderingOptionsParams
inInvoice
,InvoiceParams
. UseInvoiceRenderingParams
instead.
- This release changes the pinned API version to
- #1844 Update generated code
- Add support for new resources
Entitlements.ActiveEntitlement
andEntitlements.Feature
- Add support for
Get
andList
methods on resourceActiveEntitlement
- Add support for
Get
,List
,New
, andUpdate
methods on resourceFeature
- Add support for
Controller
onAccountParams
- Add support for
Fees
,Losses
,RequirementCollection
, andStripeDashboard
onAccountController
- Add support for new value
none
on enumAccountType
- Add support for
EventName
onBillingMeterEventAdjustmentParams
andBillingMeterEventAdjustment
- Add support for
Cancel
andType
onBillingMeterEventAdjustment
- Add support for new resources
- #1838 Update generated code
- Change type of
CheckoutSessionPaymentMethodOptionsSwishReferenceParams
fromemptyable(string)
tostring
- Add support for
SubscriptionItem
onDiscount
- Add support for
Email
andPhone
onIdentityVerificationReport
,IdentityVerificationSessionOptionsParams
,IdentityVerificationSessionOptions
, andIdentityVerificationSessionVerifiedOutputs
- Add support for
VerificationFlow
onIdentityVerificationReport
,IdentityVerificationSessionParams
, andIdentityVerificationSession
- Add support for new value
verification_flow
on enumsIdentityVerificationReportType
andIdentityVerificationSessionType
- Add support for
ProvidedDetails
onIdentityVerificationSessionParams
andIdentityVerificationSession
- Add support for new values
email_unverified_other
,email_verification_declined
,phone_unverified_other
, andphone_verification_declined
on enumIdentityVerificationSessionLastErrorCode
- Add support for
PromotionCode
onInvoiceDiscountsParams
,InvoiceItemDiscountsParams
, andQuoteDiscountsParams
- Add support for
Discounts
onInvoiceUpcomingLinesSubscriptionItemsParams
,InvoiceUpcomingSubscriptionItemsParams
,QuoteLineItemsParams
,SubscriptionAddInvoiceItemsParams
,SubscriptionItemParams
,SubscriptionItem
,SubscriptionItemsParams
,SubscriptionParams
,SubscriptionSchedulePhasesAddInvoiceItemsParams
,SubscriptionSchedulePhasesAddInvoiceItems
,SubscriptionSchedulePhasesItemsParams
,SubscriptionSchedulePhasesItems
,SubscriptionSchedulePhasesParams
,SubscriptionSchedulePhases
, andSubscription
- Add support for
AllowedMerchantCountries
andBlockedMerchantCountries
onIssuingCardSpendingControlsParams
,IssuingCardSpendingControls
,IssuingCardholderSpendingControlsParams
, andIssuingCardholderSpendingControls
- Add support for
Zip
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
Offline
onSetupAttemptPaymentMethodDetailsCardPresent
- Add support for
CardPresent
onSetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for new value
mobile_phone_reader
on enumTerminalReaderDeviceType
- Change type of
- #1830 Update generated code
- Add support for new resources
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
- Add support for
Deactivate
,Get
,List
,New
,Reactivate
, andUpdate
methods on resourceMeter
- Add support for
New
method on resourcesMeterEventAdjustment
andMeterEvent
- Add support for
AmazonPayPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for new value
verification_failed_representative_authority
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for
DestinationOnBehalfOfChargeManagement
onAccountSessionComponentsPaymentDetailsFeaturesParams
,AccountSessionComponentsPaymentDetailsFeatures
,AccountSessionComponentsPaymentsFeaturesParams
, andAccountSessionComponentsPaymentsFeatures
- Add support for
Mandate
onChargePaymentMethodDetailsUsBankAccount
,TreasuryInboundTransferOriginPaymentMethodDetailsUsBankAccount
,TreasuryOutboundPaymentDestinationPaymentMethodDetailsUsBankAccount
, andTreasuryOutboundTransferDestinationPaymentMethodDetailsUsBankAccount
- Add support for
SecondLine
onIssuingCardParams
- Add support for
Meter
onPlanParams
,Plan
,PriceListRecurringParams
,PriceRecurringParams
, andPriceRecurring
- Add support for new resources
- #1828 Update generated code
- Add support for new resources
ConfirmationToken
andForwarding.Request
- Add support for
Get
method on resourceConfirmationToken
- Add support for
Get
,List
, andNew
methods on resourceRequest
- Add support for
MobilepayPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for new values
forwarding_api_inactive
,forwarding_api_invalid_parameter
,forwarding_api_upstream_connection_error
, andforwarding_api_upstream_connection_timeout
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
Mobilepay
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
PaymentReference
onChargePaymentMethodDetailsUsBankAccount
- Add support for
ConfirmationToken
onPaymentIntentConfirmParams
,PaymentIntentParams
,SetupIntentConfirmParams
, andSetupIntentParams
- Add support for new value
mobilepay
on enumPaymentMethodType
- Add support for
Name
onTerminalConfigurationParams
andTerminalConfiguration
- Add support for
Payout
onTreasuryReceivedDebitLinkedFlows
- Add support for new resources
- #1824 Update generated code
- Add support for new resources
Issuing.PersonalizationDesign
andIssuing.PhysicalBundle
- Add support for
Get
,List
,New
, andUpdate
methods on resourcePersonalizationDesign
- Add support for
Get
andList
methods on resourcePhysicalBundle
- Add support for
PersonalizationDesign
onIssuingCardListParams
,IssuingCardParams
, andIssuingCard
- Change type of
SubscriptionApplicationFeePercentParams
fromnumber
toemptyStringable(number)
- Add support for
SEPADebit
onSubscriptionPaymentSettingsPaymentMethodOptionsParams
andSubscriptionPaymentSettingsPaymentMethodOptions
- Add support for new resources
- #1823 Update generated code
- Add support for
Documents
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
RequestThreeDSecure
onCheckoutSessionPaymentMethodOptionsCardParams
andCheckoutSessionPaymentMethodOptionsCard
- Add support for
Created
onCreditNoteListParams
- Add support for
SEPADebit
onInvoicePaymentSettingsPaymentMethodOptionsParams
andInvoicePaymentSettingsPaymentMethodOptions
- Add support for
- #1818 Update generated code
- Add support for
Number
onInvoiceParams
- Add support for
EnableCustomerCancellation
onTerminalReaderActionProcessPaymentIntentProcessConfig
,TerminalReaderActionProcessSetupIntentProcessConfig
,TerminalReaderProcessPaymentIntentProcessConfigParams
, andTerminalReaderProcessSetupIntentProcessConfigParams
- Add support for
RefundPaymentConfig
onTerminalReaderActionRefundPayment
andTerminalReaderRefundPaymentParams
- Add support for
- #1820 Update README to use AddBetaVersion
- #1817 Fix typo
- #1814 Update generated code
- Add support for
ClientReferenceID
onIdentityVerificationReportListParams
,IdentityVerificationReport
,IdentityVerificationSessionListParams
,IdentityVerificationSessionParams
, andIdentityVerificationSession
- Remove support for value
service_tax
from enumTaxRateTaxType
- Add support for
Created
onTreasuryOutboundPaymentListParams
- Add support for
- #1812 Update generated code
- Add support for
Networks
onCard
,PaymentMethodCardParams
, andTokenCardParams
- Add support for new value
no_voec
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new value
financial_connections.account.refreshed_ownership
on enumEventType
- Add support for
DisplayBrand
onPaymentMethodCard
- Add support for
- #1811 Update generated code
- Add support for new value
velobank
on enumsChargePaymentMethodDetailsP24Bank
andPaymentMethodP24Bank
- Add support for
SetupFutureUsage
onPaymentIntentConfirmPaymentMethodOptionsBlikParams
,PaymentIntentPaymentMethodOptionsBlikParams
, andPaymentIntentPaymentMethodOptionsBlik
- Add support for
RequireCVCRecollection
onPaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for new value
Release specs are identical.
- #1805 Update generated code
- Add support for Swish payment method throughout the API.
- Add support for
Relationship
onAccountIndividualParams
andTokenAccountIndividualParams
- Add support for
Invoices
onAccountSettingsParams
andAccountSettings
- Add support for
AccountTaxIDs
onSubscriptionInvoiceSettingsParams
,SubscriptionScheduleDefaultSettingsInvoiceSettingsParams
,SubscriptionScheduleDefaultSettingsInvoiceSettings
,SubscriptionSchedulePhasesInvoiceSettingsParams
, andSubscriptionSchedulePhasesInvoiceSettings
- Add support for
JurisdictionLevel
onTaxRate
-
#1803 Update generated code
- Add support for
AnnualRevenue
andEstimatedWorkerCount
onAccountBusinessProfileParams
andAccountBusinessProfile
- Add support for new value
registered_charity
on enumAccountCompanyStructure
- Add support for
CollectionOptions
onAccountLinkParams
- Add support for
Liability
onCheckoutSessionAutomaticTaxParams
,CheckoutSessionAutomaticTax
,PaymentLinkAutomaticTaxParams
,PaymentLinkAutomaticTax
,QuoteAutomaticTaxParams
,QuoteAutomaticTax
,SubscriptionScheduleDefaultSettingsAutomaticTaxParams
,SubscriptionScheduleDefaultSettingsAutomaticTax
,SubscriptionSchedulePhasesAutomaticTaxParams
, andSubscriptionSchedulePhasesAutomaticTax
- Add support for
Issuer
onCheckoutSessionInvoiceCreationInvoiceDataParams
,CheckoutSessionInvoiceCreationInvoiceData
,PaymentLinkInvoiceCreationInvoiceDataParams
,PaymentLinkInvoiceCreationInvoiceData
,QuoteInvoiceSettingsParams
,QuoteInvoiceSettings
,SubscriptionScheduleDefaultSettingsInvoiceSettingsParams
,SubscriptionScheduleDefaultSettingsInvoiceSettings
,SubscriptionSchedulePhasesInvoiceSettingsParams
, andSubscriptionSchedulePhasesInvoiceSettings
- Add support for
InvoiceSettings
onCheckoutSessionSubscriptionDataParams
,PaymentLinkSubscriptionDataParams
, andPaymentLinkSubscriptionData
- Add support for
PromotionCode
onInvoiceUpcomingDiscountsParams
,InvoiceUpcomingInvoiceItemsDiscountsParams
,InvoiceUpcomingLinesDiscountsParams
, andInvoiceUpcomingLinesInvoiceItemsDiscountsParams
- Add support for new value
challenge
on enumsInvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure
andSubscriptionPaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure
- Add support for
AccountType
onPaymentMethodUsBankAccountParams
- Add support for
-
#1800 Update generated code
-
#1798 Update generated code
- Add support for new value
nn
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
- Add support for
Issuer
onInvoiceParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
, andInvoice
- Add support for
Liability
onInvoiceAutomaticTaxParams
,InvoiceAutomaticTax
,InvoiceUpcomingAutomaticTaxParams
,InvoiceUpcomingLinesAutomaticTaxParams
,SubscriptionAutomaticTaxParams
, andSubscriptionAutomaticTax
- Add support for
OnBehalfOf
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
PIN
onIssuingCardParams
- Add support for
RevocationReason
onMandatePaymentMethodDetailsBacsDebit
- Add support for
CustomerBalance
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
InvoiceSettings
onSubscriptionParams
- Add support for new value
- #1800 Update generated code
- #1798 Update generated code
- Add support for new value
nn
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
- Add support for
Issuer
onInvoiceParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
, andInvoice
- Add support for
Liability
onInvoiceAutomaticTaxParams
,InvoiceAutomaticTax
,InvoiceUpcomingAutomaticTaxParams
,InvoiceUpcomingLinesAutomaticTaxParams
,SubscriptionAutomaticTaxParams
, andSubscriptionAutomaticTax
- Add support for
OnBehalfOf
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
PIN
onIssuingCardParams
- Add support for
RevocationReason
onMandatePaymentMethodDetailsBacsDebit
- Add support for
CustomerBalance
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
InvoiceSettings
onSubscriptionParams
- Add support for new value
- #1796 Update generated code
- Add support for new resource
CustomerSession
- Add support for
New
method on resourceCustomerSession
- Remove support for values
obligation_inbound
,obligation_payout_failure
,obligation_payout
, andobligation_reversal_outbound
from enumBalanceTransactionType
- Remove support for
Expand
onBankAccountParams
andCardParams
- Add support for
AccountType
,DefaultForCurrency
, andDocuments
onBankAccountParams
andCardParams
- Remove support for
Owner
onBankAccountParams
andCardParams
- Change type of
BankAccountAccountHolderTypeParams
andCardAccountHolderTypeParams
fromenum('company'|'individual')
toemptyStringable(enum('company'|'individual'))
- Add support for new values
eps
andp24
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
BillingCycleAnchorConfig
onSubscriptionParams
andSubscription
- Add support for new resource
- #1796 Update generated code
- Add support for new resource
CustomerSession
- Add support for
New
method on resourceCustomerSession
- Remove support for values
obligation_inbound
,obligation_payout_failure
,obligation_payout
, andobligation_reversal_outbound
from enumBalanceTransactionType
- Remove support for
Expand
onBankAccountParams
andCardParams
- Add support for
AccountType
,DefaultForCurrency
, andDocuments
onBankAccountParams
andCardParams
- Remove support for
Owner
onBankAccountParams
andCardParams
- Change type of
BankAccountAccountHolderTypeParams
andCardAccountHolderTypeParams
fromenum('company'|'individual')
toemptyStringable(enum('company'|'individual'))
- Add support for new values
eps
andp24
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
BillingCycleAnchorConfig
onSubscriptionParams
andSubscription
- Add support for new resource
- #1792 Update generated code
- Add support for
Get
method on resourceTax.Registration
- Change type of
SubscriptionScheduleDefaultSettingsInvoiceSettings
fromnullable(InvoiceSettingSubscriptionScheduleSetting)
toInvoiceSettingSubscriptionScheduleSetting
- Add support for
- #1790 Update generated code
- Add support for
CollectionMethod
onMandatePaymentMethodDetailsUsBankAccount
- Add support for
MandateOptions
onPaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccount
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams
,SetupIntentPaymentMethodOptionsUsBankAccountParams
, andSetupIntentPaymentMethodOptionsUsBankAccount
- Add support for
- #1789 Update generated code
- Add support for new resource
FinancialConnections.Transaction
- Add support for
Get
andList
methods on resourceTransaction
- Add support for
Subscribe
andUnsubscribe
methods on resourceFinancialConnections.Account
- Add support for
Features
onAccountSessionComponentsPayoutsParams
- Add support for
EditPayoutSchedule
,InstantPayouts
, andStandardPayouts
onAccountSessionComponentsPayoutsFeatures
- Change type of
CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
fromliteral('balances')
toenum('balances'|'transactions')
- Add support for new value
financial_connections.account.refreshed_transactions
on enumEventType
- Add support for
Subscriptions
andTransactionRefresh
onFinancialConnectionsAccount
- Add support for
NextRefreshAvailableAt
onFinancialConnectionsAccountBalanceRefresh
- Add support for new value
transactions
on enumFinancialConnectionsSessionPrefetch
- Add support for new value
unknown
on enumIssuingAuthorizationVerificationDataAuthenticationExemptionType
- Add support for new value
challenge
on enumsPaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
andSetupIntentPaymentMethodOptionsCardRequestThreeDSecure
- Add support for
RevolutPay
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Change type of
QuoteInvoiceSettings
fromnullable(InvoiceSettingQuoteSetting)
toInvoiceSettingQuoteSetting
- Add support for
DestinationDetails
onRefund
- Add support for new resource
- #1788 Use gofmt to format and lint
- #1790 Update generated code
- Add support for
CollectionMethod
onMandatePaymentMethodDetailsUsBankAccount
- Add support for
MandateOptions
onPaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccount
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams
,SetupIntentPaymentMethodOptionsUsBankAccountParams
, andSetupIntentPaymentMethodOptionsUsBankAccount
- Add support for
- #1789 Update generated code
- Add support for new resource
FinancialConnections.Transaction
- Add support for
Get
andList
methods on resourceTransaction
- Add support for
Subscribe
andUnsubscribe
methods on resourceFinancialConnections.Account
- Add support for
Features
onAccountSessionComponentsPayoutsParams
- Add support for
EditPayoutSchedule
,InstantPayouts
, andStandardPayouts
onAccountSessionComponentsPayoutsFeatures
- Change type of
CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
fromliteral('balances')
toenum('balances'|'transactions')
- Add support for new value
financial_connections.account.refreshed_transactions
on enumEventType
- Add support for
Subscriptions
andTransactionRefresh
onFinancialConnectionsAccount
- Add support for
NextRefreshAvailableAt
onFinancialConnectionsAccountBalanceRefresh
- Add support for new value
transactions
on enumFinancialConnectionsSessionPrefetch
- Add support for new value
unknown
on enumIssuingAuthorizationVerificationDataAuthenticationExemptionType
- Add support for new value
challenge
on enumsPaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
andSetupIntentPaymentMethodOptionsCardRequestThreeDSecure
- Add support for
RevolutPay
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Change type of
QuoteInvoiceSettings
fromnullable(InvoiceSettingQuoteSetting)
toInvoiceSettingQuoteSetting
- Add support for
DestinationDetails
onRefund
- Add support for new resource
- #1788 Use gofmt to format and lint
-
#1781 Update generated code
- Add support for
PaymentMethodReuseAgreement
onCheckoutSessionConsentCollectionParams
,CheckoutSessionConsentCollection
,PaymentLinkConsentCollectionParams
, andPaymentLinkConsentCollection
- Add support for
AfterSubmit
onCheckoutSessionCustomTextParams
,CheckoutSessionCustomText
,PaymentLinkCustomTextParams
, andPaymentLinkCustomText
- Add support for
Created
onRadarEarlyFraudWarningListParams
- Add support for
-
#1780 Usage telemetry infrastructure
- #1775 Update generated code
- Add support for
PaymentDetails
,Payments
, andPayouts
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
Features
onAccountSessionComponentsAccountOnboardingParams
andAccountSessionComponentsAccountOnboarding
- Add support for new values
customer_tax_location_invalid
andfinancial_connections_no_successful_transaction_refresh
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for new values
payment_network_reserve_hold
andpayment_network_reserve_release
on enumBalanceTransactionType
- Remove support for value
various
from enumClimateSupplierRemovalPathway
- Remove support for values
challenge_only
andchallenge
from enumPaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
- Add support for
InactiveMessage
andRestrictions
onPaymentLinkParams
andPaymentLink
- Add support for
TransferGroup
onPaymentLinkPaymentIntentDataParams
andPaymentLinkPaymentIntentData
- Add support for
TrialSettings
onPaymentLinkSubscriptionDataParams
andPaymentLinkSubscriptionData
- Add support for
- #1777 Add back PlanParams.ProductID
- Add back
PlanParams.ProductID
, which was mistakenly removed starting in v73.0.0.ProductID
allows creation of a plan for an existing product by serializingproduct
as a string .
- Add back
- #1772 Update generated code
- Add support for new resources
Climate.Order
,Climate.Product
, andClimate.Supplier
- Add support for
Cancel
,Get
,List
,New
, andUpdate
methods on resourceOrder
- Add support for
Get
andList
methods on resourcesProduct
andSupplier
- Add support for new value
financial_connections_account_inactive
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for new values
climate_order_purchase
andclimate_order_refund
on enumBalanceTransactionType
- Add support for
Created
onCheckoutSessionListParams
- Add support for
ValidateLocation
onCustomerTaxParams
- Add support for new values
climate.order.canceled
,climate.order.created
,climate.order.delayed
,climate.order.delivered
,climate.order.product_substituted
,climate.product.created
, andclimate.product.pricing_updated
on enumEventType
- Add support for new value
challenge
on enumsPaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
andSetupIntentPaymentMethodOptionsCardRequestThreeDSecure
- Add support for new resources
- #1769 Update generated code
- Add support for
ElectronicCommerceIndicator
onChargePaymentMethodDetailsCardThreeDSecure
andSetupAttemptPaymentMethodDetailsCardThreeDSecure
- Add support for
ExemptionIndicatorApplied
andExemptionIndicator
onChargePaymentMethodDetailsCardThreeDSecure
- Add support for
TransactionID
onChargePaymentMethodDetailsCardThreeDSecure
,IssuingAuthorizationNetworkData
,IssuingTransactionNetworkData
, andSetupAttemptPaymentMethodDetailsCardThreeDSecure
- Add support for
Offline
onChargePaymentMethodDetailsCardPresent
- Add support for
SystemTraceAuditNumber
onIssuingAuthorizationNetworkData
- Add support for
NetworkRiskScore
onIssuingAuthorizationPendingRequest
andIssuingAuthorizationRequestHistory
- Add support for
RequestedAt
onIssuingAuthorizationRequestHistory
- Add support for
AuthorizationCode
onIssuingTransactionNetworkData
- Add support for
ThreeDSecure
onPaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
,SetupIntentConfirmPaymentMethodOptionsCardParams
, andSetupIntentPaymentMethodOptionsCardParams
- Add support for
- #1768 Update generated code
- Add support for
Status
onCheckoutSessionListParams
- Add support for
- #1767 Update generated code
- Add support for
BACSDebitPayments
onAccountSettingsParams
- Add support for
ServiceUserNumber
onAccountSettingsBacsDebitPayments
- Add support for
CaptureBefore
onChargePaymentMethodDetailsCard
- Add support for
Paypal
onCheckoutSessionPaymentMethodOptions
- Add support for
TaxAmounts
onCreditNoteLinesParams
,CreditNotePreviewLinesLinesParams
, andCreditNotePreviewLinesParams
- Add support for
NetworkData
onIssuingTransaction
- Add support for
- #1764 Fix TestDo_RetryOnTimeout flakiness
- #1762 Update generated code
- Add support for new value
terminal_reader_hardware_fault
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
Metadata
onQuoteSubscriptionDataParams
andQuoteSubscriptionData
- Add support for new value
- #1760 Update generated code
- Add support for new resource
Tax.Registration
- Add support for
List
,New
, andUpdate
methods on resourceRegistration
- Add support for
RevolutPay
throughout the API - Add support for new value
token_card_network_invalid
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for new value
payment_unreconciled
on enumBalanceTransactionType
- Add support for
ABA
andSwift
onFundingInstructionsBankTransferFinancialAddresses
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses
- Add support for new values
ach
,domestic_wire_us
, andswift
on enumsFundingInstructionsBankTransferFinancialAddressesSupportedNetworks
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks
- Add support for new values
aba
andswift
on enumsFundingInstructionsBankTransferFinancialAddressesType
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType
- Add support for
URL
onIssuingAuthorizationMerchantDataParams
,IssuingAuthorizationMerchantData
,IssuingTransactionMerchantData
,TestHelpersIssuingTransactionCreateForceCaptureMerchantDataParams
, andTestHelpersIssuingTransactionCreateUnlinkedRefundMerchantDataParams
- Add support for
AuthenticationExemption
andThreeDSecure
onIssuingAuthorizationVerificationDataParams
andIssuingAuthorizationVerificationData
- Add support for
Description
onPaymentLinkPaymentIntentDataParams
andPaymentLinkPaymentIntentData
- Add support for new resource
- #1759 Update generated code
- Add support for new value
balance_invalid_parameter
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for new value
- #1756 Update generated code
- Add support for new value
invalid_dob_age_under_minimum
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for new value
- This release changes the pinned API version to
2023-10-16
. Please read the API Upgrade Guide and carefully review the API changes before upgradingstripe-go
. - #1753 Update generated code
- Add support for
LegalGuardian
onAccountPersonsRelationshipParams
andTokenPersonRelationshipParams
- Add support for new values
invalid_address_highway_contract_box
,invalid_address_private_mailbox
,invalid_business_profile_name_denylisted
,invalid_business_profile_name
,invalid_company_name_denylisted
,invalid_dob_age_over_maximum
,invalid_product_description_length
,invalid_product_description_url_match
,invalid_statement_descriptor_business_mismatch
,invalid_statement_descriptor_denylisted
,invalid_statement_descriptor_length
,invalid_statement_descriptor_prefix_denylisted
,invalid_statement_descriptor_prefix_mismatch
,invalid_tax_id_format
,invalid_tax_id
,invalid_url_denylisted
,invalid_url_format
,invalid_url_length
,invalid_url_web_presence_detected
,invalid_url_website_business_information_mismatch
,invalid_url_website_empty
,invalid_url_website_inaccessible_geoblocked
,invalid_url_website_inaccessible_password_protected
,invalid_url_website_inaccessible
,invalid_url_website_incomplete_cancellation_policy
,invalid_url_website_incomplete_customer_service_details
,invalid_url_website_incomplete_legal_restrictions
,invalid_url_website_incomplete_refund_policy
,invalid_url_website_incomplete_return_policy
,invalid_url_website_incomplete_terms_and_conditions
,invalid_url_website_incomplete_under_construction
,invalid_url_website_incomplete
, andinvalid_url_website_other
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for
AdditionalTOSAcceptances
onTokenPersonParams
- Add support for
- #1751 Update generated code
- Add support for new values
issuing_token.created
andissuing_token.updated
on enumEventType
- Add support for new values
- #1748 add NewBackendsWithConfig helper
- #1746 Update generated code
- Add support for
RedirectOnCompletion
,ReturnURL
, andUIMode
onCheckoutSessionParams
andCheckoutSession
- Add support for
ClientSecret
onCheckoutSession
- Change type of
CheckoutSessionCustomFieldsDropdown
fromnullable(PaymentPagesCheckoutSessionCustomFieldsDropdown)
toPaymentPagesCheckoutSessionCustomFieldsDropdown
- Change type of
CheckoutSessionCustomFieldsNumeric
andCheckoutSessionCustomFieldsText
fromnullable(PaymentPagesCheckoutSessionCustomFieldsNumeric)
toPaymentPagesCheckoutSessionCustomFieldsNumeric
- Add support for
PostalCode
onIssuingAuthorizationVerificationData
- Change type of
PaymentLinkCustomFieldsDropdown
fromnullable(PaymentLinksResourceCustomFieldsDropdown)
toPaymentLinksResourceCustomFieldsDropdown
- Change type of
PaymentLinkCustomFieldsNumeric
andPaymentLinkCustomFieldsText
fromnullable(PaymentLinksResourceCustomFieldsNumeric)
toPaymentLinksResourceCustomFieldsNumeric
- Add support for
Offline
onTerminalConfigurationParams
andTerminalConfiguration
- Add support for
- #1743 Update generated code
- Add support for new resource
Issuing.Token
- Add support for
Get
,List
, andUpdate
methods on resourceToken
- Add support for
AmountAuthorized
,ExtendedAuthorization
,IncrementalAuthorization
,Multicapture
, andOvercapture
onChargePaymentMethodDetailsCard
- Add support for
Token
onIssuingAuthorization
andIssuingTransaction
- Add support for
AuthorizationCode
onIssuingAuthorizationRequestHistory
- Add support for
RequestExtendedAuthorization
,RequestMulticapture
, andRequestOvercapture
onPaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for
RequestIncrementalAuthorization
onPaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentConfirmPaymentMethodOptionsCardPresentParams
,PaymentIntentPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardPresentParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for
FinalCapture
onPaymentIntentCaptureParams
- Add support for
Metadata
onPaymentLinkPaymentIntentDataParams
,PaymentLinkPaymentIntentData
,PaymentLinkSubscriptionDataParams
, andPaymentLinkSubscriptionData
- Add support for
StatementDescriptorSuffix
andStatementDescriptor
onPaymentLinkPaymentIntentDataParams
andPaymentLinkPaymentIntentData
- Add support for
PaymentIntentData
andSubscriptionData
onPaymentLinkParams
- Add support for new resource
- #1741 Update generated code
- Add support for
Rendering
onInvoiceParams
andInvoice
- Add support for
- #1738 Update generated code
- Add support for
TermsOfServiceAcceptance
onCheckoutSessionCustomTextParams
,CheckoutSessionCustomText
,PaymentLinkCustomTextParams
, andPaymentLinkCustomText
- Add support for
- #1736 Update generated code
- Add support for new resource
PaymentMethodConfiguration
- Add support for
Get
,List
,New
, andUpdate
methods on resourcePaymentMethodConfiguration
- Add support for
PaymentMethodConfiguration
onCheckoutSessionParams
,PaymentIntentParams
, andSetupIntentParams
- Add support for
PaymentMethodConfigurationDetails
onCheckoutSession
,PaymentIntent
, andSetupIntent
- Add support for new resource
- #1729 Update generated code
- Add support for
Capture
,Expire
,Increment
,New
, andReverse
test helper methods on resourceIssuing.Authorization
- Add support for
CreateForceCapture
,CreateUnlinkedRefund
, andRefund
test helper methods on resourceIssuing.Transaction
- Add support for new value
stripe_tax_inactive
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
Nonce
onEphemeralKeyParams
- Add support for
CashbackAmount
onIssuingAuthorizationAmountDetails
,IssuingAuthorizationPendingRequestAmountDetails
,IssuingAuthorizationRequestHistoryAmountDetails
, andIssuingTransactionAmountDetails
- Add support for
SerialNumber
onTerminalReaderListParams
- Add support for
- #1724 Update generated code
- Add support for new resource
PaymentMethodDomain
- Add support for
Get
,List
,New
,Update
, andValidate
methods on resourcePaymentMethodDomain
- Add support for new value
n26
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
- Add support for new value
NTSBDEB1
on enumsChargePaymentMethodDetailsIdealBic
,PaymentMethodIdealBic
, andSetupAttemptPaymentMethodDetailsIdealBic
- Add support for new values
treasury.credit_reversal.created
,treasury.credit_reversal.posted
,treasury.debit_reversal.completed
,treasury.debit_reversal.created
,treasury.debit_reversal.initial_credit_granted
,treasury.financial_account.closed
,treasury.financial_account.created
,treasury.financial_account.features_status_updated
,treasury.inbound_transfer.canceled
,treasury.inbound_transfer.created
,treasury.inbound_transfer.failed
,treasury.inbound_transfer.succeeded
,treasury.outbound_payment.canceled
,treasury.outbound_payment.created
,treasury.outbound_payment.expected_arrival_date_updated
,treasury.outbound_payment.failed
,treasury.outbound_payment.posted
,treasury.outbound_payment.returned
,treasury.outbound_transfer.canceled
,treasury.outbound_transfer.created
,treasury.outbound_transfer.expected_arrival_date_updated
,treasury.outbound_transfer.failed
,treasury.outbound_transfer.posted
,treasury.outbound_transfer.returned
,treasury.received_credit.created
,treasury.received_credit.failed
,treasury.received_credit.succeeded
, andtreasury.received_debit.created
on enumEventType
- Remove support for value
invoiceitem.updated
from enumEventType
- Add support for
Features
onProductParams
andProduct
- Add support for new resource
- #1722 Update generated code
- Add support for new resource
AccountSession
- Add support for
New
method on resourceAccountSession
- Add support for new values
obligation_inbound
,obligation_outbound
,obligation_payout_failure
,obligation_payout
,obligation_reversal_inbound
, andobligation_reversal_outbound
on enumBalanceTransactionType
- Change type of
EventType
fromstring
toenum
- Add support for
Application
onPaymentLink
- Add support for new resource
- #1718 Update generated code
- Add support for
Retention
onBillingPortalSessionFlowDataSubscriptionCancelParams
andBillingPortalSessionFlowSubscriptionCancel
- Add support for
Prefetch
onCheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections
,FinancialConnectionsSessionParams
,FinancialConnectionsSession
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
- Add support for
PaymentMethodDetails
onDispute
- Add support for
BalanceTransaction
onCustomerCashBalanceTransaction.AdjustedForOverdraft
- Add support for
- #1717 Replace import placeholder before running formatting
- #1716 Replace version placeholder with an actual version during format
- #1713 Update generated code
- Add support for
FlatAmount
onTaxTransactionCreateReversalParams
- Add support for
- #1712 Fix link title to go migration guide
- This release changes the pinned API version to
2023-08-16
. Please read the API Upgrade Guide and carefully review the API changes before upgradingstripe-go
. - More information is available in the stripe-go v75 migration guide
- #1705 Update generated code
⚠️ Add support for new valuesverification_directors_mismatch
,verification_document_directors_mismatch
,verification_extraneous_directors
, andverification_missing_directors
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Remove support for
AvailableOn
onBalanceTransactionListParams
- Use of this parameter is discouraged. You may use
.AddExtra
if sending the parameter is still required.
- Use of this parameter is discouraged. You may use
⚠️ Remove support forDestination
onCharge
- Please use
TransferData
orOnBehalfOf
instead.
- Please use
⚠️ Remove support forAlternateStatementDescriptors
andDispute
onCharge
- Use of these parameters is discouraged.
⚠️ Remove support forShippingRates
onCheckoutSessionParams
- Please use
ShippingParams
instead.
- Please use
⚠️ Remove support forCoupon
andTrialFromPlan
onCheckoutSessionSubscriptionDataParams
- Please migrate to the Prices API, or use
.AddExtra
if sending the parameter is still required.
- Please migrate to the Prices API, or use
⚠️ Remove support for valuecharge_refunded
from enumDisputeStatus
⚠️ Remove support forBLIK
onMandatePaymentMethodDetails
,PaymentMethodParams
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- These fields were mistakenly released.
⚠️ Remove support forACSSDebit
,AUBECSDebit
,Affirm
,BACSDebit
,CashApp
,SEPADebit
, andZip
onPaymentMethodParams
- These fields were empty hashes.
⚠️ Remove support forCountry
onPaymentMethodLink
- This field was not fully operational.
⚠️ Remove support forRecurring
onPriceParams
- This property should be set on create only.
⚠️ Remove support forAttributes
,Caption
, andDeactivateOn
onProductParams
andProduct
- These fields are not fully operational.
- #1699
-
Add
Metadata
andExpand
to individualParams
classes. -
Expand
,AddExpand
,Metadata
andAddMetadata
on embeddedParams
struct were deprecated. Before:params := &stripe.AccountParams{ Params: stripe.Params{ Expand: []*string{stripe.String("business_profile")}, Metadata: map[string]string{ "order_id": "6735", }, }, }
After:
params := &stripe.AccountParams{ Expand: []*string{stripe.String("business_profile")}, Metadata: map[string]string{ "order_id": "6735", }, }
You don't have to change your calls to
AddMetadata
andAddExpand
Before/After:params.AddMetadata("order_id", "6735") params.AddExpand("business_profile")
⚠️ Removed deprecatedexcluded_territory
,jurisdiction_unsupported
,vat_exempt
taxability reasons:CheckoutSessionShippingCostTaxTaxabilityReasonExcludedTerritory
CheckoutSessionShippingCostTaxTaxabilityReasonJurisdictionUnsupported
CheckoutSessionShippingCostTaxTaxabilityReasonVATExempt
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
CreditNoteShippingCostTaxTaxabilityReasonExcludedTerritory
CreditNoteShippingCostTaxTaxabilityReasonJurisdictionUnsupported
CreditNoteShippingCostTaxTaxabilityReasonVATExempt
InvoiceShippingCostTaxTaxabilityReasonExcludedTerritory
InvoiceShippingCostTaxTaxabilityReasonJurisdictionUnsupported
InvoiceShippingCostTaxTaxabilityReasonVATExempt
LineItemTaxTaxabilityReasonExcludedTerritory
LineItemTaxTaxabilityReasonJurisdictionUnsupported
LineItemTaxTaxabilityReasonVATExempt
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
QuoteTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
⚠️ Removed deprecated error code constantErrorCodeCardDeclinedRateLimitExceeded
, preferErrorCodeCardDeclineRateLimitExceeded
.⚠️ Removed deprecated error code constantErrorCodeInvalidSwipeData
.⚠️ Removed deprecated error code constantErrorCodeInvoicePamentIntentRequiresAction
preferErrorCodeInvoicePaymentIntentRequiresAction
.⚠️ Removed deprecated error code constantErrorCodeSepaUnsupportedAccount
, preferErrorCodeSEPAUnsupportedAccount
.⚠️ Removed deprecated error code constantErrorCodeSkuInactive
, preferErrorCodeSKUInactive
.⚠️ Removed deprecated error code constantErrorCodeinstantPayoutsLimitExceeded
, preferErrorCodeInstantPayoutsLimitExceeded
.
-
- #1702 Update generated code
- Add support for new values
incorporated_partnership
andunincorporated_partnership
on enumAccountCompanyStructure
- Add support for new value
payment_reversal
on enumBalanceTransactionType
- Add support for new values
- #1700 Update generated code
- Add support for
PreferredSettlementSpeed
onPaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
, andPaymentIntentPaymentMethodOptionsUsBankAccount
- Add support for
- #1696 Update generated code
- Add support for new values
sepa_debit_fingerprint
andus_bank_account_fingerprint
on enumRadarValueListItemType
- Add support for new values
- #1693 Update generated code
- Add support for
MonthlyEstimatedRevenue
onAccountBusinessProfileParams
andAccountBusinessProfile
- Add support for
SubscriptionDetails
onInvoice
- Add support for
- #1691 Update generated code
- Add support for new value
ro_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
, andTaxTransactionCustomerDetailsTaxIdsType
- Remove support for values
excluded_territory
,jurisdiction_unsupported
, andvat_exempt
from enumsCheckoutSessionShippingCostTaxesTaxabilityReason
,CheckoutSessionTotalDetailsBreakdownTaxesTaxabilityReason
,CreditNoteShippingCostTaxesTaxabilityReason
,InvoiceShippingCostTaxesTaxabilityReason
,LineItemTaxesTaxabilityReason
,QuoteComputedRecurringTotalDetailsBreakdownTaxesTaxabilityReason
,QuoteComputedUpfrontTotalDetailsBreakdownTaxesTaxabilityReason
, andQuoteTotalDetailsBreakdownTaxesTaxabilityReason
- Add support for
UseStripeSDK
onSetupIntentConfirmParams
andSetupIntentParams
- Add support for new value
service_tax
on enumTaxRateTaxType
- Add support for new value
- #1688 Update generated code
- Add support for new resource
Tax.Settings
- Add support for
Get
andUpdate
methods on resourceSettings
- Add support for new value
invalid_tax_location
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
OrderID
onChargePaymentMethodDetailsAfterpayClearpay
- Add support for
AllowRedirects
onPaymentIntentAutomaticPaymentMethodsParams
,PaymentIntentAutomaticPaymentMethods
,SetupIntentAutomaticPaymentMethodsParams
, andSetupIntentAutomaticPaymentMethods
- Add support for new values
amusement_tax
andcommunications_tax
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
Product
onTaxTransactionLineItem
- Add support for new resource
- #1688 Update generated code
- Add support for new resource
Tax.Settings
- Add support for
Get
andUpdate
methods on resourceSettings
- Add support for new value
invalid_tax_location
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
OrderID
onChargePaymentMethodDetailsAfterpayClearpay
- Add support for
AllowRedirects
onPaymentIntentAutomaticPaymentMethodsParams
,PaymentIntentAutomaticPaymentMethods
,SetupIntentAutomaticPaymentMethodsParams
, andSetupIntentAutomaticPaymentMethods
- Add support for new values
amusement_tax
andcommunications_tax
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
Product
onTaxTransactionLineItem
- Add support for new resource
- #1684 Update generated code
- Add support for
Numeric
andText
onPaymentLinkCustomFields
- Add support for
AutomaticTax
onSubscriptionListParams
- Add support for
- #1682 Update generated code
- Add support for new value
application_fees_not_allowed
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for new values
ad_nrt
,ar_cuit
,bo_tin
,cn_tin
,co_nit
,cr_tin
,do_rcn
,ec_ruc
,pe_ruc
,rs_pib
,sv_nit
,uy_ruc
,ve_rif
, andvn_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for
EffectiveAt
onCreditNoteParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceParams
, andInvoice
- Add support for new value
- #1670 Update generated code
- Add support for
TaxabilityReason
onTaxCalculationTaxBreakdown
- Add support for
- #1668 Remove v71 migration guide, moved to wiki
- #1664 Update generated code
- Add support for
Numeric
andText
onCheckoutSessionCustomFieldsParams
andPaymentLinkCustomFieldsParams
- Add support for
MaximumLength
andMinimumLength
onCheckoutSessionCustomFieldsNumeric
andCheckoutSessionCustomFieldsText
- Add support for new values
aba
andswift
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
- Add support for new value
us_bank_transfer
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferType
,PaymentIntentNextActionDisplayBankTransferInstructionsType
, andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
- Add support for
PreferredLocales
onIssuingCardholderParams
andIssuingCardholder
- Add support for
Description
,IIN
, andIssuer
onPaymentMethodCardPresent
andPaymentMethodInteracPresent
- Add support for
PayerEmail
onPaymentMethodPaypal
- Add support for
- #1662 Update generated code
- Add support for
ZipPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
Zip
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new value
zip
on enumPaymentMethodType
- Add support for
- #1661 Generate error codes
- #1660 Update generated code
- #1662 Update generated code
- Add support for
ZipPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
Zip
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new value
zip
on enumPaymentMethodType
- Add support for
- #1661 Generate error codes
- #1660 Update generated code
- #1657 Update generated code
- Add support for
SubscriptionUpdateConfirm
andSubscriptionUpdate
onBillingPortalSessionFlowDataParams
andBillingPortalSessionFlow
- Add support for new values
subscription_update_confirm
andsubscription_update
on enumBillingPortalSessionFlowType
- Add support for
Link
onChargePaymentMethodDetailsCardWallet
andPaymentMethodCardWallet
- Add support for
BuyerID
andCashtag
onChargePaymentMethodDetailsCashapp
andPaymentMethodCashapp
- Add support for new values
amusement_tax
andcommunications_tax
on enumTaxRateTaxType
- Add support for
- #1656 Update generated code Release specs are identical.
- #1653 Update generated code
- Add support for
Paypal
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodDataParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for
NetworkToken
onChargePaymentMethodDetailsCard
- Add support for
TaxabilityReason
andTaxableAmount
onCheckoutSessionShippingCostTaxes
,CheckoutSessionTotalDetailsBreakdownTaxes
,CreditNoteShippingCostTaxes
,CreditNoteTaxAmounts
,InvoiceShippingCostTaxes
,InvoiceTotalTaxAmounts
,LineItemTaxes
,QuoteComputedRecurringTotalDetailsBreakdownTaxes
,QuoteComputedUpfrontTotalDetailsBreakdownTaxes
, andQuoteTotalDetailsBreakdownTaxes
- Add support for new value
paypal
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for new value
eftpos_au
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
- Add support for new value
paypal
on enumPaymentLinkPaymentMethodTypes
- Add support for
Brand
,CardholderName
,Country
,ExpMonth
,ExpYear
,Fingerprint
,Funding
,Last4
,Networks
, andReadMethod
onPaymentMethodCardPresent
andPaymentMethodInteracPresent
- Add support for
PreferredLocales
onPaymentMethodInteracPresent
- Add support for new value
paypal
on enumPaymentMethodType
- Add support for
EffectivePercentage
onTaxRate
- Add support for
GBBankTransfer
andJPBankTransfer
onCustomerCashBalanceTransactionFundedBankTransfer
- Add support for
- #1652 Update generated code
- Add support for
Link
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for
Brand
,Country
,Description
,ExpMonth
,ExpYear
,Fingerprint
,Funding
,IIN
,Issuer
,Last4
,Network
, andWallet
onSetupAttemptPaymentMethodDetailsCard
- Add support for
-
#1644 Update generated code
- Add support for
BillingCycleAnchor
andProrationBehavior
onCheckoutSessionSubscriptionDataParams
- Add support for
TerminalID
onIssuingAuthorizationMerchantData
andIssuingTransactionMerchantData
- Add support for
Metadata
onPaymentIntentCaptureParams
- Add support for
Checks
onSetupAttemptPaymentMethodDetailsCard
- Add support for
TaxBreakdown
onTaxCalculationShippingCost
andTaxTransactionShippingCost
- Add support for
-
#1643 Update generated code
-
#1640 Update generated code
- Release specs are identical.
- #1638 Update generated code
- Add support for new value
link
on enumPaymentMethodCardWalletType
- Add support for
Country
onPaymentMethodLink
- Add support for
StatusDetails
onPaymentMethodUsBankAccount
- Add support for new value
- #1635 Update generated code
- Remove support for
New
method on resourceTax.Transaction
- This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the
CreateFromCalculation
method.
- This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the
- Add support for
ExportLicenseID
andExportPurposeCode
onAccountCompanyParams
,AccountCompany
, andTokenAccountCompanyParams
- Remove support for value
deleted
from enumInvoiceStatus
- This is not a breaking change, as the value was never returned or accepted as input.
- Add support for
AmountTip
onTestHelpersTerminalReaderPresentPaymentMethodParams
- Remove support for
- #1633 Trigger workflow for tags
- #1632 Update generated code (new) Release specs are identical.
- #1631 Update generated code (new) Release specs are identical.
- #1624 Update generated code
- Add support for new resources
Tax.CalculationLineItem
,Tax.Calculation
,Tax.TransactionLineItem
, andTax.Transaction
- Add support for
ListLineItems
andNew
methods on resourceCalculation
- Add support for
CreateFromCalculation
,CreateReversal
,Get
,ListLineItems
, andNew
methods on resourceTransaction
- Add support for
CurrencyConversion
onCheckoutSession
- Add support for new value
link
on enumPaymentLinkPaymentMethodTypes
- Add support for
AutomaticPaymentMethods
onSetupIntentParams
andSetupIntent
- Add support for new resources
-
#1622 API Updates
- Add support for
CashAppPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
FutureRequirements
andRequirements
onBankAccount
- Add support for
CashApp
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Country
onChargePaymentMethodDetailsLink
- Add support for new value
cashapp
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
PreferredLocale
onPaymentIntentConfirmPaymentMethodOptionsAffirmParams
,PaymentIntentPaymentMethodOptionsAffirmParams
, andPaymentIntentPaymentMethodOptionsAffirm
- Add support for new value
automatic_async
on enumsPaymentIntentCaptureMethod
andPaymentLinkPaymentIntentDataCaptureMethod
- Add support for
CashAppHandleRedirectOrDisplayQRCode
onPaymentIntentNextAction
andSetupIntentNextAction
- Add support for new value
cashapp
on enumPaymentLinkPaymentMethodTypes
- Add support for new value
cashapp
on enumPaymentMethodType
- Add support for
-
#1619 Update generated code (new)
- Add support for
CashappPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
Cashapp
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new value
cashapp
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
PreferredLocale
onPaymentIntentConfirmPaymentMethodOptionsAffirmParams
,PaymentIntentPaymentMethodOptionsAffirmParams
, andPaymentIntentPaymentMethodOptionsAffirm
- Add support for
CashappHandleRedirectOrDisplayQRCode
onPaymentIntentNextAction
andSetupIntentNextAction
- Add support for new value
cashapp
on enumPaymentLinkPaymentMethodTypes
- Add support for new value
cashapp
on enumPaymentMethodType
- Add support for
-
#1618 Install goimports before trying to run it
- #1616 API Updates
- Add support for
CardIssuing
onIssuingCardholderIndividualParams
- Add support for new value
requirements.past_due
on enumIssuingCardholderRequirementsDisabledReason
- Add support for
CancellationDetails
onSubscriptionCancelParams
,SubscriptionParams
, andSubscription
- Add support for
-
#1614 API Updates
- Add support for
ReconciliationStatus
onPayout
- Add support for new value
lease_tax
on enumTaxRateTaxType
- Add support for
-
#1613 Update golang.org/x/net
-
#1611 Run goimports on generated test suite
- #1609 API Updates
- Add support for new value
yoursafe
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
- Add support for new value
BITSNL2A
on enumsChargePaymentMethodDetailsIdealBic
,PaymentMethodIdealBic
, andSetupAttemptPaymentMethodDetailsIdealBic
- Add support for new value
igst
on enumTaxRateTaxType
- Add support for new value
- #1605 API Updates
- Add support for
RefundPayment
method on resourceTerminal.Reader
- Add support for new value
name
on enumBillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdates
- Add support for
CustomFields
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
- Add support for
InteracPresent
onTestHelpersTerminalReaderPresentPaymentMethodParams
- Change type of
TestHelpersTerminalReaderPresentPaymentMethodTypeParams
fromliteral('card_present')
toenum('card_present'|'interac_present')
- Add support for
RefundPayment
onTerminalReaderAction
- Add support for new value
refund_payment
on enumTerminalReaderActionType
- Add support for
- #1607 fix: deterministic encoding
- #1603 Add an example of client mocking
- #1604 Run lint on go 1.19
-
#1600 API Updates
- Add support for
Resume
method on resourceSubscription
- Add support for
PaymentLink
onCheckoutSessionListParams
- Add support for
TrialSettings
onCheckoutSessionSubscriptionDataParams
,SubscriptionParams
, andSubscription
- Add support for new value
BE
on enumsCheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
,InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
, andSubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry
- Add support for
ShippingCost
onCreditNoteParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceParams
, andInvoice
- Add support for
AmountShipping
onCreditNote
andInvoice
- Add support for
ShippingDetails
onInvoiceParams
andInvoice
- Add support for
SubscriptionResumeAt
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
- Add support for
InvoiceCreation
onPaymentLinkParams
andPaymentLink
- Add support for new value
paused
on enumSubscriptionStatus
- Add support for new value
funding_reversed
on enumCustomerCashBalanceTransactionType
- Add support for
-
#1562 add missing verify with micro-deposits next action
- #1595 API Updates
- Add support for
VerificationSession
onEphemeralKeyParams
- Add missing enum values to
RefundStatus
,PersonVerificationDetailsCode
,PersonVerificationDocumentDetailsCode
,AccountCompanyVerificationDocumentDetailsCode
.
- Add support for
- #1588 API Updates
- Add support for
CardIssuing
onIssuingCardholderIndividual
- Add support for
- #1586 API Updates
- Add support for
UsingMerchantDefault
onCashBalanceSettings
- Change type of
CheckoutSessionCancelUrl
fromstring
tonullable(string)
- Add support for
- #1584 API Updates
- Add support for new value
invoice_overpaid
on enumCustomerBalanceTransactionType
- Add support for new value
- #1581 API Updates
- #1579 API Updates
- Add support for
FlowData
onBillingPortalSessionParams
- Add support for
Flow
onBillingPortalSession
- Add support for
- #1578 API Updates
- Add support for
IndiaInternationalPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
InvoiceCreation
onCheckoutSessionParams
andCheckoutSession
- Add support for
Invoice
onCheckoutSession
- Add support for
Metadata
onSubscriptionSchedulePhasesItemsParams
andSubscriptionSchedulePhasesItems
- Add support for
- #1575 Add version to go reference path
- #1574 API Updates
- Add support for
CustomText
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
- Add support for
HostedInstructionsURL
onPaymentIntentNextActionPaynowDisplayQrCode
andPaymentIntentNextActionWechatPayDisplayQrCode
- Add support for
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
"
- Removed deprecated
sku
resource (#1557) - Removed
lineitem.Product
property that was released by mistake. (#1555) - Removed deprecated
CheckoutSessionSubscriptionDataParams.Items
field. (#1555) - Removed deprecated
EphemeralKey.AssociatedObjects
field. (#1566) - Removed deprecated
Amount
,Currency
,Description
,Images
,Name
properties fromCheckoutSessionLineItemParams
(#1570) - Removed
Charges
field onPaymentIntent
and replace it withLatestCharge
. (#1570) - Dropped support for Go versions less than 1.15 (#1554)
- Remove support for
TOSShownAndAccepted
onCheckoutSessionPaymentMethodOptionsPaynowParams
. The property was mistakenly released and never worked (#1571).
- #1568 API Updates
- Add support for
ReasonMessage
onIssuingAuthorizationRequestHistory
- Add support for new value
webhook_error
on enumIssuingAuthorizationRequestHistoryReason
- Add support for
- #1563 API Updates
- Add support for
OnBehalfOf
onCheckoutSessionSubscriptionDataParams
,SubscriptionParams
,SubscriptionScheduleDefaultSettingsParams
,SubscriptionScheduleDefaultSettings
,SubscriptionSchedulePhasesParams
,SubscriptionSchedulePhases
, andSubscription
- Add support for new values
eg_tin
,ph_tin
, andtr_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
, andTaxIdType
- Add support for
TaxBehavior
andTaxCode
onInvoiceItemParams
,InvoiceUpcomingInvoiceItemsParams
, andInvoiceUpcomingLinesInvoiceItemsParams
- Add support for
- #1560 API Updates
- Add support for new values
jp_trn
andke_pin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
, andTaxIdType
- Add support for
Tipping
onTerminalReaderActionProcessPaymentIntentProcessConfig
andTerminalReaderProcessPaymentIntentProcessConfigParams
- Add support for new values
- #1558 API Updates
- Add support for
NetworkData
onIssuingAuthorization
- Add support for
- #1553 Add RequestLogURL on Error
- #1551 API Updates
- Add support for new value
invalid_dob_age_under_18
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,CapabilityFutureRequirementsErrorsCode
,CapabilityRequirementsErrorsCode
,PersonFutureRequirementsErrorsCode
, andPersonRequirementsErrorsCode
- Add support for new value
bank_of_china
on enumsChargePaymentMethodDetailsFpxBank
andPaymentMethodFpxBank
- Add support for
Klarna
onSetupAttemptPaymentMethodDetails
- Add support for new value
- #1549 API Updates
- Change type of
ChargePaymentMethodDetailsCardPresentIncrementalAuthorizationSupported
andChargePaymentMethodDetailsCardPresentOvercaptureSupported
fromnullable(boolean)
toboolean
- Add support for
Created
onCheckoutSession
- Add support for
SetupFutureUsage
onPaymentIntentConfirmPaymentMethodOptionsPixParams
,PaymentIntentPaymentMethodOptionsPixParams
, andPaymentIntentPaymentMethodOptionsPix
- Deprecate
CheckoutSessionSubscriptionDataTransferDataParams.items
andCheckoutSessionSubscriptionDataItemParams
(use theline_items
param instead). This will be removed in the next major version.
- Change type of
- #1547 API Updates
- Add support for
TermsOfService
onCheckoutSessionConsentCollectionParams
,CheckoutSessionConsentCollection
,CheckoutSessionConsent
,PaymentLinkConsentCollectionParams
, andPaymentLinkConsentCollection
⚠️ Remove support forPlan
onCheckoutSessionPaymentMethodOptionsCardInstallmentsParams
. The property was mistakenly released and never worked.- Add support for
StatementDescriptor
onPaymentIntentIncrementAuthorizationParams
- Add support for
- #1546 API Updates
- Add support for
Pix
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
FromInvoice
onInvoiceParams
andInvoice
- Add support for
LatestRevision
onInvoice
- Add support for
Amount
onIssuingDisputeParams
- Add support for
PixDisplayQRCode
onPaymentIntentNextAction
- Add support for new value
pix
on enumPaymentLinkPaymentMethodTypes
- Add support for new value
pix
on enumPaymentMethodType
- Add support for
Created
onTreasuryCreditReversal
andTreasuryDebitReversal
- Add support for
- #1545 Export UnsignedPayload/SignedPayload fields
- #1543 API Updates
- Add support for
RequireSignature
onIssuingCardShippingParams
andIssuingCardShipping
- Add support for
- #1542 API Updates
- Add support for new value
terminal_reader_splashscreen
on enumFilePurpose
- Add support for new value
- #1541 API Updates
- Add support for
Description
onPaymentLinkSubscriptionDataParams
andPaymentLinkSubscriptionData
- Add support for
- #1537 API Updates
- Add support for
LoginPage
onBillingPortalConfigurationParams
andBillingPortalConfiguration
- Add support for new value
deutsche_bank_ag
on enumsChargePaymentMethodDetailsEpsBank
andPaymentMethodEpsBank
- Add support for
Customs
andPhoneNumber
onIssuingCardShippingParams
andIssuingCardShipping
- Add support for
Description
onQuoteSubscriptionDataParams
,QuoteSubscriptionData
,SubscriptionScheduleDefaultSettingsParams
,SubscriptionScheduleDefaultSettings
,SubscriptionSchedulePhasesParams
, andSubscriptionSchedulePhases
- Add support for
- #1536 Add test coverage using coveralls
- #1533 Update README.md to clarify that API version can only be change in beta
- #1532 API Updates
- Change type of
TreasuryOutboundTransferDestinationPaymentMethod
fromstring
tonullable(string)
- Change return type of
FundCashBalance
method onCustomer
fromCustomer
toCustomerCashBalanceTransaction
- This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly.
- Change return type of
RetrieveFeatures
andUpdateFeatures
methods onTreasuryFinancialAccount
fromTreasuryFinancialAccount
toTreasuryFinancialAccountFeatures
- This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly.
- Change type of
- #1530 Add beta readme.md section
- #1528 API Updates
- Add support for new resource
CustomerCashBalanceTransaction
- Remove support for value
paypal
from enumOrderPaymentSettingsPaymentMethodTypes
- Add support for
Currency
onPaymentLink
- Add support for
Network
onSetupIntentConfirmPaymentMethodOptionsCardParams
,SetupIntentPaymentMethodOptionsCardParams
,SubscriptionPaymentSettingsPaymentMethodOptionsCardParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsCard
- Change type of
TopupSource
from$Source
tonullable($Source)
- Add support for new resource
- #1526 Add a support section to the readme
- #1524 API Updates
- Add support for
PaymentMethodCollection
onCheckoutSessionParams
,CheckoutSession
,PaymentLinkParams
, andPaymentLink
- Add support for
- #1522 API Updates
- Add support for
ProcessConfig
onTerminalReaderActionProcessPaymentIntent
- Add support for
- #1282 Miscellaneous fixes to README.md
- #1520 Add GenerateTestSignedPayload to test webhook signing
- #1402 Update testify version
- #1519 API Updates
- Add support for
ExpiresAt
onAppsSecretParams
andAppsSecret
- Add support for
- #1517 Export ConstructEventOptions fields
This release includes breaking changes resulting from:
- Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01
- Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v73.
"
- Add
CheckoutSessionSetupIntentDataParams.Metadata
. - Add Invoice
UpcomingLines
method. - Add
ShippingCost
andShippingDetails
properties toCheckoutSession
resource. - Add
CheckoutSessionShippingCostTax
andCheckoutSessionShippingCost
classes - Add
IssuingCardCancellationReasonDesignRejected
constant toIssuingCardCancellationReason
. - Add
Validate
field toCustomer
resource. - Add
Validate
field toPaymentSourceParams
. - Add
SetupAttemptPaymentMethodDetailsCardThreeDSecureResultExempted
constant inSetupAttemptPaymentMethodDetailsCardThreeDSecureResult
. - Add
SKUPackageDimensionsParams
andSKUPackageDimensions
. - Add dedicated structs for different payment sources and transfers.
- Add
Subscription.DeleteDiscount
methods. - Add
SubscriptionItemUsageRecordSummariesParams
- Add
UsageRecordSummary
UsageRecordSummaries
, andUsageRecordSummaryList
methods inSubscriptionItem
- Add
SubscriptionSchedulePhaseBillingCycleAnchor
,SubscriptionSchedulePhaseBillingCycleAnchorAutomatic
, andSubscriptionSchedulePhaseBillingCycleAnchorPhaseStart
- Add
SubscriptionSchedulePhaseInvoiceSettings
andSubscriptionSchedulePhaseInvoiceSettingsParams
TerminalLocation
UnmarshalJSON
- makeTerminalLocation
expandable
- Add support for new value
invalid_tos_acceptance
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,CapabilityFutureRequirementsErrorsCode
,CapabilityRequirementsErrorsCode
,PersonFutureRequirementsErrorsCode
, andPersonRequirementsErrorsCode
- Add support for
ShippingCost
andShippingDetails
onCheckoutSession
-
Rename files to be consistent with the library's naming conventions.
fee.go
toapplicationfee.go
fee/client.go
toapplicationfee/client.go
sub.go
tosubscription.go
sub/client.go
tosubscription/client.go
subitem.go
tosubscriptionitem.go
subitem/client.go
tosubscriptionitem/client.go
subschedule.go
tosubscriptionschedule.go
subschedule/client.go
tosubscriptionschedule/client.go
reversal.go
totransferreversal.go
reversal/client.go
totransferreversal/client.go
-
Change resource names on
client#API
to be plural to be consistent with the library's naming conventions: -
Rename structs, fields, enums, and methods to be consistent with the library's naming conventions and with the other Stripe SDKs.
Ach
toACH
Acss
toACSS
Bic
toBIC
Eps
toEPS
FEDEX
toFedEx
Iban
toIBAN
Ideal
toIDEAL
Sepa
toSEPA
Wechat
toWeChat
ExternalAccount
toAccountExternalAccount
InvoiceLine
toInvoiceLineItem
Person
structs/enums to usePerson
prefix- and others (see Migration guide)
-
Change types of various fields in
Account
,ApplicationFee
,BalanceTransaction
,BillingPortalConfiguration
,Card
,Charge
,Customer
,Discount
,Invoice
,Issuing Card
,Issuing Dispute
,Mandate
,PaymentIntent
,PaymentMethod
,Payout
,Plan
,Plan
,Refund
,SetupIntent
,Source
,Source
,Subscription
,SubscriptionItem
,SubscriptionSchedule
,Terminal ConnectionToken
,Terminal Location
,Terminal Reader
,Topup
, andTransfer
(see Migration guide). -
Update the Webhook
ConstructEvent,
ConstructEventIgnoringTolerance
andConstructEventWithTolerance
functions to return an error when the webhook event's API version does not match the stripe-go library API version. -
Update
ErrorType
andErrorCode
values. -
Move
BalanceTransaction
iterator frombalance.go
tobalancetransaction.go
-
Fix
BalanceTransactionSource
UnmarshalJSON
for whenBalanceTransactionSource.Type == "transfer_reversal"
(previously, we were checking ifType == "reversal"
, which was always false) -
For BankAccount and Card client methods, check that exactly one of
params.Account
andparams.Customer
is set (previously they could both be set, but only one would be used, and it was different between BankAccount and Card) -
Replace
CardVerification
with field-specific enums (with the same values) -
Move
Del
fromdiscount/client.go
tocustomer/client.go
and rename toDeleteDiscount
-
Move
DelSub
fromdiscount/client.go
tosubscription/client.go
and rename toDeleteDiscount
-
Add separate parameter struct for CreditNote
ListPreviewLines
(renamed toPreviewLines
) method ([CreditNoteLineItemListPreviewParams -> CreditNotePreviewParams].Lines
CreditNoteLineParams
->CreditNotePreviewLineParams
) -
Replace
FeeRefundParams.ApplicationFee
withFeeRefundParams.Fee
andFeeRefundParams.ID
-
Add separate parameter struct for Invoice
GetNext
(renamed toUpcoming
) method (InvoiceUpcomingParams
, and nested paramsInvoiceUpcomingLinesInvoiceItemPriceDataParams
,InvoiceUpcomingLinesInvoiceItemDiscountParams
,InvoiceUpcomingLinesDiscountParams
,InvoiceUpcomingLinesInvoiceItemPeriodParams
).Upcoming
-only fieldsCoupon
,CustomerDetails
,InvoiceItems
,Subscription
,SubscriptionBillingCycleAnchor
,Schedule
,SubscriptionBillingCycleAnchor
,SubscriptionBillingCycleAnchorNow
,SubscriptionBillingCycleAnchorUnchanged
,SubscriptionCancelAt
,SubscriptionCancelAtPeriodEnd
,SubscriptionCancelNow
,SubscriptionDefaultTaxRates
,SubscriptionItems
,SubscriptionProrationBehavior
,SubscriptionProrationDate
,SubscriptionStartDate
,SubscriptionTrialEnd
,SubscriptionTrialEndNow
, andSubscriptionTrialFromPlan
are removed fromInvoiceParams
. -
Add separate structs for
BillingDetails
andBillingDetailsParams
:PaymentMethodBillingDetails
,PaymentMethodBillingDetailsParams
-
Add separate structs for
PaymentMethodCardNetwork
:PaymentMethodCardNetworksAvailable
,PaymentMethodCardNetworksPreferred
- The
SKU
resource has been deprecated. This will be replaced by https://stripe.com/docs/api/orders_v2.
- Remove the legacy Orders API
- Remove
AccountCapability
enum definition. This was not referenced in the library. - Remove
UnmarshalJSON
for resources that are not expandable:BillingPortalSession
,Capability
,CheckoutSession
,FileLink
,InvoiceItem
,LineItem
,Person
,WebhookEndpoint
- Remove
AccountRejectReason
(was only referenced inaccount/client_test.go
, actualAccountRejectParams.Reason
is*string
) - Remove
AccountParams.RequestedCapabilities
(use Capabilities instead: https://stripe.com/docs/connect/account-capabilities) - Remove
AccountSettingsParams.Dashboard
andAccountSettingsDashboardParams
(Note:Dashboard
are still available onAccountSettings
, but it's not available as parameters for any of the methods) - Remove
AccountCompany.RegistrationNumber
(Note:RegistrationNumber
is still available onAccountCompanyParams
, but is not returned in the response) - Remove
BalanceTransactionStatus
. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string. - Remove
CardParams.AccountType
.AccountType
does not exist on any client method for Card. It does on BankAccount, which is similar. - Remove
id
param from CheckoutSessionsListLineItems
. UseCheckoutSessionListLineItemsParams.Session
instead. - Remove
CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage
,CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays
, andCheckoutSessionLineItemPriceDataRecurringParams.UsageType
- Remove
CheckoutSessionPaymentIntentDataParams.Params
,CheckoutSessionSetupIntentDataParams.Params
,CheckoutSessionSubscriptionDataParams.Params
.Params
should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs. - Remove
CheckoutSessionTotalDetailsBreakdownTax.TaxRate
. UseCheckoutSessionTotalDetailsBreakdownTax.Rate
- Remove
CheckoutSessionTotalDetailsBreakdownTax.Deleted
- Remove
CustomerParams.Token
- Remove
Discount
APIResource
embed - Remove
DiscountParams
- Remove
FilePurposeFoundersStockDocument
("founders_stock_document"
option forFile.Purpose
) - Remove
InvoiceParams.Paid
. Useinvoice.status
to check for status.invoice.status
is a read-only field. - Remove
InvoiceParams.SubscriptionPlan
andInvoiceParams.SubscriptionQuantity
(note: these would have been onInvoiceUpcomingParams
) - Remove
InvoiceListLinesParams.Customer
andInvoiceListLinesParams.Subscription
(these are not available for InvoiceListLines
, but are available forList
) - Remove
IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity
andIssuingAuthorizationRequestHistoryViolatedAuthorizationControlName
(unused enums) - Remove
IssuingCardSpendingControlsParams.SpendingLimitsCurrency
.issuing_card
hascurrency
, andissuing_card.spending_controls.spending_limits.amount
will use that currency - Remove
IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription
,IssuingDisputeEvidenceServiceNotAsDescribed.ProductType
,IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription
,IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType
, andIssuingDisputeEvidenceServiceNotAsDescribedProductType
.issuing_dispute.evidence.service_not_as_described
does not haveproduct_description
orproduct_type
.issuing_dispute.evidence.canceled
does. - Remove
LineItemTax.TaxRate
. UseLineItemTax.Rate
instead. - Remove
LineItem.Deleted
- Remove
LoginLink.RedirectURL
- Remove
PaymentIntentOffSession
(unused enum) - Remove
PaymentIntentConfirmParams.PaymentMethodTypes
- Remove
PaymentMethodFPX.TransactionID
- Remove
Payout.BankAccount
andPayout.Card
(These fields were never populated, usePayoutDestination.BankAccount
andPayoutDestination.Card
instead) - Remove
PlanParams.ProductID
. UsePlanParams.Product.ID
instead. - Remove
Shipping
andShippingRate
properties fromCheckoutSession
resource. Please useShippingCost
andShippingDetails
properties instead. - Remove
DefaultCurrency
property fromCustomer
resource. Please useCurrency
property instead. - Remove
Updated
andUpdatedBy
fromRadarValueList
- Remove
Name
fromRadarValueListItem
- Remove
ReviewReasonType
type fromReview
resource. UseReviewReason
instead - Remove
SetupIntentCancellationReasonFailedInvoice
andSetupIntentCancellationReasonFraudulent
values fromSetupIntentCancellationReason
- Remove
SigmaScheduledQueryRun.Query
. The field was invalid - Remove
SKUParams.Description
andSKU.Description
- Remove
SourceMandateAcceptanceStatus
,SourceMandateAcceptanceStatusAccepted
,SourceMandateAcceptanceStatusRefused
,SourceMandateNotificationMethod
,SourceMandateNotificationMethodEmail
,SourceMandateNotificationMethodManual
, andSourceMandateNotificationMethodNone
- Remove
Source.TypeData
and SourceParams and replace with payment method-specific fields (AUBECSDebit, Bancontact, Card, CardPresent, EPS, Giropay, IDEAL, Klarna, Multibanco, P24, SEPACreditTransfer, SEPADebit, Sofort, ThreeDSecure, Wechat) andSource.AppendTo
method - Remove
SourceTransaction.CustomerData
. The field was deprecated - Remove
SourceTransaction.TypeData
andSourceTransaction.UnmarshalJSON
. Use payment specific fields - RemoveACHCreditTransfer
,CHFCreditTransfer
,GBPCreditTransfer
,PaperCheck
, andSEPACreditTransfer
- Remove
SubscriptionPaymentBehavior
,SubscriptionPaymentBehaviorAllowIncomplete
,SubscriptionPaymentBehaviorErrorIfIncomplete
, andSubscriptionPaymentBehaviorPendingIfIncomplete
- Remove
SubscriptionProrationBehavior
,SubscriptionProrationBehaviorAlwaysInvoice
,SubscriptionProrationBehaviorCreateProrations
, andSubscriptionProrationBehaviorNone
- Remove
SubscriptionStatusAll
- Remove
SubscriptionParams.Card
,SubscriptionParams.Plan
, andSubscriptionParams.Quantity
- Remove
Subscription.Plan
andSubscription.Quantity
- Remove
SubscriptionItemParams.ID
. The field was deprecated - Remove
SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams
andSubscriptionSchedulePhaseAddInvoiceItemPriceDataParams
- Remove
Del
method onTaxRate
- Remove
TerminalReaderGetParams
. UseTerminalReaderParams
instead. - Remove
TerminalReaderList.Location
andTerminalReaderList.Status
(Not available for the list, but is available for individualTerminalReader
s inTerminalReaderList.Data
) - Remove
Token.Email
andTokenParams.Email
- Remove
TopupParams.SetSource
- Remove
WebhookEndpointListParams.Created
andWebhookEndpointListParams.CreatedRange
(useStartingAfter
fromListParams
) - Remove
WebhookEndpoint.Connected
- #1508 API Updates
- Add support for new value
exempted
on enumsChargePaymentMethodDetailsCardThreeDSecureResult
andSetupAttemptPaymentMethodDetailsCardThreeDSecureResult
- Add support for
CustomerBalance
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for new value
- #1507 API Updates
- Add support for
Installments
onCheckoutSessionPaymentMethodOptionsCardParams
,CheckoutSessionPaymentMethodOptionsCard
,InvoicePaymentSettingsPaymentMethodOptionsCardParams
, andInvoicePaymentSettingsPaymentMethodOptionsCard
- Add support for
DefaultCurrency
andInvoiceCreditBalance
onCustomer
- Add support for
Currency
onInvoiceParams
- Add support for
DefaultMandate
onInvoicePaymentSettingsParams
andInvoicePaymentSettings
- Add support for
Mandate
onInvoicePayParams
- Add support for
- #1497 API Updates
- Add support for
BLIKPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
BLIK
onChargePaymentMethodDetails
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodDataParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Change type of
CheckoutSessionConsentCollectionPromotionsParams
,CheckoutSessionConsentCollectionPromotions
,PaymentLinkConsentCollectionPromotionsParams
, andPaymentLinkConsentCollectionPromotions
fromliteral('auto')
toenum('auto'|'none')
- Add support for new value
blik
on enumPaymentLinkPaymentMethodTypes
- Add support for new value
blik
on enumPaymentMethodType
- Add support for
- #1494 API Updates
- Add support for
CustomerDetails
onCheckoutSessionListParams
- Add support for
- #1492 API Updates
- Add support for
Currency
onCheckoutSessionParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
,PaymentLinkParams
,SubscriptionParams
,SubscriptionSchedulePhasesParams
,SubscriptionSchedulePhases
, andSubscription
- Add support for
CurrencyOptions
onCheckoutSessionShippingOptionsShippingRateDataFixedAmountParams
,CouponParams
,Coupon
,OrderShippingCostShippingRateDataFixedAmountParams
,PriceParams
,Price
,ProductDefaultPriceDataParams
,PromotionCodeRestrictionsParams
,PromotionCodeRestrictions
,ShippingRateFixedAmountParams
, andShippingRateFixedAmount
- Add support for
Restrictions
onPromotionCodeParams
- Add support for
FixedAmount
andTaxBehavior
onShippingRateParams
- Add support for
- #1491 API Updates
- Add support for
Customer
onCheckoutSessionListParams
andRefundParams
- Add support for
Currency
andOrigin
onRefundParams
- Add support for
-
#1487 API Updates
- Add support for
DeliverCard
,FailCard
,ReturnCard
, andShipCard
test helper methods on resourceIssuing.Card
- Change type of
PaymentLinkPaymentMethodTypesParams
andPaymentLinkPaymentMethodTypes
fromliteral('card')
toenum
- Add support for
HostedRegulatoryReceiptURL
onTreasuryReceivedCredit
andTreasuryReceivedDebit
- Add support for
-
#1483 Document use of undocumented parameters/properties
-
#1484 API Updates
- Add support for
CaptureMethod
onPaymentIntentConfirmParams
andPaymentIntentParams
- Add support for
-
#1481 API Updates
- Add support for
PromptPayPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
PromptPay
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
SubtotalExcludingTax
onCreditNote
andInvoice
- Add support for
AmountExcludingTax
andUnitAmountExcludingTax
onCreditNoteLineItem
andInvoiceLineItem
- Add support for
RenderingOptions
onInvoiceParams
- Add support for
TotalExcludingTax
onInvoice
- Add support for new value
promptpay
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
AutomaticPaymentMethods
onOrderPaymentSettings
- Add support for
PromptPayDisplayQRCode
onPaymentIntentNextAction
- Add support for new value
promptpay
on enumPaymentMethodType
- Add support for
-
#1482 Use the generated API version
- #1477 API Updates
- Add support for
FundCashBalance
test helper method on resourceCustomer
- Add support for
StatementDescriptorPrefixKana
andStatementDescriptorPrefixKanji
onAccountSettingsCardPaymentsParams
,AccountSettingsCardPayments
, andAccountSettingsPayments
- Add support for
StatementDescriptorSuffixKana
andStatementDescriptorSuffixKanji
onCheckoutSessionPaymentMethodOptionsCardParams
,CheckoutSessionPaymentMethodOptionsCard
,PaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for
TotalExcludingTax
onCreditNote
- Change type of
CustomerInvoiceSettingsRenderingOptionsParams
fromrendering_options_param
toemptyStringable(rendering_options_param)
- Add support for
RenderingOptions
onCustomerInvoiceSettings
andInvoice
- Add support for
- #1478 Fix test assert to allow beta versions
- #1475 Trigger workflows on beta branches
- #1473 API Updates
- Add support for
Treasury
onAccountSettingsParams
andAccountSettings
- Add support for
RenderingOptions
onCustomerInvoiceSettingsParams
- Add support for
EUBankTransfer
onCustomerCreateFundingInstructionsBankTransferParams
,InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams
,InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
,OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams
,OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
,PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferParams
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferParams
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer
,SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
- Change type of
CustomerCreateFundingInstructionsBankTransferRequestedAddressTypesParams
fromliteral('zengin')
toenum('iban'|'sort_code'|'spei'|'zengin')
- Change type of
CustomerCreateFundingInstructionsBankTransferTypeParams
,OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferTypeParams
,OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType
,PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferTypeParams
,PaymentIntentNextActionDisplayBankTransferInstructionsType
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferTypeParams
, andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
fromliteral('jp_bank_transfer')
toenum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')
- Add support for
Iban
,SortCode
, andSpei
onFundingInstructionsBankTransferFinancialAddresses
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses
- Add support for new values
bacs
,fps
, andspei
on enumsFundingInstructionsBankTransferFinancialAddressesSupportedNetworks
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks
- Add support for new values
sort_code
andspei
on enumsFundingInstructionsBankTransferFinancialAddressesType
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType
- Change type of
OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams
,OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
,PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams
,PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams
, andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes
fromliteral('zengin')
toenum
- Add support for
CustomUnitAmount
onPriceParams
andPrice
- Add support for
- #1472 API Updates
- Add support for
Affirm
,Bancontact
,Card
,Ideal
,P24
, andSofort
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for
AUBECSDebit
,AfterpayClearpay
,BACSDebit
,EPS
,FPX
,Giropay
,Grabpay
,Klarna
,PayNow
, andSepaDebit
onCheckoutSessionPaymentMethodOptionsParams
- Add support for
SetupFutureUsage
onCheckoutSessionPaymentMethodOptionsAcssDebitParams
,CheckoutSessionPaymentMethodOptionsAcssDebit
,CheckoutSessionPaymentMethodOptionsAfterpayClearpay
,CheckoutSessionPaymentMethodOptionsAlipayParams
,CheckoutSessionPaymentMethodOptionsAlipay
,CheckoutSessionPaymentMethodOptionsAuBecsDebit
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsBoletoParams
,CheckoutSessionPaymentMethodOptionsBoleto
,CheckoutSessionPaymentMethodOptionsEps
,CheckoutSessionPaymentMethodOptionsFpx
,CheckoutSessionPaymentMethodOptionsGiropay
,CheckoutSessionPaymentMethodOptionsGrabpay
,CheckoutSessionPaymentMethodOptionsKlarna
,CheckoutSessionPaymentMethodOptionsKonbiniParams
,CheckoutSessionPaymentMethodOptionsKonbini
,CheckoutSessionPaymentMethodOptionsOxxoParams
,CheckoutSessionPaymentMethodOptionsOxxo
,CheckoutSessionPaymentMethodOptionsPaynow
,CheckoutSessionPaymentMethodOptionsSepaDebit
,CheckoutSessionPaymentMethodOptionsUsBankAccountParams
,CheckoutSessionPaymentMethodOptionsUsBankAccount
, andCheckoutSessionPaymentMethodOptionsWechatPayParams
- Add support for
AttachToSelf
onSetupAttempt
,SetupIntentListParams
, andSetupIntentParams
- Add support for
FlowDirections
onSetupAttempt
andSetupIntentParams
- Add support for
- #1469 Add test for cash balance methods.
- #1471 API Updates
- Add support for
RadarOptions
onChargeParams
,Charge
,PaymentIntentConfirmParams
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentParams
,PaymentIntentPaymentMethodDataParams
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
AccountHolderName
,AccountNumber
,AccountType
,BankCode
,BankName
,BranchCode
, andBranchName
onFundingInstructionsBankTransferFinancialAddressesZengin
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
- Change type of
OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType
andPaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType
fromenum
toliteral('jp_bank_transfer')
- Add support for
Network
onSetupIntentPaymentMethodOptionsCard
- Add support for new value
simulated_wisepos_e
on enumTerminalReaderDeviceType
- Add support for
- #1466 API Updates
- Add support for
AffirmPayments
andLinkPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
IDNumberSecondary
onAccountIndividualParams
,PersonParams
,TokenAccountIndividualParams
, andTokenPersonParams
- Add support for
HostedInstructionsURL
onPaymentIntentNextActionDisplayBankTransferInstructions
- Add support for
IDNumberSecondaryProvided
onPerson
- Add support for
CardIssuing
onTreasuryFinancialAccountFeaturesParams
andTreasuryFinancialAccountUpdateFeaturesParams
- Add support for
- #1465 API Updates
- Add support for
Treasury
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
- #1464 API Updates
- Add support for new resource
Apps.Secret
- Add support for
Affirm
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Link
onChargePaymentMethodDetails
,MandatePaymentMethodDetails
,OrderPaymentSettingsPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodDataParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for new value
link
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for new values
affirm
andlink
on enumPaymentMethodType
- Add support for new resource
-
#1463 API Updates
- Add support for new resources
Treasury.CreditReversal
,Treasury.DebitReversal
,Treasury.FinancialAccountFeatures
,Treasury.FinancialAccount
,Treasury.FlowDetails
,Treasury.InboundTransfer
,Treasury.OutboundPayment
,Treasury.OutboundTransfer
,Treasury.ReceivedCredit
,Treasury.ReceivedDebit
,Treasury.TransactionEntry
, andTreasury.Transaction
- Add support for
RetrievePaymentMethod
method on resourceCustomer
- Add support for
ListOwners
andList
methods on resourceFinancialConnections.Account
- Change type of
BillingPortalSessionReturnUrl
fromstring
tonullable(string)
- Add support for
AUBECSDebit
,AfterpayClearpay
,BACSDebit
,EPS
,FPX
,Giropay
,Grabpay
,Klarna
,PayNow
, andSepaDebit
onCheckoutSessionPaymentMethodOptions
- Add support for
Treasury
onIssuingAuthorization
,IssuingDisputeParams
,IssuingDispute
, andIssuingTransaction
- Add support for
FinancialAccount
onIssuingCardParams
andIssuingCard
- Add support for
ClientSecret
onOrder
- Add support for
Networks
onPaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
,PaymentMethodUsBankAccount
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams
, andSetupIntentPaymentMethodOptionsUsBankAccountParams
- Add support for
AttachToSelf
andFlowDirections
onSetupIntent
- Add support for
SaveDefaultPaymentMethod
onSubscriptionPaymentSettingsParams
andSubscriptionPaymentSettings
- Add support for
CZK
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for new resources
-
#1461 API Updates
- Add support for
Description
onCheckoutSessionSubscriptionDataParams
,SubscriptionParams
, andSubscription
- Add support for
ConsentCollection
,PaymentIntentData
,ShippingOptions
,SubmitType
, andTaxIDCollection
onPaymentLinkParams
andPaymentLink
- Add support for
CustomerCreation
onPaymentLinkParams
andPaymentLink
- Add support for
Metadata
onSubscriptionSchedulePhasesParams
andSubscriptionSchedulePhases
- Add support for
-
#1462 update build status label and remove outdated code coverage label
- #1459 API Updates
- Add support for
AmountDiscount
,AmountTax
, andProduct
onLineItem
- Add support for
- #1457 API Updates
- Add support for
DefaultPriceData
onProductParams
- Add support for
DefaultPrice
onProductParams
andProduct
- Add support for
InstructionsEmail
onRefundParams
andRefund
- Add support for
-
#1455 API Updates
- Add support for new resources
FinancialConnections.AccountOwner
,FinancialConnections.AccountOwnership
,FinancialConnections.Account
, andFinancialConnections.Session
- Add support for
FinancialConnections
onCheckoutSessionPaymentMethodOptionsUsBankAccountParams
,CheckoutSessionPaymentMethodOptionsUsBankAccount
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccountParams
,PaymentIntentPaymentMethodOptionsUsBankAccount
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams
,SetupIntentPaymentMethodOptionsUsBankAccountParams
,SetupIntentPaymentMethodOptionsUsBankAccount
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount
- Add support for
FinancialConnectionsAccount
onPaymentIntentConfirmPaymentMethodDataUsBankAccountParams
,PaymentIntentPaymentMethodDataUsBankAccountParams
,PaymentMethodUsBankAccountParams
,PaymentMethodUsBankAccount
,SetupIntentConfirmPaymentMethodDataUsBankAccountParams
, andSetupIntentPaymentMethodDataUsBankAccountParams
- Add support for new resources
-
#1454 API Updates
- Add support for
RegisteredAddress
onAccountIndividualParams
,PersonParams
,Person
,TokenAccountIndividualParams
, andTokenPersonParams
- Add support for
PaymentMethodData
onSetupIntentConfirmParams
andSetupIntentParams
- Add support for
- #1453 API Updates
- Add support for new resource
CashBalance
- Change type of
BillingPortalConfigurationApplication
from$Application
todeletable($Application)
- Add support for
Alipay
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for new value
eu_oss_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
, andTaxIdType
- Add support for
CashBalance
onCustomer
- Add support for
Application
onInvoice
,Quote
,SubscriptionSchedule
, andSubscription
- Add support for new resource
- #1452 API Updates
- Add support for
Expire
test helper method on resourceRefund
- Add support for
-
#1451 API Updates
- Add support for new resources
FundingInstructions
andTerminal.Configuration
- Add support for
CreateFundingInstructions
method on resourceCustomer
- Add support for
CustomerBalance
onChargePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
, andPaymentMethod
- Add support for
CashBalance
onCustomerParams
- Add support for
AmountDetails
onPaymentIntent
- Add support for
DisplayBankTransferInstructions
onPaymentIntentNextAction
- Add support for new value
customer_balance
on enumPaymentMethodType
- Add support for
ConfigurationOverrides
onTerminalLocationParams
andTerminalLocation
- Add support for new resources
-
#1448 API Updates
- Add support for
IncrementAuthorization
method on resourcePaymentIntent
- Add support for
IncrementalAuthorizationSupported
onChargePaymentMethodDetailsCardPresent
- Add support for
RequestIncrementalAuthorizationSupport
onPaymentIntentConfirmPaymentMethodOptionsCardPresentParams
,PaymentIntentPaymentMethodOptionsCardPresentParams
, andPaymentIntentPaymentMethodOptionsCardPresent
- Add support for
- #1446 API Updates
- Add support for
ApplyCustomerBalance
method on resourcePaymentIntent
- Add support for
- #1443 Add support for passing expansions in SearchParams.
- #1442 API Updates
- Add support for
BankTransferPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
CaptureBefore
onChargePaymentMethodDetailsCardPresent
- Add support for
Address
andName
onCheckoutSessionCustomerDetails
- Add support for
CustomerBalance
onInvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptions
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptions
- Add support for new value
customer_balance
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
RequestExtendedAuthorization
onPaymentIntentConfirmPaymentMethodOptionsCardPresentParams
,PaymentIntentPaymentMethodOptionsCardPresentParams
, andPaymentIntentPaymentMethodOptionsCardPresent
- Add support for
- #1440 API Updates
- Add support for
CancelAction
,ProcessPaymentIntent
,ProcessSetupIntent
, andSetReaderDisplay
methods on resourceTerminal.Reader
- Add support for
Action
onTerminalReader
- Add support for
- #1439 API Updates
- Add support for Search API
- Add support for
Search
method on resourcesCharge
,Customer
,Invoice
,PaymentIntent
,Price
,Product
, andSubscription
- Add support for
- Add support for Search API
- #1437 API Updates
- Add support for PayNow and US Bank Accounts Debits payments
- Charge (API ref)
- Add support for
PayNow
andUSBankAccount
onChargePaymentMethodDetails
- Add support for
- Mandate (API ref)
- Add support for
USBankAccount
onMandatePaymentMethodDetails
- Add support for
- Payment Intent (API ref)
- Add support for
PayNow
andUSBankAccount
onPaymentIntentPaymentMethodOptions
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodDataParams
, andPaymentIntentConfirmPaymentMethodOptionsParams
- Add support for
PayNowDisplayQRCode
onPaymentIntentNextAction
- Add support for
- Setup Intent (API ref)
- Add support for
USBankAccount
onSetupIntentPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptions
, andSetupIntentConfirmPaymentMethodOptionsParams
- Add support for
- Setup Attempt (API ref)
- Add support for
USBankAccount
onSetupAttemptPaymentMethodDetails
- Add support for
- Payment Method (API ref)
- Add support for
PayNow
andUSBankAccount
onPaymentMethod
andPaymentMethodParams
- Add support for new values
paynow
andus_bank_account
on enumPaymentMethodType
- Add support for
- Checkout Session (API ref)
- Add support for
USBankAccount
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for
- Invoice (API ref)
- Add support for
USBankAccount
onInvoicePaymentSettingsPaymentMethodOptions
andInvoicePaymentSettingsPaymentMethodOptionsParams
- Add support for new values
paynow
andus_bank_account
on enumInvoicePaymentSettingsPaymentMethodTypes
- Add support for
- Subscription (API ref)
- Add support for
USBankAccount
onSubscriptionPaymentSettingsPaymentMethodOptions
andSubscriptionPaymentSettingsPaymentMethodOptionsParams
- Add support for new values
paynow
andus_bank_account
on enumSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
- Account capabilities (API ref)
- Add support for
PayNowPayments
andUSBankAccountAchPayments
onAccountCapabilities
andAccountCapabilitiesParams
- Add support for
- Charge (API ref)
- Add support for
FailureBalanceTransaction
onCharge
- Add support for
TestClock
onSubscriptionListParams
- Add support for
CaptureMethod
onPaymentIntentConfirmPaymentMethodOptionsAfterpayClearpayParams
,PaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentConfirmPaymentMethodOptionsKlarnaParams
,PaymentIntentPaymentMethodOptionsAfterpayClearpayParams
,PaymentIntentPaymentMethodOptionsAfterpayClearpay
,PaymentIntentPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCard
,PaymentIntentPaymentMethodOptionsKlarnaParams
,PaymentIntentPaymentMethodOptionsKlarna
, andPaymentIntentTypeSpecificPaymentMethodOptionsClient
- Add additional support for verify microdeposits on Payment Intent and Setup Intent (API ref)
- Add support for
DescriptorCode
onPaymentIntentVerifyMicrodepositsParams
andSetupIntentVerifyMicrodepositsParams
- Add support for
MicrodepositType
onPaymentIntentNextActionVerifyWithMicrodeposits
andSetupIntentNextActionVerifyWithMicrodeposits
- Add support for
- Add case for
ConnectCollectionTransfer
onBalanceTransactionSource
UnmarshalJSON
(fixes #1392) - Add missing
PayoutFailureCode
s (fixes #1438)
- Add support for PayNow and US Bank Accounts Debits payments
- #1436 API Updates
- Add support for
Cancel
method on resourceRefund
- Add support for new values
bg_uic
,hu_tin
, andsi_tin
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
, andTaxIdType
- Add support for
TestClock
onQuoteListParams
- Add support for
- #1433 API Updates
- Add support for
Status
onCard
- Add support for
- #1432 Add StringSlice example to readme
- #1324 Add support for SearchResult objects
- #1431 API Updates
- Add support for
Mandate
onChargePaymentMethodDetailsCard
- Add support for
MandateOptions
onSetupIntentPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
,PaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCard
, SetupIntentConfirmPaymentMethodOptionsCardParams, and
SetupIntentPaymentMethodOptionsCard` - Add support for
CardAwaitNotification
onPaymentIntentNextAction
- Add support for
CustomerNotification
onPaymentIntentProcessingCard
- Add support for
- #1430 API Updates
- Add support for
TestClock
onCustomerListParams
- Add support for
- #1429 Fix unmarshalling error on schedule create from subscription (ApplicationFeePercent)
- #1425 API Updates
- Add support for new resources
InvoiceLineProrationDetails
andInvoiceLineProrationDetailsCreditedItems
- Add support for
ProrationDetails
onInvoiceLine
- Add support for new resources
- #1423 #1424 API Updates
- Add support for new resource
TestHelpers.TestClock
- Add support for
TestClock
onCustomerParams
,Customer
,Invoice
,InvoiceItem
,QuoteParams
,Quote
,Subscription
, andSubscriptionSchedule
- Add support for
PendingInvoiceItemsBehavior
onInvoiceParams
- Change type of
ProductUrlParams
fromstring
toemptyStringable(string)
- Add support for
NextAction
onRefund
- Add support for new resource
- #1422 API Updates
- Add support for
KonbiniPayments
onAccountCapabilitiesParams
, andAccountCapabilities
BillingPortalConfigurationBusinessProfileTermsOfServiceUrl
fromstring
tonullable(string)
- Add support for
Konbini
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,InvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptions
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptions
- Add support for new value
konbini
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
KonbiniDisplayDetails
onPaymentIntentNextAction
- Add support for new value
konbini
on enumPaymentMethodType
- Add support for
- #1420 Generate enums in samples
- #1421 API Updates
- Add support for
SetupFutureUsage
onPaymentIntentPaymentMethodOptions.*
- Add support for new values
bbpos_wisepad3
andstripe_m2
on enumTerminalReaderDeviceType
- Add support for
- #1419 Add tests for verify_microdeposits
- #1416 API Updates
- Add support for
VerifyMicrodeposits
method on resourcesPaymentIntent
andSetupIntent
- Add support for new value
grabpay
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
- #1415 API Updates
- Add support for
PIN
onIssuingCardParams
- Add support for
- #1414 Add comments for deprecated error types
- #1411 API Updates
- Add support for
PhoneNumberCollection
onPaymentLinkParams
andPaymentLink
- Add support for new value
is_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
, andTaxIdType
- Add support for
- #1384 godoc is no more
- #1408 API Updates
- Add support for new resource
PaymentLink
- Add support for
PaymentLink
onCheckoutSession
- Add support for new resource
-
#1407 API Updates
- Change type of
ChargeStatus
fromstring
toenum('failed'|'pending'|'succeeded')
- Add support for
BACSDebit
andEPS
onPaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsParams
, andPaymentIntentPaymentMethodOptions
- Add support for
ImageURLPNG
andImageURLSVG
onPaymentIntentNextActionWechatPayDisplayQRCode
- Change type of
-
#1405 Generate struct field docstrings
- #1404 API Updates
- Add support for
PaidOutOfBand
onInvoice
- Add support for
-
#1403 API Updates
- Add support for
CustomerCreation
onCheckoutSessionParams
andCheckoutSession
- Add support for
FPX
andGrabpay
onPaymentIntentPaymentMethodOptionsParams
andPaymentIntentPaymentMethodOptions
- Add support for
-
#1399 API Updates
- Add support for
MandateOptions
onSubscriptionPaymentSettingsPaymentMethodOptionsCardParams
,SubscriptionPaymentSettingsPaymentMethodOptionsCardParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsCard
- Add support for
-
#1401 Make source.go and client codegen-able
- Add support for
object
onSource
(value is the string "source") - Add support for
client_secret
onSourceObjectParams
- Add support for
parent
onSourceSourceOrderItems
- Add support for
-
#1400 Make paymentsource.go and client codegen-able
- Add support for
account_holder_name
,account_holder_type
,address_city
,address_country
,address_line1
,address_line2
,address_state
,address_zip
,exp_month
,exp_year
,name
,owner
onCustomerSourceParams
- Add support for
PaymentSourceOwnerParams
- Add support for
Object
onSourceListParams
- Add support for
-
#1396 Make bankaccount and card codegen-able
- Add support for
address_city
,address_country
,address_line1
,address_line2
,address_state
,address_zip
,exp_month
,exp_year
, andname
onBankAccountParams
- Add support for
account_holder_name
,account_holder_type
, andowner
onCardParams
- Add support for
account
onCard
- Add support for
-
#1398 Update docs URLs.
-
#1397 API Updates
- Add support for
AUBECSDebit
onPaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsParams
, andPaymentIntentPaymentMethodOptions
- Change type of
PaymentIntentProcessingType
fromstring
toliteral('card')
. This is not considered a breaking change as the field was added in the same release.
- Add support for
-
#1395 API Updates
- Add support for
Boleto
onSetupAttemptPaymentMethodDetails
- Add support for
-
#1393 API Updates
- Add support for
Processing
onPaymentIntent
- Add support for
- #1391 API Updates
- Add support for new resource
PaymentIntentTypeSpecificPaymentMethodOptionsClient
- Add support for
SetupFutureUsage
onPaymentIntentPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
,PaymentIntentConfirmPaymentMethodOptionsCardParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for new resource
- #1390 API Updates
- Add support for
Metadata
onBillingPortalConfiguration
- Add support for
- #1382 Add unwrap capability to Error
- #1388 Codegen:
sourcetransaction.go
andsourcetransaction/client.go
- Add support for
Object
andStatus
onSourceTransaction
.
- Add support for
-
#1389 API Updates
- Add support for new values
ge_vat
andua_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
, andTaxIdType
- Add support for new values
-
#1383 #1379 #1385 #1386 Codegen-related updates
- Add support for
CancellationReason
andReceivedAt
onIssuingDisputeEvidenceServiceNotAsDescribed
andIssuingDisputeEvidenceServiceNotAsDescribedParams
- Add support for
Created
onIssuingDisputeListParams
- Add support for
Object
onPlan
- Add support for
free_zone_establishment
,free_zone_llc
,llc
, andsole_establishment
options forAccountCompanyStructure
- Add support for
AfterpayClearpayPayments
onAccountCapabilitiesParams
- Add support for
Created
andCreatedRange
onAccountListParams
- Add support for
AfterpayClearpayPayments
andBoletoPayments
onAccountCapabilities
- Add support for
Capability
andCapabilities
method on Account client - Add support for
none
andrenew
options forSubscriptionScheduleEndBehavior
- Add support for
"now"
string forEndDate
,StartDate
, andTrialEnd
onSubscriptionSchedulePhaseParams
- Add support for
ProrationBehavior
onSubscriptionSchedulePhase
- Add support for
APIVersion
andObject
onEvent
- Add support for
Metadata
onSubscriptionItemsParams
- Add support for
'automatic_pending_invoice_item_invoice'
option forInvoiceBillingReason
- Add support for
'deleted'
option forInvoiceStatus
- Add support for
metadata
onInvoiceUpcomingCustomerDetailsParams
- Add support for
schedule
onInvoiceParams
- Add support for
created
onPerson
- Add support for
- #1381 Add support for
Wallets
onIssuingCard
- Add support for
Wallets
onIssuingCard
- Add support for
- #1380 API Updates
- Add support for
InteracPresent
onPaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsParams
, andPaymentIntentPaymentMethodOptions
- Add support for new value
jct
on enumTaxRateTaxType
- Add support for
- #1377 API Updates
- Add support for
AutomaticPaymentMethods
onPaymentIntentParams
andPaymentIntent
- Add support for
- #1375 API Updates
- Add support for new resource
ShippingRate
- Add support for
ShippingOptions
onCheckoutSessionParams
andCheckoutSession
- Add support for
ShippingRate
onCheckoutSession
- Add support for new resource
- #1374 API Updates
- Add support for
Expire
method on resourceCheckout.Session
- Add support for
Status
onCheckoutSession
- Add support for
- #1373 #1370 #1369 Codegen-related updates
- Add support for
disabled
onCapabilityStatus
- Add support for
- Make more files codegen-able
- Add support for
acss_debit
,au_becs_debit
,bacs_debit
, andsepa_debit
onSetupAttemptPaymentMethodDetails
- Add support for
setup_intent
onSetupAttempt
- Add support for
duplicate
option forSetupIntentCancellationReason
- Add support for
challenge_only
option forSetupIntentPaymentMethodOptionsCardRequestThreeDSecure
- Add support for
sepa_debit
onSetupIntentPaymentMethodOptionsParams
andSetupIntentPaymentMethodOptions
- Add support for
client_secret
onSetupIntentParams
- #1371 API Updates
- Remove support for
OwnershipDeclarationShownAndSigned
onTokenAccountParams
. This API was unused. - Add support for
OwnershipDeclarationShownAndSigned
onTokenAccountCompanyParams
- Remove support for
- #1368 API Updates
- Add support for
OwnershipDeclaration
onAccountCompanyParams
,AccountCompanyParams
,AccountCompany
, andTokenAccountCompanyParams
- Add support for
ProofOfRegistration
onAccountDocumentsParams
andAccountDocumentsParams
- Add support for
OwnershipDeclarationShownAndSigned
onTokenAccountParams
- Add support for
- #1366 Make File resource and client codegen-able
- Add support for
"selfie"
and"identity_document_downloadable"
asFilePurpose
options - Add support for
title
field onFile
- Add support for
- #1365 Make paymentintent and paymentmethod codegen-able
- Fix
WechatPay
form name inPaymentIntentPaymentMethodDataParams
- Add support for
"challenge_only"
asPaymentIntentPaymentMethodOptionsCardRequestThreeDSecure
option - Add support for
OffSessionOneOff
andOffSessionRecurring
onPaymentIntentConfirmParams
- Add support for
BACSDebit
,Bancontact
,Giropay
,InteracPresent
,Metadata
, andSofort
onPaymentIntentPaymentMethodDataParams
- Add support for
CardPresent
,Ideal
,P24
, andSepaDebit
onPaymentIntentPaymentMethodOptionsParams
andPaymentIntentPaymentMethodOptions
- Add support for
ClientSecret
,OffSessionOneOff
, andOffSessionRecurring
onPaymentIntentParams
- Add support for
Object
onPaymentIntent
- Add support for
AmexExpressCheckout
,ApplePay
,GooglePay
,Masterpass
,SamsungPay
, andVisaCheckout
onPaymentMethodCardWallet
- Fix
- #1364 Update references in test suite to be fully qualified.
- #1361 Bugfix: point client.API#Oauth to the Connect backend.
- #1358 API Updates
- Add support for
BuyerID
onChargePaymentMethodDetailsAlipay
- Add support for
- #1357 API Updates
- Change type of
UsageRecordTimestampParams
frominteger
toliteral('now') | integer
- Change type of
- #1356 Add generated test suite
- #1355 Make order-related files codegen-able
- Add support for
SelectedShippingMethod
andStatus
onOrderStatus
- Add support for
Carrier
andTrackingNumber
onShippingParams
- Add support for
ExternalCouponCode
andObject
onOrder
- Add support for
Object
onOrderItem
andOrderReturn
- Add support for
Deleted
andObject
onSKU
- Add support for
- #1354 API Updates
- Add support for
PaymentMethodCategory
andPreferredLocale
onChargePaymentMethodDetailsKlarna
- Add support for
Klarna
onPaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
, andPaymentMethod
- Add support for new value
klarna
on enumPaymentMethodType
- Add support for
- #1352 API Updates
- Add support for
ListPaymentMethods
method on resourceCustomer
- Add support for
- #1331 Add missing decline codes following official documentation.
- #1351 API Updates
- Add support for
PhoneNumberCollection
onCheckoutSessionParams
andCheckoutSession
- Add support for
Phone
onCheckoutSessionCustomerDetails
- Add support for new value
customer_id
on enumRadarValueListItemType
- Add support for new value
bbpos_wisepos_e
on enumTerminalReaderDeviceType
- Add support for
- #1350 #1349 #1347 #1346 Codegen-related changes
- Add support for
Object
toToken
- Add support for
Object
onReversal
- Add support for
- #1345 API Updates
- Add support for
KlarnaPayments
onAccountCapabilitiesParams
,AccountCapabilitiesParams
, andAccountCapabilities
- Add support for
- #1344 API Updates
- Add support for
AmountAuthorized
andOvercaptureSupported
onChargePaymentMethodDetailsCardPresent
- Add support for
- #1342 API Updates
- Add support for
Livemode
onReportingReportType
. - Add support for
DefaultFor
onCheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions
,MandatePaymentMethodDetailsACSSDebit
,SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams
, andSetupIntentPaymentMethodOptionsACSSDebitMandateOptions
. - Add support for
ACSSDebit
onInvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptions
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptions
. - Add support for new value
acss_debit
on enumsInvoicePaymentSettingsPaymentMethodType
andSubscriptionPaymentSettingsPaymentMethodType
. - Add support for
FullNameAliases
onPersonParams
andPerson
.
- Add support for
- #1339 API Updates
- Add support for new value
rst
on enumTaxRateTaxType
- Add support for new value
- #1336 Adding missing dispute reasons following official documentation (http…
- #1337 Generated go test suites
- #1335 Bugfix: prop
form
annotation forWechatPay
onPaymentIntentPaymentMethodOptions
- #1334 API Updates
- Add support for
FutureRequirements
onAccount
,Capability
, andPerson
- Add support for
Alternatives
onAccountRequirements
,CapabilityRequirements
, andPersonRequirements
- Add support for
- #1332 API Updates
- Add support for
AfterExpiration
,ConsentCollection
, andExpiresAt
onCheckoutSessionParams
andCheckoutSession
- Add support for
Consent
andRecoveredFrom
onCheckoutSession
- Add support for
- #1329 API Updates
- Add support for
CancellationReason
onBillingPortalConfigurationFeaturesSubscriptionCancelParams
,BillingPortalConfigurationFeaturesSubscriptionCancelParams
, andBillingPortalConfigurationFeaturesSubscriptionCancel
- Add support for
- #1328 API Updates
- Add support for new TaxId type:
au_arn
- Add support for
InteracPresent
onChargePaymentMethodDetails
- Add support for
SepaCreditTransfer
onChargePaymentMethodDetails
- Codegen related changes:
- Moved
ShippingDetails
intoaddress.go
- Add support for
Object
andOrder
toCharge
- Renamed
ReviewReasonType
enum toReviewReason
but added a type alias to preserve backwards compatibility
- Moved
- Add support for new TaxId type:
- #1323 codegen: api.go
- #1325 API Updates
- Add support for
locale
onBillingPortalSessionParams
andBillingPortalSession
- Add support for
- #1317 codegen: charge, taxrate
- Add support for
ApplicationFee
on (Charge)CaptureParams
- Add support for
PreferredLanguage
onChargePaymentMethodDetailsSofort
- Bugfix: correctly deserialize
amount
onChargeTransferData
- Add support for
- #1322 API Updates
- Add support for
AccountType
onBankAccount
,BankAccountParams
, andCardParams
. - Add support for
CategoryCode
onIssuingAuthorizationMerchantData
. - Add const definition for value
redacted
on enumReviewClosedReason
.
- Add support for
- #1319 API Updates
- Add support for
payment_settings
onSubscription
andSubscriptionParams
.
- Add support for
- #1320 Stop using uploads.stripe.com for the files backend.
- #1318 API Updates
- Add support for
Wallet
onIssuingTransaction
- Add support for
Ideal
onPaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsParams
, andPaymentIntentPaymentMethodOptions
- Add support for
- #1315 Explicit iter property
- #1314 API Updates
- Add support for
ListComputedUpfrontLineItems
method on resourceQuote
- Add support for
- #1312 codegen: 14 more files
- Add support for
BillingAddressCollection
toCheckoutSession
- Add support for
NetworkReasonCode
toDisputeReason
- Add support for
Object
toEphemeralKey
,ApplicationFee
, andDisputeReason
- Add support for
Description
toRefund
- Add const definition for value
blocked
on enumIssuingCardholderStatus
- Bugfix: add support for
Rate
onCheckoutSessionTotalDetailsBreakdownTax
-- the existing fieldTaxRate
has the wrong json annotation and should be deprecated.
- Add support for
- #1310 #1283 API Updates
- Add support for new resource
Quote
- Add support for
Quote
onInvoice
- Add support for new value
quote_accept
on enumInvoiceBillingReason
- Add support for new resource
- #1309 Fix deserialization of Error on Sigma ScheduledQueryRun (warning: this might be a minor breaking change if you attempted to reference this broken field)
- #1306 API Updates
- Add support for
boleto
onInvoicePaymentSettingsPaymentMethodType
.
- Add support for
- #1304 Add support for Wechat Pay
- Add support for
WechatPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
, andPaymentMethod
- Add support for new value
wechat_pay
on enumsInvoicePaymentSettingsPaymentMethodType
andPaymentMethodType
- Add support for
WechatPayDisplayQRCode
,WechatPayRedirectToAndroidApp
, andWechatPayRedirectToIOSApp
onPaymentIntentNextAction
- Add support for
- #1303 API Updates
- Add support for
Boleto
andOXXO
onCheckoutSessionPaymentMethodOptionsParams
andCheckoutSessionPaymentMethodOptions
- Add support for
BoletoPayments
onAccountCapabilities
- Add support for
- #1301 API Updates
- Add support for
boleto
as aPaymentMethodType
- Add support for
Boleto
onChargePaymentMethodDetails
,PaymentMethod
,PaymentMethodParams
,PaymentIntentPaymentMethodOptions
,PaymentIntentPaymentMethodDataParams
, andPaymentIntentPaymentMethodOptionsParams
- Add support for
BoletoDisplayDetails
onPaymentIntentNextAction
- Add support for
il_vat
on enumsCheckoutSessionCustomerDetailsTaxIDsType
andTaxIDType
- Add support for
- #1299 API Updates
- Add support for new TaxId types:
ca_pst_mb
,ca_pst_bc
,ca_gst_hst
, andca_pst_sk
.
- Add support for new TaxId types:
- #1298 API Updates
- Add checkout.Session.URL
- #1295 Add Secret to EphemeralKey as it now should be accessed directly
- #1297 API Updates
- Add support for
TaxIDCollection
toCheckoutSession
andCheckoutSessionParams
.
- Add support for
- #1292 API Updates
- Add support for
Controller
toAccount
- Add support for
- #1287 #1293 #1290 codegen: 4 files
- Add missing enum members to
BalanceTransactionType
,BalanceTransactionSourceType
- Add support for
FeeRefund
andTopup
toBalanceTransactionSource
- Add support for
Object
onBalanceTransaction
andTransfer
- Removed a redundant form-encoding conversion for
UpTo
inPriceTierParams.AppendTo
method
- Add missing enum members to
- #1291 API Updates
- Add new resource
TaxCode
. - Add support for
AutomaticTax
onCheckoutSession
,Invoice
,Subscription
, andSubscriptionScheduleDefaultSettings
. - Add support for
CustomerUpdate
onCheckoutSessionCustomerUpdateParams
- Add support for
Tax
onCustomer
andCustomerParams
- Add support for
CustomerDetails
onInvoiceParams
- Add support for
TaxBehavior
onPrice
,PriceParams
,CheckoutSessionLineItemPriceDataParams
,PriceParams
,SubscriptionItemPriceDataParams
,SubscriptionSchedulePhaseAutomaticTaxParams
,SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams
, andInvoiceItemPriceDataParams
- Add support for
TaxCode
onCheckoutSessionLineItemPriceDataProductParams
,Product
,ProductParams
,PlanProductParams
andPriceProductDataParams
- Add new resource
- #1286 API Updates
- Added support for
Documents
toPersonParams
- Added support for
- #1285 API Updates
- Add support for Identity VerificationSession and VerificationReport APIs
- #1280 API Updates
- Added support for
reference
onCharge.payment_method_details.afterpay_clearpay
- Added support for
afterpay_clearpay
onPaymentIntent.payment_method_options
.
- Added support for
- #1279 API Updates
- Add support for
payment_intent
onRadarEarlyFraudWarning
andRadarEarlyFraudWarningListParams
.
- Add support for
- #1278 API updates
- Add support for
dhl
androyal_mail
as enum members ofIssuingCardShippingCarrier
. - Add support for
single_member_llc
as an enum member ofAccountCompanyStructure
.
- Add support for
- #1277, #1276 Codegen-related changes
- Add missing
Object
field to several structs. - Set
path
inusagerecordsummary.List
only once, not once per iteration.
- Add missing
- #1275 Add support for ACSS debit payment method
- Add support for
acss_debit
as value forPaymentMethodType
. - Add support for
ACSSDebit
onPaymentMethod
,PaymentMethodParams
,PaymentIntentPaymentMethodOptions
,PaymentIntentPaymentMethodOptionsParams
,MandatePaymentMethodDetails
,SetupIntentPaymentMethodOptions
, andSetupIntentPaymentOptionsParams
. - Add support for
ACSSDebitPayments
onAccountCapabilities
- Add support for
PaymentMethodOptions
onCheckoutSession
- Add support for
verify_with_microdeposits
anduse_stripe_sdk
onPaymentIntentNextAction
andSetupIntentNextAction
- Add support for
- #1274 Fix names of
SubscriptionScheduleStatus
constants (warning: this might be a minor breaking change if you'd been referencing a bad name)
- #1273 API Updates
- Add support for
SubscriptionPause
onBillingPortalConfigurationFeatures
andBillingPortalConfigurationFeaturesParams
- Add support for
- #1271 codegen: add several client.go files
- #1269 codegen: 13 more files
- Add missing
Object
property to several structs - Add support for
ExpiresAtNow
toFileLinkParams
- Add support for
SubscriptionItem
toInvoiceItem
- Add enum definitions for
TerminalReader.DeviceType
- Add enum definitions for
Topup.status
- Add support for
Amount
,AmountRange
, andStatus
toTopupListParams
- Added custom
UnmarshalJSON
method forTopup
- Add missing
- #1272 API Updates
- Add support for
TransferData
onCheckoutSessionSubscriptionDataParams
- Add support for
- #1270 add card_issuing.tos_acceptance to account.go
- Add support for
AccountSettingsParams.CardIssuing.TOSAcceptance
- Add support for
AccountSettingsCardPayments.CardIssuing.TOSAcceptance
- Add support for
- #1268 API Updates
- Add support for
ShippingRates
onCheckoutSessionParams
- Add support for
AmountShipping
onCheckoutSessionTotalDetails
- Add support for
- #1264, #1261 Codegen-related changes
- Introduce missing
Object
andDeleted
properties to many structs - Add two missing members to
CustomerBalanceTransactionType
enum - Add
DomainName
toApplePayDomainListParams
- Introduce missing
- #1250 Support
SubscriptionTrialEndNow
on the Retrieve Upcoming Invoice API
- #1257 Adds ErrorType idempotency_error
- #1259 Add configuration API to billingportal_session.go
- #1253 Fix
LineItemTax
to deserializeRate
properly
- #1254 Add support for the billing portal configuration API
- #1252 API Updates
- Add support for
afterpay_clearpay
onPaymentMethod
,PaymentMethodParams
,PaymentIntentPaymentMethodDataParams
, andChargePaymentMethodDetails
- Add
afterpay_clearpay
as an enum member onPaymentMethodType
- Add support for
adjustable_quantity
onCheckoutSessionLineItemParams
- Add support for
on_behalf_of
onInvoiceParams
andInvoice
- Add support for
- #1249 Fix edge case panic in ParseID
- #1247 Added support for
payment_settings
toInvoice
- #1245 API Updates
- Add
nationality
toPerson
andPersonParams
- (TokenParams includes PersonParams, so this also allows it to be specified on token.Create)
- Add
gb_vat
as a member ofTaxIDType
andCheckoutSessionCustomerDetailsTaxIDsType
- Add
- #1246 Add SubscriptionStartDate to InvoiceParams (to use with GetNext)
- #1243 Added missing decline code 'invalid_expiry_month'
- #1228 Redact client_secret from logs
- #1241 Multiple API Changes
- Added support for
dynamic_tax_rates
onCheckoutSessionParams.line_items
- Added support for
customer_details
onCheckoutSession
- Added support for
type
onIssuingTransactionListParams
- Added support for
country
andstate
onTaxRateParams
andTaxRate
- Added support for
- #1236 Add support for bank on eps/p24
- #1239 Add support for more verification documents in
Documents
onAccount
.
- #1234 Add support for
BankAccountOwnershipVerification
inDocuments
onAccount
- #1230 Add support for
AccountTaxIDs
onInvoice
- #1227 Add support for Account and Person
Token
creation
- #1229 Add support for
GrabpayPayments
as a capability onAccount
- #1222 Add
LastFinalizationError
toInvoice
andPaymentMethodType
toError
- #1223 Properly deserialize
IssuingDispute
onBalanceTransaction
- #1221 Add support for
RegistrationNumber
inCompany
onAccount
- #1220 Add
PreferredLocales
onCharge
for payments made via Interac Present transactions
- #1218 Multiple API changes
- Add support for passing
CvcToken
inPaymentIntentPaymentMethodOptionsCardOptions
onPaymentIntent
- Add support for creating a CVC Token on
Token
.
- Add support for passing
- #1217 Add support for passing
Bank
for P24 onPaymentIntent
orPaymentMethod
- #1215 Add missing constants for existing types on
PaymentMethod
- #1216 Support passing
TaxRates
when creating invoice items throughSubscription
orSubscriptionSchedule
- #1214 Put a
Deprecated
notice onTotalCount
- #1212 Add
TaxIDTypeJPRN
andTaxIDTypeRUKPP
onTaxId
- #1210 Add support for
Discounts
toCheckoutSessionParams
- #1208 Add support for the Payout Reverse API
- #1207 Add support for
Description
,IIN
andIssuer
onCharge
forCardPresent
and `InteracPresent
- #1206 Add support for
Mandate
inChargePaymentMethodDetailsSepaDebit
- #1203 Bugfix: Balance.InstantAvailable should be of type Amount
- #1199 Support sepa_debit for bancontact, ideal, sofort
- #1200 Handle randomness error when generating idempotency keys
- #1195 Add support for new payments capabilities on
Account
- #1194 Add support for the
SetupAttempt
resource and List API
- #1192 Add support for OXXO Payments capability on
Account
- #1190 Add support for BalanceTransactionTypeContribution
on
BalanceTransaction` - #1183 Add support for OXXO on
PaymentIntent
andPaymentMethod
- #1189 When not retrying a request, log reason at info level
- #1187 Don't retry requests on context cancellation + a few other errors
- #1188 Add support for
InstantAvailable
onBalance
- #1182 Add
Metadata
onWebhookEndpoint
- #1180 Add support for Sofort on
PaymentMethod
andPaymentIntent
- #1178 Fix the constant names for
BankAccountAvailablePayoutMethod
- #1177 Add support for
AvailablePayoutMethods
onBankAccount
- #1176 Add support for
PaymentStatus
on CheckoutSession
- #1174 Add support for the Issuing Dispute APIs
- #1170 Multiple API changes
- Move to latest API version
2020-08-27
- Remove
Prorate
across Billing APIs in favor ofProrationBehavior
- Remove
TaxPercent
across Billing APIs in favor ofTaxRate
-related parameters and properties - Remove
DisplayItems
on CheckoutSession
in favor ofLineItems
- Remove
FailureURL
andSuccessURL
onAccountLink
in favor ofRefreshURL
andReturnURL
- Remove
AccountLinkTypeCustomAccountUpdate
andAccountLinkTypeCustomAccountVerification
onAccountLink
in favor ofAccountLinkTypeAccountOnboarding
andAccountLinkTypeAccountUpdate
- Remove
Authenticated
andSucceeded
onChargePaymentMethodDetailsCardThreeDSecure
- Remove
Plan
,Quantity
,TaxPercent
andTrialEnd
fromCustomer
creation or update in favor of the Subscription API - Rename
Plans
toItems
onSubscriptionSchedule
- Move to latest API version
- #1171 Remove multiple deprecated APIs
- Remove support for the
Recipient
API - Remove support for the
RecipientTransfer
API - Remove support for the
BitcoinReceiver
API - Remove support for the
ThreeDSecure
API which has been replaced by PaymentIntent and PaymentMethod - Remove support for the
ExchangeRate
API which has never shipped publicly and is being reworked
- Remove support for the
- #1172 Properly remove ThreeDSecure class entirely
- #1173 Remove deprecated parameters
SavePaymentMethod
andSource
onPaymentIntent
- #1153 Add support for
ServiceAgreement
inAccountTOSAcceptance
onAccount
- #1165 Add support for
ExpiresAt
onFile
- #1163 Add support for
AmountDetails
on IssuingAuthorization
andTransaction
- #1160 Add support for
BankName
onChargePaymentMethodDetailsAcssDebit
- #1156 Re-enable HTTP/2 on the default HTTP client for Go 1.15+
- #1148 Make original list object accessible on iterators
- This change is technically breaking in that an exported type,
stripe.Query
, changes fromtype Query func(*Params, *form.Values) ([]interface{}, ListMeta, error)
totype Query func(*Params, *form.Values) ([]interface{}, ListContainer, error)
. We've opted to ship this as a minor version anyway because although exported,Query
is meant for internal use in other stripe-go packages and the vast majority of users are unlikely to be referencing it. If you are, please refer to the diff in #1148 for how to update callsites accordingly. If you think there is a major use ofQuery
that we've likely overlooked, please open an issue.
- This change is technically breaking in that an exported type,
- #1154 Add support for Alipay on
PaymentMethod
andPaymentIntent
- #1150 Add support for the PromotionCode resource and APIs
- #1152 Add support for
AccountType
inChargePaymentMethodDetailsCardPresentReceipt
- #1136 Add support for multiple coupons on Billing APIs
- Add support for arrays of expandable API resources otherwise returning an array of strings by default
- Add custom deserialization to
Discount
to support expansion of the object - Add support for
Id
,Invoice
andInvoiceItem
onDiscount
. - Add support for
Discounts
onInvoice
,InvoiceItem
andInvoiceLineItem
- Add support for
DiscountAmounts
onCreditNote
,CreditNoteLineItem
,InvoiceLineItem
- Add support for
TotalDiscountAmounts
onInvoice
- Add
Object
toInvoice
,InvoiceLine
,Discount
andCoupon
- #1142 Bug fix: Copy the JSON data of ephemeral keys to own buffer
- #1145 Fix
ApplicationFeePercent
onSubscriptionSchedule
to support floats
- #1144 Add support for
FPXPayments
as a property onAccountCapabilities
- #1143 Add support for
FPXPayments
as aCapability
onAccount
create and update
- #1140 Add support for
CartesBancairesPayments
as aCapability
- #1138 Add support for
Capabilities
onAccount
create and update
- #1137 Add support for
Title
on SigmaScheduledQueryRun
- #1135 Add support for
PoliticalExposure
onPerson
- #1132 Add support for
AmountTotal
,AmountSubtotal
,Currency
andTotalDetails
on CheckoutSession
- #1131 Add
billing_cycle_anchor
todefault_settings
andphases
forSubscriptionSchedules
- #1127 Add
FilePurposeDocumentProviderIdentityDocument
onFile
- #1126 Add support for
Discounts
onLineItem
- #1124 Add support for
RefreshURL
andReturnURL
onAccountLink
- #1090 Add support for
PaymentMethodData
onPaymentIntent
- #1123 Attach LastResponse after unmarshaling
- #1122 Add support for
Transaction
on IssuingDispute
- #1121 Add
Mandate
,InstitutionNumber
andTransitNumber
toChargePaymentMethodDetailsAcssDebit
- #1120 Add support for Cartes Bancaires payments on
PaymentIntent
andPaymentMethod
- #1119 Add support for
TaxIDTypeIDNPWP
andTaxIDTypeMYFRP
onTaxId
- #1118 Add missing information for BACS Debit in
PaymentMethod
- #1117 Add
PaymentMethodIdealParams
toPaymentMethodParams
- #1116 Clean up the error deserialization and ensure
DeclineCode
is properly set.
- #1113 Add support for
TransferGroup
on CheckoutSession
- #1110 Add support for reading SEPA and BACS debit settings on
Account
- #1111 Add support for Bancontact, EPS, Giropay and P24 on
PaymentMethod
- #1112 Add support for BACS Debit as a
Capability
onAccount
- #1109 Add support for BACS Debit as a
PaymentMethod
- #1108 Add
Metadata
andObject
onTopup
- #1106 Add support for
ProductData
onLineItems
for CheckoutSession
- #1105 Add
AuthenticationFlow
toChargePaymentMethodDetailsCardThreeDSecure
- #1104 Add support for
TaxIDTypeAETRN
,TaxIDTypeCLTIN
andTaxIDTypeSAVAT
onTaxId
- #1103 Add support for
Result
andResultReason
onChargePaymentMethodDetailsCardThreeDSecure
- #1101 Multiple API Changes
- Add
BalanceTransactionTypeAnticipationRepayment
as aType
onBalanceTransaction
- Add
PaymentMethodTypeInteracPresent
as aType
onPaymentMethod
- Add
ChargePaymentMethodDetailsInteracPresent
onCharge
- Add
TransferData
onSubscriptionSchedule
- Add
- #1099 Multiple API changes
- Add
issuing_dispute
as atype
onBalanceTransaction
- Add
BalanceTransactions
as a a list ofBalanceTransaction
on IssuingDispute
- Add
Fingerprint
andTransactionId
inChargePaymentMethodDetailsAlipay
onCharge
- Add
Amount
inInvoiceTransferData
andInvoiceTransferDataParams
onInvoice
- Add
AmountPercent
inSubscriptionTransferData
andSubscriptionTransferDataParams
onSubscription
- Add
- #1097 Fixing
LineItems
to beLineItemList
on CheckoutSession
- #1096 Add support for
PurchaseDetails
on IssuingTransaction
- #1091 Add support for the
LineItem
resource and APIs
- #1093 Add support for
Metadata
forPaymentIntentData
andSubscriptionData
on CheckoutSession
- #1095 Add
SupportAddress
inBusinessProfile
onAccount
creation and update - #1094 Fix parameters supported in
Recurring
forPriceData
across the API
- #1089 Add support for
Issuing
inBalance
- #1087 Add support for Brazilian tax ids on
TaxID
- #1085 Add
Object
onBankAccount
- #1065 Adding support for the
Price
resource and APIs
- #1083 Add support for
JCBPayments
andCardIssuing
as aCapability
- #1082 Add support for expandable
CVC
andNumber
on IssuingCard
- #1080 Remove spurious newline in logs
- #1079 Add support for
Coupon
when for subscriptions on Checkout
- #1078 Add missing error codes such as
ErrorCodeCardDeclinedRateLimitExceeded
- #1063 Add support for the
BillingPortal
namespace and theSession
API and resource
- #1076 Add
Deleted
onInvoice
- #1074 Add
CardholderName
toChargePaymentMethodDetailsCardPresent
onCharge
- #1075 Add new enum values for
AccountCompanyStructure
onAccount
Version 71 of stripe-go contains some major changes. Many of them are breaking, but only in minor ways. We've written a migration guide with more details to help with the upgrade.
- #1052 Remove all beta features from Issuing APIs
- #1054 Make API response accessible on returned API structs
- #1061 Start using Go Modules
- #1068 Multiple breaking API changes
PaymentIntent
is now expandable onCharge
Percentage
was removed as a filter when listingTaxRate
- Removed
RenewalInterval
onSubscriptionSchedule
- Removed
Country
andRoutingNumber
fromChargePaymentMethodDetailsAcssDebit
- #1069 Default number of network retries to 2
- #1070 Clean up logging for next major
- #1066 Add support for
SecondaryColor
onAccount
- #1062 Add
Description
onWebhookEndpoint
- #1060 Add support for
CancellationReason
on IssuingCard
- #1058 Add support for
TaxIDTypeSGGST
onTaxId
- #1057 Add missing properties on
Review
- #1056 Add
CalculatedStatementDescriptor
onCharge
- #1053 Add
AccountCapabilityCardIssuing
as aCapability
- #1050 Multiple API changes for Issuing
- Add support for
SpendingControls
onCard
andCardholder
- Add new values for
Reason
onAuthorization
- Add new value for
Type
onCardholder
- Add new value for
Service
onCard
- Mark many classes and other fields as deprecated for the next major
- Add support for
- #1049 Add support for
PauseCollection
onSubscription
- #1048 Add new capabilities for AU Becs Debit and tax reporting
- #1046 Add new fields to Issuing
Card
andAuthorization
- #1044 Multiple changes for Issuing APIs
- Rename
Speed
toService
on IssuingCard
- Rename
WalletProvider
toWallet
andAddressZipCheck
toAddressPostalCodeCheck
on IssuingAuthorization
- Mark
IsDefault
as deprecated on IssuingCardholder
- Rename
- #1043 Add support for
Shipping
andShippingAddressCollection
on CheckoutSession
- #1042 Add support for
ThreeDSecure
on IssuingAuthorization
- #1041 Add new reason values and
ExpiryCheck
for Issuing `authorization
- #1040 Add support for
Errors
inRequirements
onAccount
,Capability
andPerson
- #1039 Multiple API changes:
- Move to latest API version
2020-03-02
- Add support for
NextInvoiceSequence
onCustomer
- Move to latest API version
- #1038 Add
TaxIDTypeMYSST
forTaxId
- #1037 Add new enum values for
IssuingDisputeReason
- #1036 Add support for listing Checkout
Session
and passing tax rate information
- #1035 Add support for
ProrationBehavior
onSubscriptionSchedule
- #1034 Add support for
Timezone
onReportRun
- #1033 Make
Subscription
expandable onInvoice
- #1029 Add support for
Amount
inCheckoutSessionPaymentIntentDataTransferDataParams
- #1027 Add new constants for
TaxIDType
- #1028 Add support for
StatementDescriptorSuffix
on CheckoutSession
- #1026 Multiple changes on the
Balance
resource:- Add support for
ConnectReserved
- Add support for
SourceTypes
for a given type of balance. - Add support for FPX balance as a constant.
- Add support for
- #1024 Add
FilePurposeAdditionalVerification
andFilePurposeBusinessIcon
onFile
- #1018 Add support for
ErrorOnRequiresAction
onPaymentIntent
- #1023 Add support for
TaxIDTypeTHVAT
andTaxIDTypeTWVAT
onTaxId
- #1022 Add support for
Structure
onAccount
- #1021 Add support for
TaxIDTypeESCIF
onTaxId
- #1019 Add support for
Shipping.Speed
andShipping.TrackingURL
onIssuingCard
- #1017 Add new values for
TaxIDType
and fixTaxIDTypeCHVAT
- #1015 Replace duplicate code in GetBackend method
- #1014 Add
Metadata
support on CheckoutSession
- #1012 Adds
PendingUpdate
toSubscription
- #1013 Add support for
CreditNoteLineItem
- #1011 Add support for
InvoiceItem
and fixLivemode
onInvoiceLine
- #1008 Add
ReportingCategory
toBalanceTransaction
- #1009 Add constant for
TaxIDTypeSGUEN
onTaxId
- #1007 Add support for
SpendingLimitsCurrency
on IssuingCard
andCardholder
- #1006 Adds
ExecutivesProvided
toAccount
- #1005 Add
Metadata
andLivemode
to TerminalReader
and `Location'
- #1002 Add support for AU BECS Debit on PaymentMethod
- #1001 Add support for
Network
onCharge
- #1000 Multiple breaking changes:
- Pin to API version
2019-12-03
- Rename
InvoiceBillingStatus
toInvoiceStatus
for consistency - Remove typo-ed field
OutOfBankdAmount
onCreditNote
- Remove deprecated
PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
andSetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
fromPaymentIntent
andSetupIntent
. - Remove
OperatorAccount
onTerminalLocationListParams
- Pin to API version
- #999 Add support for
Status
filter when listingInvoice
s.
- #997 Add new refund reason
RefundReasonExpiredUncapturedCharge
- #998 Add support for
CreditNote
preview
- #994 Support for the
now
onStartDate
on Subscription Schedule creation
- #993 Add
PaymentIntent
filter when listingDispute
s
- #991 Add missing constant for PaymentMethod of type FPX
- #989 Add support for
ViolatedAuthorizationControls
on IssuingAuthorization
- #988 Add
Company
andIndividual
to IssuingCardholder
- #985 Multiple API changes
- Add
Disputed
toCharge
- Add
PaymentIntent
toRefund
andDispute
- Add
Charge
toDisputeListParams
- Add
PaymentIntent
toRefundListParams
andRefundParams
- Add
- #986 Add support for iDEAL and SEPA debit on
PaymentMethod
- #987 Move to the latest API version and add new changes
- Move to API version
2019-11-05
- Add
DefaultSettings
onSubscritionSchedule
- Remove
BillingThresholds
,CollectionMethod
,DefaultPaymentMethod
andDefaultSource
andinvoice_settings
fromSubscriptionSchedule
OffSession
onPaymentIntent
is now always a boolean
- Move to API version
- #984 Add support for
UseStripeSDK
onPaymentIntent
create and confirm
- #978 Properly pass
Type
inPaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams
- Note that this is technically a breaking change, however we've chosen to release it as a patch version as this shipped yesterday and is a new feature
- #977 Contributor Convenant
- #974 Add support for installments on
PaymentIntent
andCharge
- #975 Add support for
PendingInvoiceItemInterval
onSubscription
- #976 Add
TaxIDTypeMXRFC
constant toTaxIDType
- #973 Multiple breaking changes
- Pin to the latest API version
2019-10-17
- Remove
RenewalBehavior
onSubscriptionSchedule
- Remove
RenewalBehavior
andRenewalInterval
as parameters onSubscriptionSchedule
- Pin to the latest API version
- #972 Various API changes
Requirements
on IssuingCardholder
PaymentMethodDetails.AuBecsDebit.Mandate
onCharge
PaymentBehavior
onSubscription
creation can now take the valuepending_if_incomplete
PaymentBehavior
onSubscriptionItem
creation is now supportedSubscriptionData.TrialFromPlan
is now supported on CheckoutSession
creation- New values for
TaxIDType
- #970 Properly deserialize
Fulfilled
onStatusTransitions
in theorder
package
- #969 Add
DeviceType
filter when listing TerminalReader
s
- #951 Move to API version
2019-10-08
and other changes- #950 Remove lossy "MarshalJSON" implementations
- #962 Removed deprecated properties and most todos
- Removed
GetBalanceTransaction
andList
from thebalance
package. Prefer usingGet
andList
in thebalancetransaction
package. - Removed
ApplicationFee
from thecharge
andpaymentintent
packages. Prefer usingApplicationFeeAmount
. - Removed
TaxInfo
and related fields from thecustomer
packager. Prefer using thecustomertaxid
package. - Removed unsupported
Customer
parameter onPaymentMethodParams
andPaymentMethodDetachParams
in thepaymentmethod
package. - Removed
Billing
properties in theinvoice
,sub
andsubschedule
packages. Prefer usingCollectionMethod
. - Removed the
InvoiceBilling
type from theinvoice
package. Prefer usingInvoiceCollectionMethod
. - Removed the
SubscriptionBilling
type from thesub
package. Prefer usingSubscriptionCollectionMethod
. - Removed deprecated constants for
PaymentIntentConfirmationMethod
inpaymentintent
package. - Removed
OperatorAccount
from Terminal APIs.
- Removed
- #960 Remove
issuerfraudrecord
package. Prefer usingearlyfraudwarning
- #968 Rename
AccountOpener
toRepresentative
and update to latest API version
- #967 Add
Get
method toOrderReturn
#968 Update to latest API version2019-10-08
- Note: This release is actually a no-op as we failed to merge the changes. Please use 65.0.0 instead.
- #952 Add AU BECS Debit Support
- #964 Add support for
Status
andLocation
filters when listingReader
s
- #963 Update
SourceSourceOrder
Items
field to fix unmarshalling errors
- #961 Properly tag
Customer
as deprecated inPaymentMethodDetachParams
- #954 Add support for
Stripe-Should-Retry
header
- #949 Add support for
DeclineCode
onError
top-level
- #947 Bump API version to
2019-09-09
- #945 Changes to
Account
andPerson
to represent identity verification state
- #943 Add support for
Authentication
andURL
on IssuingAuthorization
- #939 Also log error in case of non-
stripe.Error
- #938 Rearrange error logging so that 402 doesn't log an error
- #937 Add support for
EndBehavior
onSubscriptionSchedule
- #935 Retry requests on a 429 that's a lock timeout
- #934 Add support for
SubscriptionBillingCycleAnchorNow
andSubscriptionBillingCycleAnchorUnchanged
onInvoice
- #933 Add
PendingVerification
onAccount
,Person
andCapability
- #930 Add
FailureReason
toRefund
- #926 Add support for decimal amounts on Billing resources
- #928 Bring retry code in-line with current best practices
- #922 A few Billing changes
- Add
Schedule
toSubscription
- Add missing parameters for the Upcoming Invoice API:
Schedule
,SubscriptionCancelAt
,SubscriptionCancelNow
- Add missing properties and parameters for a
SubscriptionSchedule
phase:BillingThresholds
,CollectionMethod
,DefaultPaymentMethod
,InvoiceSettings
- Add
- #923 Add support for
Mode
on CheckoutSession
- #921 Mark
Customer
as an invalid parameter on PaymentMethod creation
- #918 Fix
RadarEarlyFraudWarnings
to use the proper API endpoint
- #916
- Add support for
PIN
on IssuingCard
to reflect the status of a card's PIN - Add support for
Executive
on Person create, update and list
- Add support for
- #915 Move to API version
2019-08-14
and other changes- Pin to API version
2019-08-14
- Rename
AccountCapabilityPlatformPayments
toAccountCapabilityTransfers
- Add
Executive
inPersonRelationship
- Remove
PayentMethodOptions
as there was a typo which was fixed - Make
OffSession
only support booleans onPaymentIntent
- Remove
PaymentIntentLastPaymentError
and useError
instead - Move
DeclineCode
onError
to theDeclineCode
type instead ofstring
- Pin to API version
- #914 Update webhook handler example to use
http.MaxBytesReader
- #913 Remove
SubscriptionScheduleRevision
- Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.
- #911
- Add support for
PaymentMethodDetails.Card.Moto
onCharge
- Add support
StatementDescriptorSuffix
onCharge
andPaymentIntent
- Add support
SubscriptionData.ApplicationFeePercent
on CheckoutSession
- Add support for
- #910 Add
balancetransaction
package with aGet
andList
methods
- #906 Add decline code type and constants (for use with card errors)
- #879 Add support for OAuth API endpoints
- #909 Rename
PayentMethodOptions
toPaymentMethodOptions
onPaymentIntent
andSetupIntent
. Keep the old name until the next major version for backwards-compatibility
- #904 Add support for Klarna and source orders
- #897 Add all missing error codes
- #903 Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed)
- #905 Add missing
Authenticated
field for 3DS charges
- #902 Add support for
StatementDescriptor
when capturing aPaymentIntent
- #898 Add
Customer
filter when listingCreditNote
- #899 Add
OffSession
parameter when updatingSubscriptionItem
- #895 Add
VoidedAt
onCreditNote
- #894 Introduce encoding for high precision decimal fields
- #893
- Add support for
PaymentMethodOptions
onPaymentIntent
andSetupIntent
- Add missing parameters to
PaymentIntentConfirmParams
- Add support for
- #891 Various changes relaed to SCA for Billing
- Add support for
PendingSetupIntent
onSubscription
- Add support for
PaymentBehavior
onSubscription
creation and update - Add support for
PaymentBehavior
onSubscriptionItem
update - Add support for
OffSession
when paying anInvoice
- Add support for
OffSession
onSubscription
creation and update
- Add support for
- #888 Add support for
SetupFutureUsage
onPaymentIntent
update and confirm - #890 Add support for
SetupFutureUsage
on CheckoutSession
- #887 Allow
OffSession
to be a bool onPaymentIntent
creation and confirmation
- #886 Add
CardVerificationUnavailable
constant value
- #884 Add support for the
SetupIntent
resource and APIs - #885 Quick fix to the
NextAction
property onSetupIntent
- #882 Add
DefaultPaymentMethod
andDefaultSource
toSubscriptionSchedule
- Note: This release was deleted after we merged some bad code. Please use 61.9.0 instead.
- #881 Documentation fixes
- #880
- Add support for
CollectionMethod
onInvoice
,Subscription
andSubscriptionSchedule
- Add support for
UnifiedProration
onInvoiceLine
- Add support for
- #878 Enable request latency telemetry by default
- #877 Add
CancellationReason
toPaymentIntent
- #874 Log only to info on 402 errors from Stripe
- #870 Add support for
MerchantAmount
MerchantCurrency
to IssuingTransaction
- #871 Add support for
SubmitType
to CheckoutSession
- #867 Add support for
Location
on TerminalConnectionToken
- #868 Add support for
Balance
and deprecateAccountBalance
on Customer
- #865 Fix
earlyfraudwarning
client
- #864 Pin library to API version
2019-05-16
- #862 Add support for
radar.early_fraud_warning
resource
- #861 Add new tax ID types:
TaxIDTypeINGST
andTaxIDTypeNOVAT
- #860 Add
OffSession
parameter to payment intents
- #859 Add missing
InvoiceSettings
toCustomer
- #855 Add support for the capability resource and APIs
- #858 Add
StartDate
toSubscription
- #857 Fix invoice's
PaymentIntent
so its JSON tag uses API snakecase
- #853 Add paymentmethod package to the clients list
- #850
OperatorAccount
is now deprecated across all Terminal endpoints - #851 Add
Customer
on theSource
object
- #843 Lock mutex while in
SetBackends
- #848 Fix
Items
onCheckoutSessionSubscriptionDataParams
to be a slice
- #846 Add support for the
PaymentIntent
filter onChargeListParams
- #841 Add support for the
Customer
filter onPaymentIntentListParams
- #842 Add support for replacing another Issuing
Card
on creation
- #839 Add support for ACSS Debit in
PaymentMethodDetails
onCharge
- #840 Add support for
FileLinkData
onFile
creation
- #828 Add support for the
TaxRate
resource and APIs
- #834 Add support for the
TaxId
resource and APIs
- #823 Add support for the
CreditNote
resource and APIs - #829 Add support for
Address
,Name
,Phone
andPreferredLocales
onCustomer
and related fields onInvoice
- #837 Add helpers to go from
[]T
to[]*T
forstring
,int64
,float64
,bool
- #836 Fix
SpendingLimits
onAuthorizationControlsParams
andAuthorizationControls
to be a slice on IssuingCard
andCardholder
- #740 Add support for the Checkout
Session
resource and APIs - #832 Add support for
version
andsucceeded
properties in thepayment_method_details[card][three_d_secure]
hash forCharge
. - #835 Add support for passing
payment_method
onCustomer
creation
- #833 Add more context when failing to unmarshal JSON
- #831 Add support for
authorization_controls
onCardholder
andauthorization_controls[spending_limits]
added toCard
too for Issuing resources
- #827 Add support for
confirmation_method
onPaymentIntent
creation
- #824 Add support for
PaymentIntent
andPaymentMethod
onCustomer
,Subscription
andInvoice
.
- #825 Fix the API for usage record summary listing
- #820 Add various missing parameters
- On
PIIParams
the previousPersonalIDNumber
is fixed toIDNumber
which we're releasing as a minor breaking change even though the old version probably didn't work correctly
- On
- #819 Add default level prefixes in messages from
LeveledLogger
- #818 Implement leveled logging (very minor breaking change -- only a couple properties were removed from the internal
BackendImplementation
)
- #815 Add support for passing token on account or person creation
- #811 Add support for API version 2019-03-14
- #814 Properly override API version if it's set in the request
- #806 Add support for the
PaymentMethod
resource and APIs - #812 Add support for deleting a Terminal
Location
andReader
- #810 Add support for
columns
onReportRun
anddefault_columns
onReportType
.
- #808 Add support for
backdate_start_date
andcancel_at
onSubscription
.
- #807 Add support for
current_period_end
andcurrent_period_start
filters when listingInvoice
.
- #798 Properly support serialization of
Event
.
- #803 Add support for
api_version
onWebhookEndpoint
.
- #795 Add support for
created
andstatus_transitions
onInvoice
- #802 Add support for
latest_invoice
onSubscription
- #800 Add
UsageRecordSummaries
to the list of clients.
- #796 Correct
InvoiceItems
inInvoiceParams
to be a slice of structs instead of a struct (this is technically a breaking change, but the previous implementation was non-functional, so we're releasing it as a minor version)
- #794 Properly pin to API version
2019-02-19
. The previous major version incorrectly stayed on API version2019-02-11
which prevented requests to manage Connected accounts from working and charges to have the new statement descriptor behavior.
Important: This version is non-functional and has been yanked in favor of 57.0.1.
- #782 Changes related to the new API version
2019-02-19
:- The library is now pinned to API version
2019-02-19
- Numerous changes to the
Account
resource and APIs:- The
legal_entity
property on the Account API resource has been replaced withindividual
,company
, andbusiness_type
- The
verification
hash has been replaced with arequirements
hash - Multiple top-level properties were moved to the
settings
hash - The
keys
property onAccount
has been removed. Platforms should authenticate as their connected accounts with their own key via theStripe-Account
header
- The
- The
requested_capabilities
property onAccount
creation is now required for accounts in the US - The deprecated parameter
save_source_to_customer
onPaymentIntent
has now been removed. Usesave_payment_method
instead
- The library is now pinned to API version
- #737 Add support for setting
request_capabilities
and retrievingcapabilities
onAccount
- #793 Add support for
save_payment_method
onPaymentIntent
- #785 Changes to the Payment Intent APIs for the next API version
- #789 Allow API arrays to be emptied by setting an empty array
- #764 Add support for
transfer_data[destination]
onInvoice
andSubscription
- #784
- Add support for
SubscriptionSchedule
andSubscriptionScheduleRevision
- Add support for
payment_method_types
onPaymentIntent
- Add support for
- #787 Add support for
transfer_data[amount]
onCharge
- #765 Add support for
destination_payment_refund
andsource_refund
on theReversal
resource
- #779 Add support for
receipt_url
onCharge
- #766 Add optional support for sending request telemetry to Stripe
- #776 Add support for billing thresholds
- #769 Add field
Amount
toIssuingTransaction
- #763 Add
application_fee_amount
toCharge
and on charge create and capture params
- #738 Add support for the account link resource
- #762 Add support for new invoice items parameters when retrieving an upcoming invoice
- #744 Add support for
transfer_data[destination]
on Charge struct and params - #746 Add support for
wallet_provider
on the Issuing Authorization
- #745 Add support for
pending
parameter when listing invoice items
- #742 Add field
FraudType
toIssuerFraudRecord
- #741 Add missing parameters
InvoiceNow
andProrate
for subscription cancellation
- #743 Add support for
clear_usage
onSubscriptionItem
deletion
- #739 Use
ApplicationFee
struct forFeeRefund.Fee
(minor breaking change)
- #734 Put
/v1/
prefix as part of all paths instead of URL
- #733 Fix malformed URL generated for the uploads API when using
NewBackends
- #721 Add support for
RadarValueList
andRadarValueListItem
- #721 Remove
Closed
andForgiven
fromInvoiceParams
- #721 Add
PaidOutOfBand
toInvoicePayParams
- #728 Add
IssuingCard
toEphemeralKeyParams
- #727 Add support for
TransferData
on payment intent create and update
- #725 Improved error deserialization
- #723 Add support for
last_payment_error
onPaymentIntent
. - #724 Add support for
transfer_data[destination]
onPaymentIntent
.
- #714 Fix bug in retry logic that would cause the client to panic
- #716 Drop support for Go 1.8.
- #715 Ship changes to the
PaymentIntent
resource to match the final layout. - #717 Add support for
flat_amount
onPlan
tiers. - #718 Add support for
supported_transfer_countries
onCountrySpec
. - #720 Add support for
review
onPaymentIntent
. - #707 Add new invoice methods and fixes to the Issuing Cardholder resource (multiple breaking changes)
- Move to API version 2018-11-08.
- Add support for new API methods, properties and parameters for
Invoice
. - Add support for
default_source
onSubscription
andInvoice
.
- #711 Set
Request.GetBody
when making requests - #711 Drop support for Go 1.7 (hasn't been supported by Go core since the release of Go 1.9 in August 2017)
- #708 Add Stripe Terminal endpoints to master to
client.API
- #704 Add support for
subscription_cancel_at_period_end
on the Upcoming Invoice API.
- #702 Add support for
delivery_success
filter when listing Events.
- #700 Add support for
on_behalf_of
on Subscription and Charge resources.
- #698 Move to API version 2018-09-24
- Rename
FileUpload
toFile
(and allFileUpload*
structs toFile*
) - Fix file links client
- Rename
- #695 Rename
Transaction
toDisputedTransaction
inIssuingDisputeParams
(minor breaking change) - #695 Add support for Stripe Terminal
- #697 Fix
number
JSON tag on theIssuingCardDetails
resource.
- #694 Add
ErrorCodeResourceMissing
error code constant
- #693 Change
Product
underPlan
from a string to a fullProduct
struct pointer (this is a minor breaking change -- upgrade by changing toplan.Product.ID
)
- #691 Add
InvoicePrefix
toCustomer
andCustomerParams
- #690 Add support for reporting resources
- #683 Add
StatusTransitions
filter parameters toOrderListParams
- #681 Handle deserialization of
OrderItem
parent into an object if expanded (minor breaking change)
- New major version for better compatibility with Go's new module system (no breaking changes)
- #688 Encode
Params
inAppendToAsSourceOrExternalAccount
(bug fix) - #689 Add
go.mod
for the new module system
- #686 Add
Mandate
andReceiver
toSourceObjectParams
and changeDate
onSourceMandateAcceptance
toint64
(minor breaking change)
- #680 Change
SubscriptionTaxPercent
onInvoice
fromint64
tofloat64
(minor breaking change)
- #678 Allow payment intent capture to take its own parameters
- #675 Fix incorrectly encoded parameter in
UsageRecordSummaryListParams
- #668 Move to API version 2018-08-23
- Add
TaxInfo
andTaxInfoVerification
toCustomer
- Rename
Amount
toUnitAmount
onPlanTierParams
- Remove
BusinessVATID
fromCustomer
- Remove
AtPeriodEnd
fromSubscriptionCancelParams
- Add
- #667 Add
Forgive
toInvoicePayParams
- #666 Add
Subscription
toSubscriptionItem
- #664 Add
AvailablePayoutMethods
toCard
- #663 Add support for usage record summaries and rename
Live
onIssuerFraudRecord,
SourceTransaction, and
UsageRecordto
Livemode` (a minor breaking change)
- #659 Remove mutating Bitcoin receiver API calls (these were no longer functional anyway)
- #661 Correct
IssuingCardShipping
's type toint64
- #662 Rename
IssuingCardShipping
'sEta
toETA
- #657 Use integer-indexed encoding for all arrays
- #656 Expose new
ValidatePayload
functions for validating incoming payloads without constructing an event
- #652 Change the type of
FileUpload.Links
toFileLinkList
(this is a bug fix given that the previous type would never have worked)
- #653 All
BackendImplementation
s should sleep by default on retries
- #648 Introduce buffers so a request's body can be read multiple times (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
- #649 Rename
BackendConfiguration
toBackendImplementation
(likewise, technically breaking, but minor) - #650 Export
webhook.ComputeSignature
- #646 Set request body before every retry (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users)
- #643 Bug fix and various code/logging improvements to retry code
- #641 Minor breaking changes to correct a few naming inconsistencies:
IdentityVerificationDetailsCodeScanIdCountryNotSupported
becomesIdentityVerificationDetailsCodeScanIDCountryNotSupported
IdentityVerificationDetailsCodeScanIdTypeNotSupported
becomesIdentityVerificationDetailsCodeScanIDTypeNotSupported
BitcoinUri
onBitcoinReceiver
becomesBitcoinURI
NetworkId
onIssuingAuthorization
becomesNetworkID
- #637 Add support for Sigma scheduled query runs
- #639 Move to API version
2018-07-27
(breaking)- Remove
SKUs
fromProduct
- Subscription creation and update can no longer take a source
- Change
PercentOff
on coupon struct and params from integer to float
- Remove
- #640 Add missing field
Created
toAccount
- #636 Add
RiskScore
toChargeOutcome
- #635 Add support for Stripe Issuing
- #633 Fix encoding of list params for bank accounts and cards
- #627 Wire an
http.Client
fromNewBackends
through to backends
- #624 Add
AutoAdvance
forInvoice
- #606 Add support for payment intents
- #623 Changed
Payout.Destination
fromstring
to*PayoutDestination
to support expanding (minor breaking change)
- #622 Correct position of
DeclineChargeOn
(it was added accidentally onLegalEntityParams
when it should have been onAccountParams
)
- #620 Add support for
Quantity
andUnitAmount
toInvoiceItemParams
andQuantity
toInvoiceItem
- #618 Add support for
DeclineChargeOn
toAccount
andAccountParams
- #616 Adding missing clients to the
API
struct including aUsageRecords
entry
- #611 Introduce
GetBackendWithConfig
and make logging configurable per backend
- #607 Add support for
PartnerID
fromstripe.SetAppInfo
- #604 Add extra parameters
CustomerReference
andShippingFromZip
toChargeLevel3Params
andChargeLevel3
- #603 Add support for Level III data on charge creation
- #601 Add missing parameters for retrieving an upcoming invoice
- #599 Add
ExchangeRate
toBalanceTransaction
- #596 Add
Type
toProductListParams
so that products can be listed by type
- #595 Add
Product
toPlanListParams
so that plans can be listed by product
- #592 Add
Name
field toCoupon
andCouponParams
- #557 Add automatic retries for intermittent errors (enabling using
BackendConfiguration.SetMaxNetworkRetries
) - #589 Fix all
Get
methods to support standardized parameter structs + remove some deprecated functionsIssuerFraudRecordListParams
now uses*string
forCharge
(set it usingstripe.String
like elsewhere)event.Get
now takesstripe.EventParams
instead ofParams
for consistency- The
Get
method forcountryspec
,exchangerate
,issuerfraudrecord
now take an extra params struct parameter to be consistent and allow setting a connected account (usestripe.CountrySpecParams
,stripe.ExchangeRateParams
, andIssuerFraudRecordParams
) charge.MarkFraudulent
andcharge.MarkSafe
have been removed; usecharge.Update
insteadcharge.CloseDispute
andcharge.UpdateDispute
have been removed; usedispute.Update
ordispute.Close
insteadloginlink.New
now properly passes its params struct into its API call
- #587 Use
net/http
constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior)
- #581 Push parameter encoding into
BackendConfiguration.Call
(this is an internal cleanup and should not affect library behavior)
- #586 Add
AmountPaid
,AmountRemaining
,BillingReason
(including newInvoiceBillingReason
and constants), andSubscriptionProrationDate
toInvoice
- #585 Remove
File
in favor ofFileUpload
, and consolidating both classes which were already nearly identical exceptMIMEType
has been replaced byType
(this is technically a breaking change, but quite a small one)
- #578 Improve expansion parsing by not discarding unmarshal errors
- #583 Add new account constants, rename one, and fix
DueBy
(this is technically a breaking change, but quite a small one)
- #582 Fix unmarshaling of
LegalEntity
(specifically when we havelegal_entity[additional_owners][][verification]
) so that it comes out as a struct
- #577 Add
DocumentBack
to account legal entity identity verification parameters and response
- #576 Fix plan transform usage to use
BucketSize
instead ofDivideBy
; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work
- #571 Add
HostedInvoiceURL
andInvoicePDF
toInvoice
- #573 Add
FormatURLPath
helper to allow safer URL path building
- #572 Add
Active
to plan parameters and response
- #569 Fix unmarshaling of expanded transaction sources in balance transactions
- #544 MAJOR changes that make all fields on parameter structs pointers, and rename many fields on parameter and response structs to be consistent with naming in the REST API; we've written a migration guide with complete details to help with the upgrade
- #566 Support
DisputeParams
indispute.Close
- #562 Add
go.mod
for vgo support
- #558 Add
SubscriptionItem
toInvoiceLine
- #552 Add support for issuer fraud records
- #550 Append standard
Params
as well as card options when encodingCardParams
- #546 Add
SubParams.TrialFromPlan
andSubItemsParams.ClearUsage
- #543 Support listing orders by customer (add
Customer
toOrderListParams
)
- #541 Add
Mandate
onSource
(and associated mandate structs)
- #538 Introduce flexible billing primitives for subscriptions
- #535 Add constant for redirect status
not_required
(RedirectFlowStatusNotRequired
)
- #534 Add
AmountZero
toInvoiceItemParams
- #533 Make
DestPayment
underTransfer
expandable by changing it from a string to aCharge
- #530 Fix mixed up types in
CountrySpec.SupportedBankAccountCurrencies
- #527 Add
MaidenName
,PersonalIDNumber
,PersonalIDNumberProvided
fields toOwner
struct
- #525 Support shipping carrier and tracking number in orders
- #526 Fix ignored
commonParams
when returning an order
- #522 Bump API version and fix creating plans with a product
- #520 Add support for topups
WARNING: Please use 29.1.1 instead.
- #519 Correct the implementation of
PaymentSource.MarshalJSON
to also handle bank account sources
WARNING: Please use 29.1.1 instead.
- #518 Bump API version to 2018-02-06 and add support for Product & Plan API
- #517 Add
BillingCycleAnchor
toSub
andBillingCycleAnchorUnchanged
toSubParams
- #516 Add
AmountZero
toPlanParams
to it's possible to send zero values when creating or updating a plan
- #512 Encode empty values found in maps (like
Meta
)
- #509 Plumb through additional possible errors when unmarshaling polymorphic types (please test your integrations while upgrading)
- #506 Add support for recursing into slices in
event.GetObjValue
- #500 Support sharing for bank accounts and cards (adds
ID
field to bank account and charge parameters)
- #494 Add
Automatic
toPayout
struct
- #492 Correct name of user agent header used to send Go version to Stripe's API
- #491 Support for exchange rates APIs
- #488 Support for listing source transactions
- #486 Send the required
object=bank_account
parameter when adding a bank account through an account - #487 Make bank account's
account_holder_name
andaccount_holder_type
parameters truly optional
- #484 Error early when params not specified for card-related API calls
- #477 Support context on API requests with
Params.Context
andListParams.Context
- #479 Pass token in only one of
external_account
or source when appending card
- #476 Make initializing new backends concurrency-safe
- #359 Add support for verify sources (added
Values
onSourceVerifyParams
)
- #472 Add support for
statement_descriptor
in source objects - #473 Add support for detaching sources from customers
- #471 Add support for
RedirectFlow.FailureReason
for sources
- #468 Fix encoding of pointer-based scalars (e.g.
Active *bool
inProduct
) - #470 Fix concurrent race in
form
package's encoding caches
- #467 Change
Product.Get
to includeProductParams
for request metadata - #467 Fix sending extra parameters on product and SKU requests
- #465 Fix encoding of
CVC
parameter inCardParams
- #461 Fix encoding of
TypeData
under sources
- #458 Remove
ChargeParams.Token
(this seems like it was added accidentally)
- Introduce
form
package so it's no longer necessary to build conditional structures to encode parameters -- this may result in parameters that were set but previously not encoded to now be encoded so PLEASE TEST CAREFULLY WHEN UPGRADING! - Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used
- Switch to stripe-mock for testing (test suite now runs completely!)
- Remote Displayer interface and Display implementations
- Add
FraudDetails
toChargeParams
- Remove
FraudReport
fromChargeParams
(useFraudDetails
instead)
- Add
OnBehalfOf
to charge parameters. - Add
OnBehalfOf
to subscription parameters.
- Use bearer token authentication for API requests
- All
Del
methods now take params as second argument (which may benil
) - Product
Delete
has been renamed toDel
for consistency - Product
Delete
now returns(*Product, error)
for consistency - SKU
Delete
has been renamed toDel
for consistency - SKU
Delete
now returns(*SKU, error)
for consistency
- Add
FeeZero
to invoice andTaxPercentZero
to subscription for zeroing values
- Add "range queries" for supported parameters (e.g.
created[gte]=123
)
- Add metadata to subscription items
`Pay` on invoice now takes specific pay parameters
- Fix bank account retrieval when using a customer ID
- Support sharing path while creating a source
- Add LoginLinks to client list
plan.Del now takes `stripe.PlanParams` as a second argument
- Support for ephemeral keys
- Support for checking webhook signatures
- Fix returned type of subscription items list
- Note: I meant to release this as 22.3.1, but I'm leaving it as it was released
- Fix parameters for subscription items list
- Support subscription items when getting upcoming invoice
- Support setting subscription's quantity to zero when getting upcoming invoice
- Handle
deleted
parameter when updating subscription items in a subscription
- Change
Logger
to alog.Logger
-like interface so other loggers are usable
- Add support for login links
- Add support for new
Type
for accounts - Make
Event
Request
(renamed fromReq
) a struct with a new idempotency key - Rename
Event
UserID
toAccount
- Fix plan update so
TrialPeriod
parameter is sent
- Implement
Get
forRequestValues
- Pass extra parameters to API calls on bank account deletion
- Add
Billing
andDueDate
filters to invoice listing - Add
Billing
filter to subscription listing
- Add
DetailsCode
toIdentityVerification
- Send user agent information with
X-Stripe-Client-User-Agent
- Add
stripe.SetAppInfo
for plugin authors to register app information
- Allow coupon to be specified when creating orders
- No longer require that items have descriptions when creating orders
- Balances are now retrieved by payout instead of by transfer
- Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06
- Add support for payouts and recipient transfers
- Change the transfer resource to support its new format
- Deprecate recipient creation
- Disputes under charges are now expandable and collapsed by default
- Rules under charge outcomes are now expandable and collapsed by default
- Please see 20.0.0 (bad release)
- Allow the ID of an identity document to be passed into an account owner update
- Add
ShippingCarrier
to dispute evidence
- Add
Period
,Plan
, andQuantity
toInvoiceItem
- Add
AdditionalOwnersEmpty
to allow additional owners to be unset
- Add new form of file upload using
io.FileReader
and filename
- Add
Token
toSourceObjectParams
- Add
CouponEmpty
(allowing a coupon to be cleared) to customer parameters - Add
CouponEmpty
(allowing a coupon to be cleared) to subscription parameters
- Add missing value "all" to subscription statuses
- Add subscription items client to main
client.API
struct
- Add
Statement
(statement descriptor) toCaptureParams
- Add new parameters for invoices and subscriptions
- Add new rich
Destination
type toChargeParams
- Support Connect account as payment source
- Add transfer group to charges and transfers
- Add
Rule
toChargeOutcome
- Add support for updating sources
- Fix subscription
trial_period_days
to be populated by the right value
- Include verification document details when persisting
LegalEntity
- Remote
SubProrationDateNow
field fromInvoiceParams
- Truncate
tax_percent
at four decimals (e.g. 3.9750%) instead of two
- Add retrieve method for 3-D Secure resources
- Add
PaymentSource
toAPI
- Allow bank accounts to be created as a customer source
- Add
TrialPeriodEnd
toSubParams
- Add
StatusTransitions
toOrder
- Add
Application
toCharge
- Add
Review
toCharge
for the charge reviews
- Add
RiskLevel
toChargeOutcome
- Support for 403 status codes (permission denied)
- Add
Status
toSubListParams
to allow filtering subscriptions by status
- Add
HasEvidence
andPastDue
toEvidenceDetails
- Add
NoDiscountable
toInvoiceItemParams
- Add
BusinessLogo
toAccount
- Add
ReceiptNumber
toCharge
- Add
DestPayment
toTransfer
- Support for Apple Pay domains
- Support for subscription items
- Correct
SourceTx
onTransfer
to be aSourceTransaction
- Change
Charge
onResource
to be expandable (now a struct instead of string)
- Support customer-related operations for bank accounts
- Fix but where some parameters were not being included on order update
- Fix bug that required a date of birth to be included on account update
- Add missing Kana and Kanji address and name fields to account's legal entity
- Add
ReceiptNumber
andStatus
toRefund
- Add support for sources endpoint
- Add order returns to
API
- Add
DeactiveOn
toProduct
- Allow expansion of destination on transfers
- Allow expansion of sources on balance transactions
- Add
OriginatingTransaction
toFee
- Allow params to be nil when retrieving a refund
- Add support for 3-D Secure
- Add
ReceiptNumber
toInvoice
- Add
Meta
toAccount
- Allow the migration of recipients to accounts
- Add
MigratedTo
toRecipient
- URL-escape the IDs of coupons and plans when making API requests
- Add
NoClosed
toInvoiceParams
to allow an invoice to be reopened
- Consider
SubParams.QuantityZero
when updating a subscription
- Upgrade API version to 2016-07-06
- Add
Returns
field toOrder
- Remove
Name
field onSKU
; it's not actually supported - Support updating
Product
onSKU
- Allow product and SKU attributes to be updated
- Add
TaxPercent
andTaxPercentZero
toCustomerParams
- Add
TokenizationMethod
toCard
struct
- Add
BalanceZero
toCustomerParams
so that balance can be zeroed out
- Add
ToValues
toRequestValues
struct
- Add
BusinessVatID
to customer creation parameters
- Fix handling of nested objects in arrays in request parameters
- Add granular error types in new
Err
field onstripe.Error
- Allow Relay orders to be returned and add associated types
- When creating a bank account token, only send routing number if it's been set
- When creating a bank account, only send routing number if it's been set
- Add missing SKU clinet to client API type
- Add
Reversed
andAmountReversed
fields toTransfer
- Allow
default_for_currency
to be set when creating a card
- Change the signature for
sub.Delete
. The customer ID is no longer required.
- Add
Currency
toCard
- Fix bug where new external accounts could not be marked default from token
- Expose a number of list types that were previously internal (full list below)
- Expose
stripe.AccountList
- Expose
stripe.TransactionList
- Expose
stripe.BitcoinReceiverList
- Expose
stripe.ChargeList
- Expose
stripe.CountrySpecList
- Expose
stripe.CouponList
- Expose
stripe.CustomerList
- Expose
stripe.DisputeList
- Expose
stripe.EventList
- Expose
stripe.FeeList
- Expose
stripe.FileUploadList
- Expose
stripe.InvoiceList
- Expose
stripe.OrderList
- Expose
stripe.ProductList
- Expose
stripe.RecipientList
- Expose
stripe.TransferList
- Switch to use of
stripe.BitcoinTransactionList
- Switch to use of
stripe.SKUList
- Add support for
TaxPercentZero
to invoice and subscription updates
- Expose
stripe.PlanList
(previously an internal type)
- Add
TaxPercentZero
struct toInvoiceParams
- Add
TaxPercentZero
toSubParams
- Add
Outcome
struct toCharge
- Add
Description
,IIN
, andIssuer
toCard
- Add
SourceType
(and associated constants) toTransfer
- Add
Meta
(metadata) toBankAccount
- Add
Meta
(metadata) toCard
- Add
DefaultCurrency
toCountrySpec
- Add
SourceTransfer
toCharge
- Add
SourceTx
toTransfer
- Add
Reject
onAccount
to support the new API feature
- Upgrade API version to 2016-03-07
- Remove
Account.BankAccounts
in favor ofExternalAccounts
- Remove
Account.Currencies
in favor ofCountrySpec
- Add
ListParams.StripeAccount
for making list calls on behalf of connected accounts - Add
Params.StripeAccount
for symmetry withListParams.StripeAccount
- Deprecate
Params.Account
in favor ofParams.StripeAccount
- Add support for fetching events for managed accounts (
event.Get
now takesParams
)
- Allow a
PII.PersonalIDNumber
number to be used to create a token
- Add missing subscription fields to
InvoiceParams
for use withinvoice.GetNext
- Add
AccountHolderName
andAccountHolderType
to bank accounts
- Add support for
CountrySpec
- Add
SSNProvided
,PersonalIDProvided
andBusinessTaxIDProvided
toLegalEntity
- Fix card update method to correctly take expiration date
- Fix recipient update so that it can take a bank token (like create)
- Add missing field
country
to shipping details ofCharge
andCustomer
- Add missing field
Default
toBankAccount
- Add
OrderParams
parameter toOrder
retrieval - Fix parameter bug when creating a new
Order
- Support special value of 'now' for trial end when updating subscriptions
- Allow an account to be referenced when creating a card
- Add
Update
function onCoupon
client so that metadata can be set
- Add a verification routine for external accounts
- Return models along with
error
when deleting resources withDel
- Fix bug where country parameter wasn't included for some account creation
- Return model (
Sub
) when cancelling a subscription (sub.Cancel
)
- Add ability to list and retrieve refunds without a Charge
- Add ability to list and retrieve disputes
- Add ability to delete an account
- Bug fixes
- Expand logging object
- Move proration date to subscription update
- Send country when creating/updating account
- Add request ID to errors
- Update bank account creation API
- Add destination, application fee, transfer to Charge struct
- Add missing fields to invoice line item
- Rename deprecated customer param value
- Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and
- SupportUrl to Account.
- Change card.dynamic_last_four to card.dynamic_last4
- Rename customer.default_card -> default_source
- Add shipping address to charges
- Expose card.dynamic_last_four
- Expose account.tos_acceptance
- Bug fixes
- Bump API version to most recent one
- Bug fixes
- Add Extra to parameters
- Add TaxPercent for subscriptions
- Event bug fixes
- Add more operations for /accounts endpoint
- Add /transfers/reversals endpoint
- Add /accounts/bank_accounts endpoint
- Add support for Stripe-Account header
- Add new dispute status
warning_closed
- Add SubParams.TrialEndNow to support
trial_end = "now"
- Fix URL for upcoming invoices
- Bump to API version 2014-02-18
- Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects
- Add paymentsource package for manipulating Customer's sources
- Support Update action for Bitcoin Receivers
- Modify NewIdempotencyKey() algorithm to increase likelihood of randomness
- Add BankAccountParams.Token
- Add Token.ClientIP
- Add LogLevel
- Add Bitcoin support
- Added support for listing FileUploads
- Mime parameter on FileUpload has been changed to Type
- Handle charges with customer card tokens
- Add idempotency support
- Bump to API version 2014-12-17.
- Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces.
- This also adds support for multipart content.
- Add Charge.FraudDetails
- Add timeout value to HTTP requests
- Add Dispute.EvidenceDetails
- Remove Dispute.DueDate
- Change Dispute.Evidence from string to struct
- Change List interface to .Next() and .Resource()
- Better error messages for Get() methods
- EventData.Raw contains the raw event message
- SubParams.QuantityZero can be used for free subscriptions
- Add AddMeta method
- Minor fixes
- Linter-based updates
- Initial version