-
#1563, #1558, #1547 Update generated code for beta
This release changes the pinned API version to
2025-03-31.preview
Breaking changes
- Change type of
QuotePreviewInvoice::Parent::SubscriptionDetail.subscription
fromstring
toexpandable($Subscription)
- Remove support for
value
onTerminalReader::Action::CollectInput::Input::Selection::Choice
,TerminalReader::Action::CollectInput::Input::Selection
, andTerminalReader::CollectInputsParams::Input::Selection::Choice
Additions
- Add support for
payment_method_options
onConfirmationToken::CreateParams
- Add support for
installments
onConfirmationToken::PaymentMethodOption::Card
- Change
BillingCreditBalanceSummary::RetrieveParams.customer
,BillingCreditBalanceTransaction::ListParams.customer
,BillingCreditGrant::CreateParams.customer
,BillingPortalSession::CreateParams.customer
,CustomerSession::CreateParams.customer
,InvoiceItem::CreateParams.customer
,PaymentMethod::AttachParams.customer
, andSubscription::CreateParams.customer
to be optional - Add support for
update_line_items
onCheckoutSession::CreateParams::Permission
andCheckoutSession::Permission
- Add support for
billie
onPaymentIntent::ConfirmParams::PaymentMethodOption
,PaymentIntent::CreateParams::PaymentMethodOption
,PaymentIntent::PaymentMethodOption
, andPaymentIntent::UpdateParams::PaymentMethodOption
- Add support for
id
andtext
onTerminalReader::Action::CollectInput::Input::Selection::Choice
,TerminalReader::Action::CollectInput::Input::Selection
, andTerminalReader::CollectInputsParams::Input::Selection::Choice
- Add support for new resources
BalanceSettings
- Add support for
retrieve
andupdate
methods on resourceBalanceSettings
- Add support for
create
,delete
,list
,retrieve
, andupdate
methods on a newExternalAccountService
class to access cards and bank accounts made available in the new pathv1/external_accounts
. Access this viaStripeClient.external_accounts
New APIs for Money CardManagement
- Add support for new resources
V2::Core::Vault::UsBankAccount
,V2::FinancialAddressCreditSimulation
,V2::FinancialAddressGeneratedMicrodeposits
,V2::MoneyManagement::Adjustment
,V2::MoneyManagement::FinancialAccount
,V2::MoneyManagement::FinancialAddress
,V2::MoneyManagement::InboundTransfer
,V2::MoneyManagement::OutboundPaymentQuote
,V2::MoneyManagement::OutboundPayment
,V2::MoneyManagement::OutboundSetupIntent
,V2::MoneyManagement::OutboundTransfer
,V2::MoneyManagement::PayoutMethod
,V2::MoneyManagement::PayoutMethodsBankAccountSpec
,V2::MoneyManagement::ReceivedCredit
,V2::MoneyManagement::ReceivedDebit
,V2::MoneyManagement::TransactionEntry
, andV2::MoneyManagement::Transaction
- Add support for
create
method on resourceV2::MoneyManagement::OutboundPaymentQuote
- Add support for
list
andretrieve
methods on resourcesV2::MoneyManagement::Adjustment
,V2::MoneyManagement::FinancialAccount
,V2::MoneyManagement::ReceivedCredit
,V2::MoneyManagement::ReceivedDebit
,V2::MoneyManagement::TransactionEntry
, andV2::MoneyManagement::Transaction
- Add support for
create
,list
, andretrieve
methods on resourcesV2::MoneyManagement::FinancialAddress
andV2::MoneyManagement::InboundTransfer
- Add support for
cancel
,create
,list
, andretrieve
methods on resourcesV2::MoneyManagement::OutboundPayment
andV2::MoneyManagement::OutboundTransfer
- Add support for
archive
,list
,retrieve
, andunarchive
methods on resourceV2::MoneyManagement::PayoutMethod
- Add support for
cancel
,create
,list
,retrieve
, andupdate
methods on resourceV2::MoneyManagement::OutboundSetupIntent
- Add support for
retrieve
method on resourceV2::MoneyManagement::PayoutMethodsBankAccountSpec
- Add support for new thin event
V2MoneyManagementFinancialAccountCreatedEvent
with related objectV2::MoneyManagement::FinancialAccount
- Add support for new thin events
V2MoneyManagementFinancialAddressActivatedEvent
andV2MoneyManagementFinancialAddressFailedEvent
with related objectV2::MoneyManagement::FinancialAddress
- Add support for new thin events
V2MoneyManagementInboundTransferAvailableEvent
,V2MoneyManagementInboundTransferBankDebitFailedEvent
,V2MoneyManagementInboundTransferBankDebitProcessingEvent
,V2MoneyManagementInboundTransferBankDebitQueuedEvent
,V2MoneyManagementInboundTransferBankDebitReturnedEvent
, andV2MoneyManagementInboundTransferBankDebitSucceededEvent
with related objectV2::MoneyManagement::InboundTransfer
- Add support for new thin events
V2MoneyManagementOutboundPaymentCanceledEvent
,V2MoneyManagementOutboundPaymentCreatedEvent
,V2MoneyManagementOutboundPaymentFailedEvent
,V2MoneyManagementOutboundPaymentPostedEvent
, andV2MoneyManagementOutboundPaymentReturnedEvent
with related objectV2::MoneyManagement::OutboundPayment
- Add support for new thin events
V2MoneyManagementOutboundTransferCanceledEvent
,V2MoneyManagementOutboundTransferCreatedEvent
,V2MoneyManagementOutboundTransferFailedEvent
,V2MoneyManagementOutboundTransferPostedEvent
, andV2MoneyManagementOutboundTransferReturnedEvent
with related objectV2::MoneyManagement::OutboundTransfer
- Add support for new thin events
V2MoneyManagementReceivedCreditAvailableEvent
,V2MoneyManagementReceivedCreditFailedEvent
,V2MoneyManagementReceivedCreditReturnedEvent
, andV2MoneyManagementReceivedCreditSucceededEvent
with related objectV2::MoneyManagement::ReceivedCredit
- Add support for new thin events
V2MoneyManagementReceivedDebitCanceledEvent
,V2MoneyManagementReceivedDebitFailedEvent
,V2MoneyManagementReceivedDebitPendingEvent
,V2MoneyManagementReceivedDebitSucceededEvent
, andV2MoneyManagementReceivedDebitUpdatedEvent
with related objectV2::MoneyManagement::ReceivedDebit
- Add support for new error types
AlreadyCanceledError
,BlockedByStripeError
,ControlledByDashboardError
,FeatureNotEnabledError
,FinancialAccountNotOpenError
,InsufficientFundsError
,InvalidPayoutMethodError
,NotCancelableError
, andRecipientNotNotifiableError
New APIs for Accounts v2 in private preview
See SaaS platform payments with subscription billing using Accounts v2
- Add support for new resources
V2::Core::AccountLink
,V2::Core::Account
,V2::Core::Person
,V2::Core::Vault::GbBankAccount
,V2::Core::Vault::UsBankAccount
- Add support for
close
,create
,list
,retrieve
, andupdate
methods on resourceV2::Core::Account
- Add support for
create
method on resourcesV2::Core::AccountLink
andV2::MoneyManagement::OutboundPaymentQuote
- Add support for
acknowledge_confirmation_of_payee
,archive
,create
,initiate_confirmation_of_payee
, andretrieve
methods on resourceV2::Core::Vault::GbBankAccount
- Add support for
archive
,create
,retrieve
, andupdate
methods on resourceV2::Core::Vault::UsBankAccount
- Add support for new thin events
V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent
,V2CoreAccountIncludingConfigurationCustomerUpdatedEvent
,V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent
,V2CoreAccountIncludingConfigurationMerchantUpdatedEvent
,V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent
,V2CoreAccountIncludingConfigurationRecipientUpdatedEvent
,V2CoreAccountIncludingIdentityUpdatedEvent
, andV2CoreAccountIncludingRequirementsUpdatedEvent
- Add support for new thin event
V2CoreAccountLinkCompletedEvent
with related objectV2::Core::AccountLink
- Add support for new thin events
V2CoreAccountPersonCreatedEvent
,V2CoreAccountPersonDeletedEvent
, andV2CoreAccountPersonUpdatedEvent
with related objectV2::Core::Person
- Change type of
-
#1557 Update Stripe.add_beta_version
stripe.add_beta_version
will use the highest version number used for a beta feature instead of raising anError
on a conflict as it had done previously.