Releases: stripe/stripe-go
Releases · stripe/stripe-go
v82.5.0-beta.1
This release changes the pinned API version to 2025-07-30.preview
.
- #2083 Update generated code for beta
- Add support for new resources
BillingMeterUsageRow
,BillingMeterUsage
, andTerminalOnboardingLink
- Add support for
Get
method on resourceBillingMeterUsage
- Add support for
New
method on resourceTerminalOnboardingLink
- Add support for
MonthlyPayoutDays
andWeeklyPayoutDays
onBalanceSettingsPayoutsScheduleParams
andBalanceSettingsPayoutsSchedule
- Remove support for
MonthlyAnchor
andWeeklyAnchor
onBalanceSettingsPayoutsScheduleParams
andBalanceSettingsPayoutsSchedule
- Add support for
DelayDaysOverride
onBalanceSettingsSettlementTimingParams
- Remove support for
DelayDays
onBalanceSettingsSettlementTimingParams
- Add support for
UpdateDiscounts
onCheckoutSessionPermissionsParams
- Add support for
Discounts
andSubscriptionData
onCheckoutSessionParams
- Add support for
SmartDisputes
onDispute
- Add support for
Upi
onInvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptions
,QuotePreviewInvoicePaymentSettingsPaymentMethodOptions
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptions
- Add support for new value
upi
on enumsInvoicePaymentSettings.PaymentMethodTypes
,QuotePreviewInvoicePaymentSettings.PaymentMethodTypes
, andSubscriptionPaymentSettings.PaymentMethodTypes
- Add support for
TransactionID
onPaymentAttemptRecordPaymentMethodDetailsCashapp
andPaymentRecordPaymentMethodDetailsCashapp
- Add support for
AmountDetails
onPaymentIntentCaptureParams
,PaymentIntentConfirmParams
,PaymentIntentIncrementAuthorizationParams
, andPaymentIntentParams
- Add support for
PaymentDetails
onPaymentIntentIncrementAuthorizationParams
- Add support for
Storer
onV2CoreAccountIdentityAttestationsTermsOfServiceParams
andV2CoreAccountIdentityAttestationsTermsOfService
- Add support for
CollectionOptions
onV2CoreAccountLinkUseCaseAccountOnboardingParams
,V2CoreAccountLinkUseCaseAccountOnboarding
,V2CoreAccountLinkUseCaseAccountUpdateParams
, andV2CoreAccountLinkUseCaseAccountUpdate
- Change type of
V2CoreAccountLinkUseCaseAccountOnboarding.Configurations
,V2CoreAccountLinkUseCaseAccountOnboardingParams.Configurations
,V2CoreAccountLinkUseCaseAccountUpdate.Configurations
, andV2CoreAccountLinkUseCaseAccountUpdateParams.Configurations
fromliteral('recipient')
toenum('customer'|'merchant'|'recipient'|'storer')
- Add support for
BankAccountType
onV2MoneyManagementPayoutMethodBankAccount
- Add support for thin event
V2CoreAccountLinkReturnedEvent
- Add support for thin event
V2MoneyManagementPayoutMethodUpdatedEvent
with related objectV2MoneyManagementPayoutMethod
- Remove support for thin event
V2CoreAccountLinkCompletedEvent
- Remove support for thin event
V2OffSessionPaymentRequiresCaptureEvent
with related objectV2PaymentsOffSessionPayment
- Add support for new resources
v82.4.0
This release changes the pinned API version to 2025-07-30.basil
.
- #2088 Update generated code
- Add support for
InstantPayoutsPromotion
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
AdjustableQuantity
onBillingPortalConfigurationFeaturesSubscriptionUpdateProductsParams
andBillingPortalConfigurationFeaturesSubscriptionUpdateProducts
- Remove support for value
disabled
from enumCapability.Status
- Add support for
TransactionID
onChargePaymentMethodDetailsCashapp
- Add support for
OriginContext
onCheckoutSessionParams
andCheckoutSession
- Add support for
Template
onCheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsParams
,CheckoutSessionInvoiceCreationInvoiceDataRenderingOptions
,PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsParams
, andPaymentLinkInvoiceCreationInvoiceDataRenderingOptions
- Add support for
SetupFutureUsage
onCheckoutSessionPaymentMethodOptionsPixParams
andCheckoutSessionPaymentMethodOptionsPix
- Add support for
Duration
onInvoiceCreatePreviewScheduleDetailsPhaseParams
andSubscriptionSchedulePhaseParams
- Change type of
InvoiceCreatePreviewSubscriptionDetailsParams.CancelAt
andSubscriptionParams.CancelAt
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
- Add support for
PriceData
onPaymentLinkLineItemParams
- Add support for
Standard
onTaxRegistrationCountryOptionsAeParams
,TaxRegistrationCountryOptionsAe
,TaxRegistrationCountryOptionsAlParams
,TaxRegistrationCountryOptionsAoParams
,TaxRegistrationCountryOptionsAuParams
,TaxRegistrationCountryOptionsAu
,TaxRegistrationCountryOptionsAwParams
,TaxRegistrationCountryOptionsBaParams
,TaxRegistrationCountryOptionsBbParams
,TaxRegistrationCountryOptionsBdParams
,TaxRegistrationCountryOptionsBfParams
,TaxRegistrationCountryOptionsBhParams
,TaxRegistrationCountryOptionsBsParams
,TaxRegistrationCountryOptionsCdParams
,TaxRegistrationCountryOptionsChParams
,TaxRegistrationCountryOptionsCh
,TaxRegistrationCountryOptionsEtParams
,TaxRegistrationCountryOptionsGbParams
,TaxRegistrationCountryOptionsGb
,TaxRegistrationCountryOptionsGnParams
,TaxRegistrationCountryOptionsIsParams
,TaxRegistrationCountryOptionsJpParams
,TaxRegistrationCountryOptionsJp
,TaxRegistrationCountryOptionsMeParams
,TaxRegistrationCountryOptionsMkParams
,TaxRegistrationCountryOptionsMrParams
,TaxRegistrationCountryOptionsNoParams
,TaxRegistrationCountryOptionsNo
,TaxRegistrationCountryOptionsNzParams
,TaxRegistrationCountryOptionsNz
,TaxRegistrationCountryOptionsOmParams
,TaxRegistrationCountryOptionsRsParams
,TaxRegistrationCountryOptionsSgParams
,TaxRegistrationCountryOptionsSg
,TaxRegistrationCountryOptionsSrParams
,TaxRegistrationCountryOptionsUyParams
,TaxRegistrationCountryOptionsZaParams
, andTaxRegistrationCountryOptionsZwParams
- Add support for new value
inbound_goods
on enumsTaxRegistrationCountryOptionsAtStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsBeStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsBgStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsCyStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsCzStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsDeStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsDkStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsEeStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsEsStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsFiStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsFrStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsGrStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsHrStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsHuStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsIeStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsItStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsLtStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsLuStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsLvStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsMtStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsNlStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsPlStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsPtStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsRoStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsSeStandard.PlaceOfSupplyScheme
,TaxRegistrationCountryOptionsSiStandard.PlaceOfSupplyScheme
, andTaxRegistrationCountryOptionsSkStandard.PlaceOfSupplyScheme
- Add support for
Aed
,Bgn
,Huf
, andRon
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for
- #2086 update changelog example to feature APIs that are not part of a preview
v82.4.0-beta.2
- #2084 Pull in V2 FinancialAccount changes for June release
- Add support for
Close
andNew
methods on resourceV2MoneyManagementFinancialAccount
- Add support for new value
storer
on enumV2CoreAccount.AppliedConfigurations
- Add support for
Storer
onV2CoreAccountConfigurationParams
andV2CoreAccountConfiguration
- Add support for new values
financial_addresses.bank_accounts
,holds_currencies.gbp
,inbound_transfers.financial_accounts
,outbound_payments.bank_accounts
,outbound_payments.cards
,outbound_payments.financial_accounts
,outbound_transfers.bank_accounts
, andoutbound_transfers.financial_accounts
on enumV2CoreAccountRequirementsEntriesImpactRestrictsCapabilities.Capability
- Add support for new value
storer
on enumV2CoreAccountRequirementsEntriesImpactRestrictsCapabilities.Configuration
- Add support for
StatusDetails
onV2MoneyManagementFinancialAccount
- Add support for
Status
onV2MoneyManagementFinancialAccountListParams
- Add support for thin events
V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent
andV2CoreAccountIncludingConfigurationStorerUpdatedEvent
with related objectV2CoreAccount
- Add support for error types
AlreadyExistsError
andNonZeroBalanceError
- Add support for
v82.4.0-beta.1
- #2069 Update generated code for beta
- Change type of
CheckoutSessionSubscriptionDataParams.BillingMode
,InvoiceCreatePreviewScheduleDetailsParams.BillingMode
,InvoiceCreatePreviewSubscriptionDetailsParams.BillingMode
,QuoteSubscriptionData.BillingMode
,QuoteSubscriptionDataParams.BillingMode
,SubscriptionParams.BillingMode
, andSubscriptionScheduleParams.BillingMode
fromenum('classic'|'flexible')
tobilling_mode
- Add support for
SubmissionMethod
onDisputeEvidenceDetails
- Add support for
OnDemand
andSubscriptions
onOrderPaymentSettingsPaymentMethodOptionsKlarnaParams
- Change type of
OrderPaymentSettingsPaymentMethodOptionsKlarna.SetupFutureUsage
andOrderPaymentSettingsPaymentMethodOptionsKlarnaParams.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
- Add support for
Crypto
onPaymentAttemptRecordPaymentMethodDetails
andPaymentRecordPaymentMethodDetails
- Add support for new value
buut
on enumsPaymentAttemptRecordPaymentMethodDetailsIdeal.Bank
andPaymentRecordPaymentMethodDetailsIdeal.Bank
- Add support for new value
BUUTNL2A
on enumsPaymentAttemptRecordPaymentMethodDetailsIdeal.BIC
andPaymentRecordPaymentMethodDetailsIdeal.BIC
- Change type of
PaymentIntentConfirmPaymentMethodOptionsGopayParams.SetupFutureUsage
,PaymentIntentPaymentMethodOptionsGopay.SetupFutureUsage
, andPaymentIntentPaymentMethodOptionsGopayParams.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session')
- Add support for new value
crypto
on enumQuotePreviewInvoicePaymentSettings.PaymentMethodTypes
- Change type of
QuotePreviewSubscriptionSchedule.BillingMode
,Subscription.BillingMode
, andSubscriptionSchedule.BillingMode
fromenum('classic'|'flexible')
toSubscriptionsResourceBillingMode
- Change type of
SubscriptionMigrateParams.BillingMode
fromliteral('flexible')
tobilling_mode_migrate
- Remove support for
BillingModeDetails
onSubscription
- Add support for new value
xx
on enumsV2CoreAccountConfigurationCustomerAutomaticIndirectTaxLocation.Country
,V2CoreAccountConfigurationCustomerShippingAddress.Country
,V2CoreAccountConfigurationMerchantSupportAddress.Country
,V2CoreAccountIdentity.Country
,V2CoreAccountIdentityBusinessDetailsAddress.Country
,V2CoreAccountIdentityBusinessDetailsScriptAddressesKana.Country
,V2CoreAccountIdentityBusinessDetailsScriptAddressesKanji.Country
,V2CoreAccountIdentityIndividualAdditionalAddresses.Country
,V2CoreAccountIdentityIndividualAddress.Country
,V2CoreAccountIdentityIndividualScriptAddressesKana.Country
,V2CoreAccountIdentityIndividualScriptAddressesKanji.Country
,V2CorePersonAdditionalAddresses.Country
,V2CorePersonAddress.Country
,V2CorePersonScriptAddressesKana.Country
,V2CorePersonScriptAddressesKanji.Country
, andV2MoneyManagementFinancialAccount.Country
- Add support for new value
unsupported_entity_type
on enumsV2CoreAccountConfigurationCustomerCapabilitiesAutomaticIndirectTaxStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAchDebitPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAcssDebitPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAffirmPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAfterpayClearpayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAlmaPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAmazonPayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesAuBecsDebitPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesBacsDebitPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesBancontactPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesBlikPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesBoletoPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesCardPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesCartesBancairesPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesCashappPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesEpsPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesFpxPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesGbBankTransferPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesGrabpayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesIdealPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesJcbPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesJpBankTransferPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesKakaoPayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesKlarnaPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesKonbiniPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesKrCardPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesLinkPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesMobilepayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesMultibancoPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesMxBankTransferPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesNaverPayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesOxxoPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesP24PaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesPayByBankPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesPaycoPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesPaynowPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesPromptpayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesRevolutPayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesSamsungPayPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesSepaBankTransferPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesSepaDebitPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesStripeBalancePayoutsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesSwishPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesTwintPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesUsBankTransferPaymentsStatusDetail.Code
,V2CoreAccountConfigurationMerchantCapabilitiesZipPaymentsStatusDetail.Code
,V2CoreAccountConfigurationRecipientCapabilitiesBankAccountsLocalStatusDetail.Code
,V2CoreAccountConfigurationRecipientCapabilitiesBankAccountsWireStatusDetail.Code
,V2CoreAccountConfigurationRecipientCapabilitiesCardsStatusDetail.Code
,V2CoreAccountConfigurationRecipientCapabilitiesStripeBalancePayoutsStatusDetail.Code
, andV2CoreAccountConfigurationRecipientCapabilitiesStripeBalanceStripeTransfersStatusDetail.Code
- Add support for
ProofOfAddress
onV2CoreAccountIdentityBusinessDetailsDocumentsParams
andV2CoreAccountIdentityBusinessDetailsDocuments
- Add support for new value
xx
on enumsV2CoreAccountIdentityIndividual.Nationalities
andV2CorePerson.Nationalities
- Add support for
Metadata
onV2MoneyManagementFinancialAccount
- Remove support for
Description
onV2MoneyManagementFinancialAccount
- Add support for new value
pending
on enumV2MoneyManagementFinancialAccount.Status
- Remove support for
Attempts
onV2PaymentsOffSessionPayment
- Add support for
FromAccount
,OutboundPayment
, andOutboundTransfer
onV2MoneyManagementReceivedCreditBalanceTransfer
- Change type of
V2MoneyManagementReceivedCreditBalanceTransfer.Type
fromliteral('payout_v1')
toenum('outbound_payment'|'outbound_transfer'|'payout_v1')
- Add support for error codes
recipient_feature_not_active
,storer_capability_missing
, andstorer_capability_not_active
onFeatureNotEnabledError
- Remove support for error code
outbound_payment_recipient_feature_not_active
onFeatureNotEnabledError
- Add support for error code
insufficient_funds
onInsufficientFundsError
- Remove support for error codes
outbound_payment_insufficient_funds
andoutbound_transfer_insufficient_funds
onInsufficientFundsError
- Add support for error codes
recipient_amount_limit_exceeded
andrecipient_count_limit_exceeded
onQuotaExceededError
- Remove support for error codes
outbound_payment_recipient_amount_limit_exceeded
andoutbound_payment_recipient_count_limit_exceeded
onQuotaExceededError
- Add support for error code
recipient_email_does_not_exist
onRecipientNotNotifiableError
- Remove support for error code
outbound_payment_recipient_email_does_not_exist
onRecipientNotNotifiableError
- Change type of
v82.3.0
- #2078 Update generated code
- Add support for
Migrate
method on resourceSubscription
- Add support for
CollectPaymentMethod
andConfirmPaymentIntent
methods on resourceTerminalReader
- Add support for
CryptoPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
ProofOfAddress
onAccountDocumentsParams
- Add support for
MonthlyPayoutDays
andWeeklyPayoutDays
onAccountSettingsPayoutsScheduleParams
andAccountSettingsPayoutsSchedule
- Add support for
Crypto
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Subscriptions
onCheckoutSessionPaymentMethodOptionsKlarnaParams
,PaymentIntentConfirmPaymentMethodOptionsKlarnaParams
, andPaymentIntentPaymentMethodOptionsKlarnaParams
- Add support for
BillingMode
onCheckoutSessionSubscriptionDataParams
,InvoiceCreatePreviewScheduleDetailsParams
,InvoiceCreatePreviewSubscriptionDetailsParams
,QuoteSubscriptionDataParams
,QuoteSubscriptionData
,SubscriptionParams
,SubscriptionScheduleParams
,SubscriptionSchedule
, andSubscription
- Change type of
ConfirmationTokenPaymentMethodOptionsCardInstallmentsPlan.Type
,ConfirmationTokenPaymentMethodOptionsCardInstallmentsPlanParams.Type
,InvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlanParams.Type
,PaymentIntentConfirmPaymentMethodOptionsCardInstallmentsPlanParams.Type
,PaymentIntentPaymentMethodOptionsCardInstallmentsPlan.Type
, andPaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams.Type
fromliteral('fixed_count')
toenum('bonus'|'fixed_count'|'revolving')
- Add support for new value
buut
on enumConfirmationTokenPaymentMethodPreviewIdeal.Bank
- Add support for new value
BUUTNL2A
on enumConfirmationTokenPaymentMethodPreviewIdeal.BIC
- Add support for new value
crypto
on enumsConfirmationTokenPaymentMethodPreview.Type
andPaymentMethod.Type
- Change type of
Dispute.EnhancedEligibilityTypes
fromliteral('visa_compelling_evidence_3')
toenum('visa_compelling_evidence_3'|'visa_compliance')
- Add support for new value
compliance
on enumDisputePaymentMethodDetailsCard.CaseType
- Add support for new value
terminal.reader.action_updated
on enumEvent.Type
- Add support for
RelatedPerson
onIdentityVerificationSessionParams
andIdentityVerificationSession
- Add support for
Matching
onIdentityVerificationSessionOptions
- Add support for new value
crypto
on enumsInvoicePaymentSettings.PaymentMethodTypes
andSubscriptionPaymentSettings.PaymentMethodTypes
- Add support for
Klarna
onMandatePaymentMethodDetails
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- Add support for
OnDemand
onPaymentIntentConfirmPaymentMethodOptionsKlarnaParams
andPaymentIntentPaymentMethodOptionsKlarnaParams
- Change type of
PaymentIntentConfirmPaymentMethodOptionsKlarnaParams.SetupFutureUsage
,PaymentIntentPaymentMethodOptionsKlarna.SetupFutureUsage
, andPaymentIntentPaymentMethodOptionsKlarnaParams.SetupFutureUsage
fromliteral('none')
toenum('none'|'off_session'|'on_session')
- Add support for
Ua
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Change type of
TerminalLocationParams.DisplayName
fromstring
toemptyable(string)
- Add support for
CollectPaymentMethod
andConfirmPaymentIntent
onTerminalReaderAction
- Add support for new values
collect_payment_method
andconfirm_payment_intent
on enumTerminalReaderAction.Type
- Add support for
Status
onTreasuryFinancialAccountListParams
- Add support for snapshot event
EventTypeTerminalReaderActionUpdated
with resourceTerminalReader
- Add support for
- #2082 Add form information to amount
- #2076 Switch to use generated API versions and add major/monthly version constants
- Export constants for the major and monthly API versions
- e.g.
2025-05-28.basil
has major versionbasil
and monthly version2025-05-28
- e.g.
- Export constants for the major and monthly API versions
v82.3.0-beta.2
- #2081 Pull in OffSessionPayment changes for the May release
v82.2.1
v82.3.0-beta.1
This release changes the pinned API version to 2025-05-28.preview
.
-
#2060 Update generated code for beta
Breaking changes
- Remove support for deprecated previews
- Remove support for resources
BillingMeterErrorReport
,GiftCardsCard
,GiftCardsTransaction
, andPrivacyRedactionJobRootObjects
- Remove support for
Get
,List
,New
,Update
, andValidate
methods on resourceGiftCardsCard
- Remove support for
Cancel
,Confirm
,Get
,List
,New
, andUpdate
methods on resourceGiftCardsTransaction
- Remove support for
Provisioning
onProductParams
andProduct
- Remove support for snapshot event
EventTypeBillingMeterErrorReportTriggered
with resourceBillingMeterErrorReport
- Remove support for error codes
gift_card_balance_insufficient
,gift_card_code_exists
, andgift_card_inactive
onError
andQuotePreviewInvoiceLastFinalizationError
- Remove support for resources
- Remove support for
Credits
onOrderParams
andOrder
- Remove support for
AmountRemaining
onOrder
- Remove support for
AmountCredit
onOrderTotalDetails
- Remove support for
AsyncWorkflows
onPaymentIntentCaptureParams
,PaymentIntentConfirmParams
,PaymentIntentDecrementAuthorizationParams
,PaymentIntentIncrementAuthorizationParams
,PaymentIntentParams
, andPaymentIntent
- Remove support for values
credits_attributed_to_debits
andlegacy_prorations
from enumsQuotePreviewSubscriptionSchedule.BillingMode
,QuoteSubscriptionData.BillingMode
,Subscription.BillingMode
, andSubscriptionSchedule.BillingMode
- Remove support for
StatusDetails
andStatus
onTaxAssociation
- Change type of
InvoiceCreatePreviewSubscriptionDetailsParams.CancelAt
andSubscriptionParams.CancelAt
fromDateTime
toDateTime | enum('max_period_end'|'min_period_end')
- Change type of
CheckoutSessionLineItemParams.Quantity
fromemptyable(longInteger)
tolongInteger
- Change type of
PrivacyRedactionJob.Objects
from$Privacy.RedactionJobRootObjects
toRedactionResourceRootObjects
- Change type of
PrivacyRedactionJob.Status
fromstring
toenum
- Change type of
PrivacyRedactionJob.ValidationBehavior
fromstring
toenum('error'|'fix')
- Change type of
PrivacyRedactionJobValidationError.Code
fromstring
toenum
- Change type of
PrivacyRedactionJobValidationError.ErroringObject
frommap(string: string)
toRedactionResourceErroringObject
Other changes
- Add support for
Migrate
method on resourceSubscription
- Add support for
Distance
,PickupLocationName
,ReturnLocationName
, andVehicleIdentificationNumber
onChargeCapturePaymentDetailsCarRentalParams
,ChargePaymentDetailsCarRentalParams
,PaymentIntentCapturePaymentDetailsCarRentalParams
,PaymentIntentConfirmPaymentDetailsCarRentalParams
,PaymentIntentPaymentDetailsCarRentalParams
, andPaymentIntentPaymentDetailsCarRental
- Add support for
DriverIdentificationNumber
andDriverTaxNumber
onChargeCapturePaymentDetailsCarRentalDriverParams
,ChargePaymentDetailsCarRentalDriverParams
,PaymentIntentCapturePaymentDetailsCarRentalDriverParams
,PaymentIntentConfirmPaymentDetailsCarRentalDriverParams
,PaymentIntentPaymentDetailsCarRentalDriverParams
, andPaymentIntentPaymentDetailsCarRentalDriver
- Add support for
Institution
onFinancialConnectionsAccount
- Add support for
Countries
onFinancialConnectionsInstitution
- Add support for
Location
andReader
onPaymentAttemptRecordPaymentMethodDetailsAffirm
,PaymentAttemptRecordPaymentMethodDetailsWechatPay
,PaymentRecordPaymentMethodDetailsAffirm
, andPaymentRecordPaymentMethodDetailsWechatPay
- Add support for
Hooks
onPaymentIntentCaptureParams
,PaymentIntentConfirmParams
,PaymentIntentDecrementAuthorizationParams
,PaymentIntentIncrementAuthorizationParams
,PaymentIntentParams
, andPaymentIntent
- Add support for
CardPresent
onPaymentIntentAmountDetailsLineItemPaymentMethodOptions
- Change type of
PaymentRecordReportPaymentAttemptCanceledParams.Metadata
,PaymentRecordReportPaymentAttemptFailedParams.Metadata
,PaymentRecordReportPaymentAttemptGuaranteedParams.Metadata
,PaymentRecordReportPaymentAttemptParams.Metadata
, andPaymentRecordReportPaymentParams.Metadata
frommap(string: string)
toemptyable(map(string: string))
- Add support for
Livemode
onPrivacyRedactionJob
- Add support for new values
classic
andflexible
on enumsQuotePreviewSubscriptionSchedule.BillingMode
,QuoteSubscriptionData.BillingMode
,Subscription.BillingMode
, andSubscriptionSchedule.BillingMode
- Add support for
BillingThresholds
onQuotePreviewSubscriptionScheduleDefaultSettings
,QuotePreviewSubscriptionSchedulePhaseItem
, andQuotePreviewSubscriptionSchedulePhase
- Add support for
BillingModeDetails
onSubscription
- Add support for
TaxTransactionAttempts
onTaxAssociation
- Add support for
ConfirmConfig
onTerminalReaderActionConfirmPaymentIntent
andTerminalReaderConfirmPaymentIntentParams
- Add support for error code
forwarding_api_upstream_error
onQuotePreviewInvoiceLastFinalizationError
- Remove support for deprecated previews
v82.2.0
This release changes the pinned API version to 2025-05-28.basil
.
- #2063 Update generated code
- Add support for
AttachPayment
method on resourceInvoice
- Add support for
CollectInputs
method on resourceTerminalReader
- Add support for
SucceedInputCollection
andTimeoutInputCollection
test helper methods on resourceTerminalReader
- Add support for
PixPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
DisputesList
andPaymentDisputes
onAccountSessionComponentsParams
andAccountSessionComponents
- Add support for
RefundAndDisputePrefunding
onBalance
- Add support for
BalanceType
onBalanceTransaction
- Add support for
Location
andReader
onChargePaymentMethodDetailsAffirm
andChargePaymentMethodDetailsWechatPay
- Add support for
PaymentMethodRemove
onCheckoutSessionSavedPaymentMethodOptionsParams
- Add support for
SetupFutureUsage
onCheckoutSessionPaymentMethodOptionsNaverPay
- Add support for
PostPaymentAmount
andPrePaymentAmount
onCreditNote
- Add support for new value
mixed
on enumCreditNote.Type
- Add support for new value
invoice_payment.paid
on enumEvent.Type
- Add support for
Sex
,UnparsedPlaceOfBirth
, andUnparsedSex
onIdentityVerificationReportDocument
andIdentityVerificationSessionVerifiedOutputs
- Add support for
BillingThresholds
onInvoiceCreatePreviewScheduleDetailsPhaseItemParams
,InvoiceCreatePreviewScheduleDetailsPhaseParams
,InvoiceCreatePreviewSubscriptionDetailsItemParams
,SubscriptionItemParams
,SubscriptionItem
,SubscriptionParams
,SubscriptionScheduleDefaultSettingsParams
,SubscriptionScheduleDefaultSettings
,SubscriptionSchedulePhaseItemParams
,SubscriptionSchedulePhaseItem
,SubscriptionSchedulePhaseParams
,SubscriptionSchedulePhase
, andSubscription
- Add support for
Satispay
onPaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptionsParams
, andPaymentIntentPaymentMethodOptions
- Add support for
CaptureMethod
onPaymentIntentPaymentMethodOptionsBillie
- Add support for
KakaoPay
,KrCard
,NaverPay
,Payco
, andSamsungPay
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
NetworkDeclineCode
onRefundDestinationDetailsPaypal
- Add support for
Metadata
onTaxCalculationLineItemParams
andTaxCalculationLineItem
- Add support for
ReturnURL
onTerminalReaderActionProcessPaymentIntentProcessConfig
andTerminalReaderProcessPaymentIntentProcessConfigParams
- Add support for
CollectInputs
onTerminalReaderAction
- Add support for new value
collect_inputs
on enumTerminalReaderAction.Type
- Add support for new value
simulated_stripe_s700
on enumTerminalReader.DeviceType
- Add support for snapshot event
EventTypeInvoicePaymentPaid
with resourceInvoicePayment
- Add support for error code
forwarding_api_upstream_error
onError
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Add support for
- #2062 Adds CONTRIBUTING.md
v82.2.0-beta.2
- #2059 Update generated code for beta
Release specs are identical.