Skip to content

Releases: stripe/stripe-ruby

v18.2.0-beta.1

16 Dec 19:54

Choose a tag to compare

v18.2.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-12-15.preview.

  • #1724 Add EventNotificationHandler
  • #1735 Update generated code for beta
    • Add support for new resources Reserve::Hold, Reserve::Plan, and Reserve::Release
    • Add support for list and retrieve methods on resources Reserve::Hold and Reserve::Release
    • Add support for retrieve method on resource Reserve::Plan
    • Change Billing::CreditBalanceSummary.customer_account, Billing::CreditGrant.customer_account, BillingPortal::Session.customer_account, CashBalance.customer_account, Checkout::Session.customer_account, ConfirmationToken::PaymentMethodPreview.customer_account, CreditNote.customer_account, CustomerBalanceTransaction.customer_account, CustomerCashBalanceTransaction.customer_account, CustomerSession.customer_account, Discount.customer_account, Invoice.customer_account, InvoiceItem.customer_account, PaymentIntent.customer_account, PaymentMethod.customer_account, PromotionCode.customer_account, Quote.customer_account, QuotePreviewInvoice.customer_account, QuotePreviewSubscriptionSchedule.customer_account, SetupAttempt.customer_account, Subscription.customer_account, SubscriptionSchedule.customer_account, TaxId.customer_account, and TaxId::Owner.customer_account to be required
    • Change type of V2::FinancialAddressGeneratedMicrodeposits.amounts from amount to an object
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.amount, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount from longInteger to emptyable(longInteger)
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount_type, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount_type, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.amount_type, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.amount_type, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.amount_type from enum('fixed'|'maximum') to emptyable(enum('fixed'|'maximum'))
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.end_date, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.end_date, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.end_date, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.end_date, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.end_date, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.end_date, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.end_date from string to emptyable(string)
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payment_schedule from enum to emptyable(enum)
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.payments_per_period from longInteger to emptyable(longInteger)
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.purpose, PaymentIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.purpose, PaymentIntentCreateParams::PaymentMethodOption::Payto::MandateOption.purpose, PaymentIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.purpose, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.purpose, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.purpose, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.purpose from enum to emptyable(enum)
    • Change type of Checkout::SessionCreateParams::PaymentMethodOption::Payto::MandateOption.start_date, SetupIntentConfirmParams::PaymentMethodOption::Payto::MandateOption.start_date, SetupIntentCreateParams::PaymentMethodOption::Payto::MandateOption.start_date, and SetupIntentUpdateParams::PaymentMethodOption::Payto::MandateOption.start_date from string to emptyable(string)
    • Change Identity::VerificationSession.related_customer_account to be required
    • Add support for async_workflows on PaymentIntent
    • Add support for payto on QuotePreviewInvoice::PaymentSetting::PaymentMethodOption
    • Remove support for requested on V2::Core::Account::Configuration::Customer::Capability::AutomaticIndirectTax, V2::Core::Account::Configuration::Merchant::Capability::AchDebitPayment, V2::Core::Account::Configuration::Merchant::Capability::AcssDebitPayment, V2::Core::Account::Configuration::Merchant::Capability::AffirmPayment, V2::Core::Account::Configuration::Merchant::Capability::AfterpayClearpayPayment, V2::Core::Account::Configuration::Merchant::Capability::AlmaPayment, V2::Core::Account::Configuration::Merchant::Capability::AmazonPayPayment, V2::Core::Account::Configuration::Merchant::Capability::AuBecsDebitPayment, V2::Core::Account::Configuration::Merchant::Capability::BacsDebitPayment, V2::Core::Account::Configuration::Merchant::Capability::BancontactPayment, V2::Core::Account::Configuration::Merchant::Capability::BlikPayment, V2::Core::Account::Configuration::Merchant::Capability::BoletoPayment, V2::Core::Account::Configuration::Merchant::Capability::CardPayment, V2::Core::Account::Configuration::Merchant::Capability::CartesBancairesPayment, V2::Core::Account::Configuration::Merchant::Capability::CashappPayment, V2::Core::Account::Configuration::Merchant::Capability::EpsPayment, V2::Core::Account::Configuration::Merchant::Capability::FpxPayment, V2::Core::Account::Configuration::Merchant::Capability::GbBankTransferPayment, V2::Core::Account::Configuration::Merchant::Capability::GrabpayPayment, V2::Core::Account::Configuration::Merchant::Capability::IdealPayment, V2::Core::Account::Configuration::Merchant::Capability::JcbPayment, V2::Core::Account::Configuration::Merchant::Capability::JpBankTransferPayment, V2::Core::Account::Configuration::Merchant::Capability::KakaoPayPayment, V2::Core::Account::Configuration::Merchant::Capability::KlarnaPayment, V2::Core::Account::Configuration::Merchant::Capability::KonbiniPayment, V2::Core::Account::Configuration::Merchant::Capability::KrCardPayment, V2::Core::Account::Configuration::Merchant::Capability::LinkPayment, V2::Core::Account::Configuration::Merchant::Capability::MobilepayPayment, V2::Core::Account::Configuration::Merchant::Capability::MultibancoPayment, V2::Core::Account::Configuration::Merchant::Capability::MxBankTransferPayment, V2::Core::Account::Configuration::Merchant::Capability::NaverPayPayment, V2::Core::Account::Configuration::Merchant::Capability::OxxoPayment, V2::Core::Account::Configuration::Merchant::Capability::P24Payment, V2::Core::Account::Configuration::Merchant::Capability::PayByBankPayment, V2::Core::Account::Configuration::Merchant::Capability::PaycoPayment, V2::Core::Account::Configuration::Merchant::Capability::PaynowPayment, V2::Core::Account::Configuration::Merchant::Capability::PromptpayPayment, V2::Core::Account::Configuration::Merchant::Capability::RevolutPayPayment, V2::Core::Account::Configuration::Merchant::Capability::SamsungPayPayment, V2::Core::Account::Configuration::Merchant::Capability::SepaBankTransferPayment, V2::Core::Account::Configuration::Merchant::Capability::SepaDebitPayment, V2::Core::Account::Configuration::Merchant::Capability::StripeBalance::Payout, V2::Core::Account::Configuration::Merchant::Capability::SwishPayment, V2::Core::Account::Configuration::Merchant::Capability::TwintPayment, V2::Core::Account::Configuration::Merchant::Capability::UsBankTransferPayment, V2::Core::Account::Configuration::Merchant::Capability::ZipPayment, V2::Core::Account::Configuration::Recipient::Capability::BankAccount::Local, V2::Core::Account::Configuration::Recipient::Capability::BankAccount::Wire, V2::Core::Account::Configuration::Recipient::Capability::Card, V2::Core::Account::Configuration::Recipient::Capability::StripeBalance::Payout, V2::Core::Account::Configuration::Recipient::Capability::StripeBalance::StripeTransfer, `V2::Core::A...
Read more

v18.1.0

16 Dec 19:48

Choose a tag to compare

This release changes the pinned API version to 2025-12-15.clover.

  • #1744 Update generated code
    • Add support for new resources V2::Core::AccountLink, V2::Core::AccountPersonToken, V2::Core::AccountPerson, V2::Core::AccountToken, and V2::Core::Account
    • Add support for create and retrieve methods on resources V2::Core::AccountPersonToken and V2::Core::AccountToken
    • Add support for create method on resource V2::Core::AccountLink
    • Add support for close, create, list, retrieve, and update methods on resource V2::Core::Account
    • Add support for create, delete, list, retrieve, and update methods on resource V2::Core::AccountPerson
    • Add support for customer_account on Billing::CreditBalanceSummaryRetrieveParams, Billing::CreditBalanceSummary, Billing::CreditBalanceTransactionListParams, Billing::CreditGrantCreateParams, Billing::CreditGrantListParams, Billing::CreditGrant, BillingPortal::SessionCreateParams, BillingPortal::Session, CashBalance, Checkout::SessionCreateParams, Checkout::SessionListParams, Checkout::Session, ConfirmationToken::PaymentMethodPreview, CreditNoteListParams, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerSessionCreateParams, CustomerSession, Customer, Discount, FinancialConnections::Account::AccountHolder, FinancialConnections::AccountListParams::AccountHolder, FinancialConnections::Session::AccountHolder, FinancialConnections::SessionCreateParams::AccountHolder, InvoiceCreateParams, InvoiceCreatePreviewParams, InvoiceItemCreateParams, InvoiceItemListParams, InvoiceItem, InvoiceListParams, Invoice, PaymentIntentCreateParams, PaymentIntentListParams, PaymentIntentUpdateParams, PaymentIntent, PaymentMethodAttachParams, PaymentMethodListParams, PaymentMethod, PromotionCodeCreateParams, PromotionCodeListParams, PromotionCode, QuoteCreateParams, QuoteListParams, QuoteUpdateParams, Quote, SetupAttempt, SetupIntentCreateParams, SetupIntentListParams, SetupIntentUpdateParams, SetupIntent, SubscriptionCreateParams, SubscriptionListParams, SubscriptionScheduleCreateParams, SubscriptionScheduleListParams, SubscriptionSchedule, Subscription, TaxId::Owner, TaxIdCreateParams::Owner, TaxIdListParams::Owner, and TaxId
    • Add support for metadata on Checkout::SessionCreateParams::LineItem and LineItem
    • Add support for payto_payments on Account::Capability, AccountCreateParams::Capability, and AccountUpdateParams::Capability
    • Add support for signer on AccountCreateParams::Document::ProofOfRegistration, AccountCreateParams::Document::ProofOfUltimateBeneficialOwnership, AccountUpdateParams::Document::ProofOfRegistration, and AccountUpdateParams::Document::ProofOfUltimateBeneficialOwnership
    • Change Billing::CreditBalanceSummaryRetrieveParams.customer, Billing::CreditBalanceTransactionListParams.customer, Billing::CreditGrantCreateParams.customer, BillingPortal::SessionCreateParams.customer, CustomerSessionCreateParams.customer, InvoiceItemCreateParams.customer, PaymentMethodAttachParams.customer, and SubscriptionCreateParams.customer to be optional
    • Add support for billing_cycle_anchor on BillingPortal::Configuration::Feature::SubscriptionUpdate, BillingPortal::ConfigurationCreateParams::Feature::SubscriptionUpdate, and BillingPortal::ConfigurationUpdateParams::Feature::SubscriptionUpdate
    • Add support for payto on Charge::PaymentMethodDetail, Checkout::Session::PaymentMethodOption, Checkout::SessionCreateParams::PaymentMethodOption, ConfirmationToken::PaymentMethodPreview, ConfirmationTokenCreateParams::PaymentMethodDatum, Invoice::PaymentSetting::PaymentMethodOption, InvoiceCreateParams::PaymentSetting::PaymentMethodOption, InvoiceUpdateParams::PaymentSetting::PaymentMethodOption, Mandate::PaymentMethodDetail, PaymentAttemptRecord::PaymentMethodDetail, PaymentIntent::PaymentMethodOption, PaymentIntentConfirmParams::PaymentMethodDatum, PaymentIntentConfirmParams::PaymentMethodOption, PaymentIntentCreateParams::PaymentMethodDatum, PaymentIntentCreateParams::PaymentMethodOption, PaymentIntentUpdateParams::PaymentMethodDatum, PaymentIntentUpdateParams::PaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethodUpdateParams, PaymentMethod, PaymentRecord::PaymentMethodDetail, SetupAttempt::PaymentMethodDetail, SetupIntent::PaymentMethodOption, SetupIntentConfirmParams::PaymentMethodDatum, SetupIntentConfirmParams::PaymentMethodOption, SetupIntentCreateParams::PaymentMethodDatum, SetupIntentCreateParams::PaymentMethodOption, SetupIntentUpdateParams::PaymentMethodDatum, SetupIntentUpdateParams::PaymentMethodOption, Subscription::PaymentSetting::PaymentMethodOption, SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, and SubscriptionUpdateParams::PaymentSetting::PaymentMethodOption
    • Add support for expected_debit_date on Charge::PaymentMethodDetail::AcssDebit, Charge::PaymentMethodDetail::AuBecsDebit, Charge::PaymentMethodDetail::BacsDebit, Charge::PaymentMethodDetail::NzBankAccount, Charge::PaymentMethodDetail::SepaDebit, Charge::PaymentMethodDetail::UsBankAccount, PaymentAttemptRecord::PaymentMethodDetail::AcssDebit, PaymentAttemptRecord::PaymentMethodDetail::AuBecsDebit, PaymentAttemptRecord::PaymentMethodDetail::BacsDebit, PaymentAttemptRecord::PaymentMethodDetail::NzBankAccount, PaymentAttemptRecord::PaymentMethodDetail::SepaDebit, PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount, PaymentRecord::PaymentMethodDetail::AcssDebit, PaymentRecord::PaymentMethodDetail::AuBecsDebit, PaymentRecord::PaymentMethodDetail::BacsDebit, PaymentRecord::PaymentMethodDetail::NzBankAccount, PaymentRecord::PaymentMethodDetail::SepaDebit, and PaymentRecord::PaymentMethodDetail::UsBankAccount
    • Add support for line_items on Checkout::SessionUpdateParams
    • Add support for invoice on CustomerCustomerBalanceTransactionListParams
    • Add support for related_customer_account on Identity::VerificationSessionCreateParams, Identity::VerificationSessionListParams, and Identity::VerificationSession
    • Change type of InvoiceItem::Pricing::PriceDetail.price and InvoiceLineItem::Pricing::PriceDetail.price from string to expandable($Price)
    • Add support for subtotal on InvoiceLineItem
    • Add support for authorization_code, description, iin, installments, issuer, network_advice_code, network_decline_code, and stored_credential_usage on PaymentAttemptRecord::PaymentMethodDetail::Card and PaymentRecord::PaymentMethodDetail::Card
    • Change PaymentIntent.transfer_data to be optional
    • Add support for allow_redisplay on PaymentMethodListParams
    • Add support for reported_by on PaymentRecord
    • Change Product.tax_code to be optional
    • Add support for changes on V2::Core::Event
  • #1741 Format breaking change warning to improve discoverability
  • #1742 Updated bundled CA certs

See the changelog for more details.

v18.2.0-alpha.1

14 Dec 23:52

Choose a tag to compare

v18.2.0-alpha.1 Pre-release
Pre-release
  • #1743 Update generated code for private-preview
    • Add support for new resources SharedPayment::GrantedToken, V2::Iam::ApiKey, V2::Payments::SettlementAllocationIntentSplit, V2::Payments::SettlementAllocationIntent, and V2::Tax::ManualRule
    • Add support for retrieve method on resource SharedPayment::GrantedToken
    • Add support for create and update test helper methods on resource SharedPayment::GrantedToken
    • Add support for create, deactivate, list, retrieve, and update methods on resource V2::Tax::ManualRule
    • Add support for cancel, create, retrieve, submit, and update methods on resource V2::Payments::SettlementAllocationIntent
    • Add support for cancel, create, and retrieve methods on resource V2::Payments::SettlementAllocationIntentSplit
    • Add support for create, expire, list, retrieve, rotate, and update methods on resource V2::Iam::ApiKey
    • Add support for check_scanning on AccountSessionCreateParams::Component
    • Add support for tax_details on Checkout::SessionCreateParams::LineItem::PriceDatum::ProductDatum, Checkout::SessionUpdateParams::LineItem::PriceDatum::ProductDatum, InvoiceAddLinesParams::Line::PriceDatum::ProductDatum, InvoiceLineItemUpdateParams::PriceDatum::ProductDatum, InvoiceUpdateLinesParams::Line::PriceDatum::ProductDatum, PaymentLinkCreateParams::LineItem::PriceDatum::ProductDatum, ProductCreateParams, and ProductUpdateParams
    • Add support for payment_method_data on DelegatedCheckout::RequestedSessionConfirmParams
    • Add support for product_details on DelegatedCheckout::RequestedSession::LineItemDetail
    • Add support for wallets on Issuing::CardListParams
    • Add support for primary_account_identifier on Issuing::Card::Wallet::ApplePay and Issuing::Card::Wallet::GooglePay
    • Add support for shared_payment_granted_token on PaymentIntentConfirmParams, PaymentIntentCreateParams, and PaymentIntent
    • Change ProductCatalog::TrialOffer::Duration.relative to be optional
    • Add support for instant on V2::Account::Configuration::RecipientDatum::Feature::BankAccount, V2::AccountCreateParams::Configuration::RecipientDatum::Feature::BankAccount, V2::AccountUpdateParams::Configuration::RecipientDatum::Feature::BankAccount, V2::Core::Account::Configuration::Recipient::Capability::BankAccount, V2::Core::AccountCreateParams::Configuration::Recipient::Capability::BankAccount, and V2::Core::AccountUpdateParams::Configuration::Recipient::Capability::BankAccount
    • Add support for collect_at on V2::Billing::IntentAction::Deactivate, V2::Billing::IntentAction::Modify, V2::Billing::IntentAction::Subscribe, V2::Billing::IntentCreateParams::Action::Deactivate, V2::Billing::IntentCreateParams::Action::Modify, and V2::Billing::IntentCreateParams::Action::Subscribe
    • Remove support for billing_details on V2::Billing::IntentAction::Deactivate, V2::Billing::IntentAction::Modify, V2::Billing::IntentAction::Subscribe, V2::Billing::IntentCreateParams::Action::Deactivate, V2::Billing::IntentCreateParams::Action::Modify, and V2::Billing::IntentCreateParams::Action::Subscribe
    • Add support for overrides on V2::Billing::IntentAction::Deactivate::PricingPlanSubscriptionDetail, V2::Billing::IntentAction::Modify::PricingPlanSubscriptionDetail, V2::Billing::IntentAction::Subscribe::PricingPlanSubscriptionDetail, V2::Billing::IntentCreateParams::Action::Deactivate::PricingPlanSubscriptionDetail, V2::Billing::IntentCreateParams::Action::Modify::PricingPlanSubscriptionDetail, and V2::Billing::IntentCreateParams::Action::Subscribe::PricingPlanSubscriptionDetail
    • Remove support for requested on V2::Core::Account::Configuration::CardCreator::Capability::Commercial::Celtic::ChargeCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::Celtic::SpendCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::CrossRiverBank::ChargeCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::CrossRiverBank::SpendCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::Lead::PrepaidCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::Stripe::ChargeCard, V2::Core::Account::Configuration::CardCreator::Capability::Commercial::Stripe::PrepaidCard, V2::Core::Account::Configuration::Recipient::Capability::CryptoWallet, V2::Core::Account::Configuration::Storer::Capability::FinancialAddress::CryptoWallet, V2::Core::Account::Configuration::Storer::Capability::HoldsCurrency::Usdc, V2::Core::Account::Configuration::Storer::Capability::OutboundPayment::CryptoWallet, and V2::Core::Account::Configuration::Storer::Capability::OutboundTransfer::CryptoWallet
    • Add support for alternative_reference on V2::Core::Vault::GbBankAccount, V2::Core::Vault::UsBankAccount, and V2::MoneyManagement::PayoutMethod
    • Add support for managed_by and payments on V2::MoneyManagement::FinancialAccount
    • Add support for speed on V2::MoneyManagement::OutboundPayment::DeliveryOption, V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOption, V2::MoneyManagement::OutboundPaymentQuote::DeliveryOption, and V2::MoneyManagement::OutboundPaymentQuoteCreateParams::DeliveryOption
    • Add support for types on V2::MoneyManagement::FinancialAccountListParams
    • Add support for top_impacted_accounts on EventsV2CoreHealthApiErrorFiringEvent, EventsV2CoreHealthApiErrorResolvedEvent, EventsV2CoreHealthApiLatencyFiringEvent, EventsV2CoreHealthApiLatencyResolvedEvent, EventsV2CoreHealthPaymentMethodErrorFiringEvent, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent
    • Add support for event notifications V2CoreHealthSepaDebitDelayedFiringEvent, V2CoreHealthSepaDebitDelayedResolvedEvent, and V2PaymentsSettlementAllocationIntentNotFoundEvent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentCanceledEvent, V2PaymentsSettlementAllocationIntentCreatedEvent, V2PaymentsSettlementAllocationIntentErroredEvent, V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent, V2PaymentsSettlementAllocationIntentMatchedEvent, V2PaymentsSettlementAllocationIntentSettledEvent, and V2PaymentsSettlementAllocationIntentSubmittedEvent with related object V2::Payments::SettlementAllocationIntent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentSplitCanceledEvent, V2PaymentsSettlementAllocationIntentSplitCreatedEvent, and V2PaymentsSettlementAllocationIntentSplitSettledEvent with related object V2::Payments::SettlementAllocationIntentSplit

See the changelog for more details.

v18.1.0-alpha.4

04 Dec 17:43

Choose a tag to compare

v18.1.0-alpha.4 Pre-release
Pre-release
  • #1740 Update generated code for private-preview
    • Add support for event notifications V2IamApiKeyCreatedEvent, V2IamApiKeyDefaultSecretRevealedEvent, V2IamApiKeyExpiredEvent, V2IamApiKeyPermissionsUpdatedEvent, V2IamApiKeyRotatedEvent, and V2IamApiKeyUpdatedEvent
  • #1739 Update generated code for private-preview
    • Add support for check_scanning on AccountSession::Component
    • Add support for client on V2::Core::Event::Reason::Request
    • Add support for stripe_balance_payment on V2::MoneyManagement::ReceivedCredit and V2::MoneyManagement::ReceivedDebit
    • Add support for balance_transfer on V2::MoneyManagement::ReceivedDebit
    • Add support for include on V2::Core::EventListParams and V2::Core::EventRetrieveParams

See the changelog for more details.

v18.1.0-alpha.3

24 Nov 18:12

Choose a tag to compare

v18.1.0-alpha.3 Pre-release
Pre-release
  • #1737 Update generated code for private-preview
    • Add support for new resource ProductCatalog::TrialOffer
    • Add support for create method on resource ProductCatalog::TrialOffer
    • Remove support for amount_subtotal_after_discount on DelegatedCheckout::RequestedSession::LineItemDetail and DelegatedCheckout::RequestedSession::TotalDetail
    • Remove support for amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout::RequestedSession::LineItemDetail
    • Add support for amount_cart_discount and amount_items_discount on DelegatedCheckout::RequestedSession::TotalDetail
    • Remove support for amount_discount on DelegatedCheckout::RequestedSession::TotalDetail
    • Add support for payments_orchestration on PaymentIntentCreateParams and PaymentIntent

See the changelog for more details.

v18.0.1

22 Nov 01:04

Choose a tag to compare

  • #1736 Throw a specific error when accessing payment_intent property on Invoice object to ease debugging.

See the changelog for more details.

v18.1.0-alpha.2

20 Nov 23:24

Choose a tag to compare

v18.1.0-alpha.2 Pre-release
Pre-release

This release changes the pinned API version to 2025-11-17.preview.

  • #1734 Update generated code for private-preview
    • Add support for new resources V2::Core::AccountPersonToken, V2::Core::AccountToken, and V2::MoneyManagement::CurrencyConversion
    • Add support for create, list, and retrieve methods on resource V2::MoneyManagement::CurrencyConversion
    • Add support for create and retrieve methods on resources V2::Core::AccountPersonToken and V2::Core::AccountToken
    • Add support for effective_at on InvoiceCreatePreviewParams::ScheduleDetail::Amendment, InvoiceCreatePreviewParams::ScheduleDetail::Phase, QuoteCreateParams::Line, QuoteLine, QuotePreviewSubscriptionSchedule::Phase, QuoteUpdateParams::Line, SubscriptionSchedule::Phase, SubscriptionScheduleAmendParams::Amendment, SubscriptionScheduleCreateParams::Phase, and SubscriptionScheduleUpdateParams::Phase
    • Add support for trial_offer on InvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Add, InvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Set, InvoiceCreatePreviewParams::ScheduleDetail::Phase::Item, QuoteCreateParams::Line::Action::AddItem, QuoteCreateParams::Line::Action::SetItem, QuoteLine::Action::AddItem, QuoteLine::Action::SetItem, QuotePreviewSubscriptionSchedule::Phase::Item, QuoteUpdateParams::Line::Action::AddItem, QuoteUpdateParams::Line::Action::SetItem, SubscriptionSchedule::Phase::Item, SubscriptionScheduleAmendParams::Amendment::ItemAction::Add, SubscriptionScheduleAmendParams::Amendment::ItemAction::Set, SubscriptionScheduleCreateParams::Phase::Item, and SubscriptionScheduleUpdateParams::Phase::Item
    • Change type of DelegatedCheckout::RequestedSession.amount_subtotal from longInteger to nullable(longInteger)
    • Change type of DelegatedCheckout::RequestedSession.amount_total from longInteger to nullable(longInteger)
    • Add support for amount_discount, amount_subtotal, amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout::RequestedSession::LineItemDetail
    • Add support for amount_subtotal_after_discount on DelegatedCheckout::RequestedSession::LineItemDetail and DelegatedCheckout::RequestedSession::TotalDetail
    • Change type of InvoiceCreatePreviewParams::ScheduleDetail.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • Add support for current_trial on InvoiceCreatePreviewParams::SubscriptionDetail::Item, SubscriptionCreateParams::Item, SubscriptionItemCreateParams, SubscriptionItemUpdateParams, SubscriptionItem, and SubscriptionUpdateParams::Item
    • Change type of QuoteCreateParams::SubscriptionDataOverride.billing_schedules and QuoteCreateParams::SubscriptionDatum.billing_schedules from emptyable(array(billing_schedules_create_specs)) to array(billing_schedules_create_specs)
    • Change type of Quote::SubscriptionDataOverride.billing_schedules and Quote::SubscriptionDatum.billing_schedules from nullable(array(SubscriptionsResourceBillingSchedules)) to array(QuotesResourceSubscriptionDataBillingSchedules)
    • Change type of Quote::SubscriptionDataOverride.phase_effective_at and Quote::SubscriptionDatum.phase_effective_at from nullable(enum('billing_period_start'|'phase_start')) to enum('billing_period_start'|'line_start')
    • Change type of QuotePreviewSubscriptionSchedule::DefaultSetting.phase_effective_at and SubscriptionSchedule::DefaultSetting.phase_effective_at from nullable(enum('billing_period_start'|'phase_start')) to enum('billing_period_start'|'phase_start')
    • Change type of QuotePreviewSubscriptionSchedule.billing_schedules and SubscriptionSchedule.billing_schedules from nullable(array(SubscriptionsResourceBillingSchedules)) to array(SubscriptionsResourceBillingSchedules)
    • Remove support for amendment_start, line_starts_at, and relative on Subscription::BillingSchedule::BillFrom
    • Change type of Subscription::BillingSchedule::BillFrom.computed_timestamp from nullable(DateTime) to DateTime
    • Change type of Subscription::BillingSchedule::BillFrom.type from enum to literal('timestamp')
    • Remove support for amendment_end and line_ends_at on Subscription::BillingSchedule::BillUntil
    • Change type of V2::Billing::ServiceAction::CreditGrant::Amount.monetary, V2::Billing::ServiceAction::CreditGrantPerTenant::Amount.monetary, V2::Billing::ServiceActionCreateParams::CreditGrant::Amount.monetary, and V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount.monetary from amount to an object
    • Add support for future_requirements on V2::Core::Account
    • Add support for konbini_payments and script_statement_descriptor on V2::Core::Account::Configuration::Merchant, V2::Core::AccountCreateParams::Configuration::Merchant, and V2::Core::AccountUpdateParams::Configuration::Merchant
    • Add support for eur on V2::Core::Account::Configuration::Storer::Capability::HoldsCurrency, V2::Core::AccountCreateParams::Configuration::Storer::Capability::HoldsCurrency, and V2::Core::AccountUpdateParams::Configuration::Storer::Capability::HoldsCurrency
    • Add support for requirements_collector on V2::Core::Account::Default::Responsibility
    • Remove support for collector on V2::Core::Account::Requirement
    • Remove support for v1_event_id on V2::Core::Event
    • Remove support for amount_details and capture_method on V2::Payments::OffSessionPaymentCreateParams and V2::Payments::OffSessionPayment
    • Change type of V2::Payments::OffSessionPayment.amount_capturable from amount to an object
    • Change type of V2::Payments::OffSessionPayment.amount_requested from amount to an object
    • Change type of V2::Payments::OffSessionPaymentCreateParams.amount from amount to an object
    • Change V2::Payments::OffSessionPaymentCreateParams::RetryDetail.retry_strategy to be optional
    • Remove support for destination on V2::Payments::OffSessionPaymentCaptureParams::TransferDatum
    • Change V2::Payments::OffSessionPaymentCaptureParams.amount_to_capture to be optional
    • Add support for created on V2::Core::EventListParams
    • Remove support for gt, gte, lt, and lte on V2::Core::EventListParams
    • Add support for account_token on V2::Core::AccountCreateParams and V2::Core::AccountUpdateParams
    • Add support for person_token on V2::Core::AccountPersonCreateParams and V2::Core::AccountPersonUpdateParams
    • Add support for impacted_requests_percentage on EventsV2CoreHealthApiErrorFiringEvent, EventsV2CoreHealthApiErrorResolvedEvent, EventsV2CoreHealthApiLatencyFiringEvent, EventsV2CoreHealthApiLatencyResolvedEvent, EventsV2CoreHealthPaymentMethodErrorFiringEvent, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent
    • Add support for context and related_object on EventsV2CoreHealthEventGenerationFailureResolvedEvent
    • Remove support for account, livemode, missing_delivery_attempts, and related_object_id on EventsV2CoreHealthEventGenerationFailureResolvedEvent
    • Change type of EventsV2CoreHealthFraudRateIncreasedEvent.realized_fraud_amount from amount to an object
    • Change type of EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.approved_amount, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.approved_amount, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.approved_amount, and EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.approved_amount from amount to an object
    • Change type of EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.declined_amount, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.declined_amount, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.declined_amount, and EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.declined_amount from amount to an object
    • Add support for thin events V2PaymentsOffSessionPaymentAttemptFailedEvent and V2PaymentsOffSessionPaymentAttemptStartedEvent with related object V2::Payments::OffSessionPayment
    • Remove support for thin event V1AccountUpdatedEvent with related object Account
    • Remove support for thin events V1ApplicationFeeCreatedEvent and V1ApplicationFeeRefundedEvent with related object ApplicationFee
    • Remove support for thin events V1BillingPortalConfigurationCreatedEvent and V1BillingPortalConfigurationUpdatedEvent with related object BillingPortal::Configuration
    • Remove support for thin event V1CapabilityUpdatedEvent with related object Capability
    • Remove support for thin events V1ChargeCapturedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, and V1ChargeUpdatedEvent with related object Charge
    • Remove support for thin events V1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, and V1ChargeDisputeUpdatedEvent with related object Dispute
    • Remove support for thin events V1ChargeRefundUpdatedEvent, V1RefundCreatedEvent, V1RefundFailedEvent, and V1RefundUpdatedEvent with related object Refund
    • Remove support for thin events V1CheckoutSessionAsyncPaymentFailedEvent, V1CheckoutSessionAsyncPaymentSucceededEvent, V1CheckoutSessionCompletedEvent, and V1CheckoutSessionExpiredEvent with related object Checkout::Session
    • Remove support for thin events V1ClimateOrderCanceledEvent, V1ClimateOrderCreatedEvent, V1ClimateOrderDelayedEvent, V1ClimateOrderDeliveredEvent, and V1ClimateOrderProductSubstitutedEvent with related object Climate::Order
    • Remove support for thin events `V1Cl...
Read more

v18.1.0-beta.1

18 Nov 19:22

Choose a tag to compare

v18.1.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-11-17.preview.

  • #1722 Update generated code for beta
    • Add support for new resources V2::Core::AccountPersonToken and V2::Core::AccountToken
    • Remove support for resource V2::Payments::OffSessionPayment
    • Add support for create and retrieve methods on resources V2::Core::AccountPersonToken and V2::Core::AccountToken
    • Remove support for cancel, capture, create, list, and retrieve methods on resource V2::Payments::OffSessionPayment
    • Change Tax::Association.tax_transaction_attempts to be required
    • Add support for specified_commercial_transactions_act_url on Account::BusinessProfile, AccountCreateParams::BusinessProfile, and AccountUpdateParams::BusinessProfile
    • Add support for paypay_payments on Account::Setting, AccountCreateParams::Setting, and AccountUpdateParams::Setting
    • Change type of Billing::Analytics::MeterUsageRetrieveParams::Meter.dimension_filters from string to array(string)
    • Change type of Billing::Analytics::MeterUsageRetrieveParams::Meter.tenant_filters from string to array(string)
    • Add support for car_rental_data, flight_data, and lodging_data on ChargeCaptureParams::PaymentDetail, ChargeUpdateParams::PaymentDetail, PaymentIntentCaptureParams::PaymentDetail, PaymentIntentConfirmParams::PaymentDetail, PaymentIntentCreateParams::PaymentDetail, and PaymentIntentUpdateParams::PaymentDetail
    • Add support for supplementary_purchase_data on OrderCreateParams::Payment::Setting::PaymentMethodOption::Klarna, OrderUpdateParams::Payment::Setting::PaymentMethodOption::Klarna, PaymentIntentConfirmParams::PaymentMethodOption::Klarna, PaymentIntentCreateParams::PaymentMethodOption::Klarna, and PaymentIntentUpdateParams::PaymentMethodOption::Klarna
    • Add support for allow_redisplay and customer_account on PaymentMethodListParams
    • Add support for future_requirements on V2::Core::Account
    • Add support for konbini_payments and script_statement_descriptor on V2::Core::Account::Configuration::Merchant, V2::Core::AccountCreateParams::Configuration::Merchant, and V2::Core::AccountUpdateParams::Configuration::Merchant
    • Add support for eur on V2::Core::Account::Configuration::Storer::Capability::HoldsCurrency, V2::Core::AccountCreateParams::Configuration::Storer::Capability::HoldsCurrency, and V2::Core::AccountUpdateParams::Configuration::Storer::Capability::HoldsCurrency
    • Add support for requirements_collector on V2::Core::Account::Default::Responsibility
    • Remove support for collector on V2::Core::Account::Requirement
    • Add support for changes on V2::Core::Event
    • Add support for account_token on V2::Core::AccountCreateParams and V2::Core::AccountUpdateParams
    • Add support for person_token on V2::Core::AccountPersonCreateParams and V2::Core::AccountPersonUpdateParams
    • Add support for changes on V2::Core::Event
    • Add support for thin event V2CoreHealthEventGenerationFailureResolvedEvent
    • Remove support for thin events V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent, V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent, V2PaymentsOffSessionPaymentCanceledEvent, V2PaymentsOffSessionPaymentCreatedEvent, V2PaymentsOffSessionPaymentFailedEvent, V2PaymentsOffSessionPaymentRequiresCaptureEvent, and V2PaymentsOffSessionPaymentSucceededEvent with related object V2::Payments::OffSessionPayment

See the changelog for more details.

v18.1.0-alpha.1

18 Nov 19:47

Choose a tag to compare

v18.1.0-alpha.1 Pre-release
Pre-release

This release changes the pinned API version to 2025-11-17.preview.

  • #1731 Update generated code for private-preview
    • Add support for billing_schedules_actions on InvoiceCreatePreviewParams::ScheduleDetail::Amendment and SubscriptionScheduleAmendParams::Amendment
  • #1730 Update generated code for private-preview
    • Add support for new resources BalanceTransfer and Radar::AccountEvaluation
    • Add support for create method on resource BalanceTransfer
    • Add support for create, retrieve, and update methods on resource Radar::AccountEvaluation
    • Change Tax::Association.tax_transaction_attempts to be required
    • Add support for specified_commercial_transactions_act_url on Account::BusinessProfile, AccountCreateParams::BusinessProfile, and AccountUpdateParams::BusinessProfile
    • Add support for paypay_payments on Account::Setting, AccountCreateParams::Setting, and AccountUpdateParams::Setting
    • Change type of Billing::Analytics::MeterUsageRetrieveParams::Meter.dimension_filters from string to array(string)
    • Change type of Billing::Analytics::MeterUsageRetrieveParams::Meter.tenant_filters from string to array(string)
    • Add support for payment_method_configuration on BillingPortal::Configuration::Feature::PaymentMethodUpdate
    • Add support for car_rental_data, flight_data, and lodging_data on ChargeCaptureParams::PaymentDetail, ChargeUpdateParams::PaymentDetail, PaymentIntentCaptureParams::PaymentDetail, PaymentIntentConfirmParams::PaymentDetail, PaymentIntentCreateParams::PaymentDetail, and PaymentIntentUpdateParams::PaymentDetail
    • Add support for transaction_id on Charge::PaymentMethodDetail::Ideal, PaymentAttemptRecord::PaymentMethodDetail::Ideal, and PaymentRecord::PaymentMethodDetail::Ideal
    • Add support for created on CustomerCustomerBalanceTransactionListParams and InvoicePaymentListParams
    • Add support for account_numbers on FinancialConnections::Account
    • Change type of FinancialConnections::Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on Issuing::AuthorizationCreateParams::RiskAssessment
    • Add support for latest_fraud_warning on Issuing::Card
    • Add support for supplementary_purchase_data on OrderCreateParams::Payment::Setting::PaymentMethodOption::Klarna, OrderUpdateParams::Payment::Setting::PaymentMethodOption::Klarna, PaymentIntentConfirmParams::PaymentMethodOption::Klarna, PaymentIntentCreateParams::PaymentMethodOption::Klarna, and PaymentIntentUpdateParams::PaymentMethodOption::Klarna
    • Add support for capture_method on PaymentIntent::PaymentMethodOption::CardPresent, PaymentIntentConfirmParams::PaymentMethodOption::CardPresent, PaymentIntentCreateParams::PaymentMethodOption::CardPresent, and PaymentIntentUpdateParams::PaymentMethodOption::CardPresent
    • Add support for allow_redisplay and customer_account on PaymentMethodListParams
    • Add support for mb_way and twint on Refund::DestinationDetail
    • Change type of SubscriptionScheduleUpdateParams.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))

See the changelog for more details.

v18.0.0

18 Nov 18:49

Choose a tag to compare

This release changes the pinned API version to 2025-11-17.clover.

  • #1729 Update generated code
    • ⚠️ Remove support for gt, gte, lt, and lte on V2::Core::EventListParams in favor of created.
  • #1727 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #1725 Update generated code
    • Add support for new resources Tax::Association and Terminal::OnboardingLink
    • Add support for find method on resource Tax::Association
    • Add support for create method on resource Terminal::OnboardingLink
    • Add support for payment_method_configuration on BillingPortal::Configuration::Feature::PaymentMethodUpdate
    • Add support for transaction_id on Charge::PaymentMethodDetail::Ideal, PaymentAttemptRecord::PaymentMethodDetail::Ideal, and PaymentRecord::PaymentMethodDetail::Ideal
    • Add support for created on CustomerCustomerBalanceTransactionListParams and InvoicePaymentListParams
    • Add support for account_numbers on FinancialConnections::Account
    • Change type of FinancialConnections::Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on Issuing::AuthorizationCreateParams::RiskAssessment
    • Add support for latest_fraud_warning on Issuing::Card
    • Add support for hooks on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntent
    • Add support for mb_way and twint on Refund::DestinationDetail

See the changelog for more details.