Skip to content

Releases: stripe/stripe-ruby

v18.4.0-alpha.3

11 Feb 19:41

Choose a tag to compare

v18.4.0-alpha.3 Pre-release
Pre-release
  • #1780 Update generated code for private-preview
    • Add support for new resources V2::Billing::CadenceSpendModifier, V2::Billing::OneTimeItem, and V2::Billing::RateCardCustomPricingUnitOverageRate
    • Add support for create, delete, list, and retrieve methods on resource V2::Billing::RateCardCustomPricingUnitOverageRate
    • Add support for create, list, retrieve, and update methods on resource V2::Billing::OneTimeItem
    • Add support for retrieve method on resource V2::Billing::CadenceSpendModifier
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.value, V2::Billing::ServiceAction::CreditGrant::Amount::Monetary.value, V2::Billing::ServiceAction::CreditGrantPerTenant::Amount::Monetary.value, V2::Billing::ServiceActionCreateParams::CreditGrant::Amount::Monetary.value, V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount::Monetary.value, V2::Core::Account::Identity::BusinessDetail::AnnualRevenue::Amount.value, V2::Core::Account::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.value, V2::Core::AccountCreateParams::Identity::BusinessDetail::AnnualRevenue::Amount.value, V2::Core::AccountCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.value, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::AnnualRevenue::Amount.value, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.value, V2::Core::AccountUpdateParams::Identity::BusinessDetail::AnnualRevenue::Amount.value, V2::Core::AccountUpdateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.value, V2::FinancialAddressCreditSimulationCreditParams::Amount.value, V2::FinancialAddressGeneratedMicrodeposits::Amount.value, V2::MoneyManagement::Adjustment::Amount.value, V2::MoneyManagement::CurrencyConversion::From::Amount.value, V2::MoneyManagement::CurrencyConversion::To::Amount.value, V2::MoneyManagement::CurrencyConversionCreateParams::From::Amount.value, V2::MoneyManagement::CurrencyConversionCreateParams::To::Amount.value, V2::MoneyManagement::FinancialAccount::Balance::Available.value, V2::MoneyManagement::FinancialAccount::Balance::InboundPending.value, V2::MoneyManagement::FinancialAccount::Balance::OutboundPending.value, V2::MoneyManagement::FinancialAccount::Payment::StartingBalance::Available.value, V2::MoneyManagement::InboundTransfer::Amount.value, V2::MoneyManagement::InboundTransfer::From::Debited.value, V2::MoneyManagement::InboundTransfer::To::Credited.value, V2::MoneyManagement::InboundTransferCreateParams::Amount.value, V2::MoneyManagement::OutboundPayment::Amount.value, V2::MoneyManagement::OutboundPayment::From::Debited.value, V2::MoneyManagement::OutboundPayment::To::Credited.value, V2::MoneyManagement::OutboundPaymentCreateParams::Amount.value, V2::MoneyManagement::OutboundPaymentQuote::Amount.value, V2::MoneyManagement::OutboundPaymentQuote::EstimatedFee::Amount.value, V2::MoneyManagement::OutboundPaymentQuote::From::Debited.value, V2::MoneyManagement::OutboundPaymentQuote::To::Credited.value, V2::MoneyManagement::OutboundPaymentQuoteCreateParams::Amount.value, V2::MoneyManagement::OutboundTransfer::Amount.value, V2::MoneyManagement::OutboundTransfer::From::Debited.value, V2::MoneyManagement::OutboundTransfer::To::Credited.value, V2::MoneyManagement::OutboundTransferCreateParams::Amount.value, V2::MoneyManagement::ReceivedCredit::Amount.value, V2::MoneyManagement::ReceivedCredit::ExternalAmount.value, V2::MoneyManagement::ReceivedDebit::Amount.value, V2::MoneyManagement::ReceivedDebit::CardSpend::Authorization::Amount.value, V2::MoneyManagement::ReceivedDebit::CardSpend::CardTransaction::Amount.value, V2::MoneyManagement::ReceivedDebit::ExternalAmount.value, V2::MoneyManagement::Transaction::Amount.value, V2::MoneyManagement::Transaction::BalanceImpact::Available.value, V2::MoneyManagement::Transaction::BalanceImpact::InboundPending.value, V2::MoneyManagement::Transaction::BalanceImpact::OutboundPending.value, V2::MoneyManagement::TransactionEntry::BalanceImpact::Available.value, V2::MoneyManagement::TransactionEntry::BalanceImpact::InboundPending.value, V2::MoneyManagement::TransactionEntry::BalanceImpact::OutboundPending.value, V2::Payments::OffSessionPayment::AmountCapturable.value, V2::Payments::OffSessionPayment::AmountRequested.value, V2::Payments::OffSessionPaymentCreateParams::Amount.value, V2::Payments::SettlementAllocationIntent::Amount.value, V2::Payments::SettlementAllocationIntentCreateParams::Amount.value, V2::Payments::SettlementAllocationIntentSplit::Amount.value, V2::Payments::SettlementAllocationIntentSplitCreateParams::Amount.value, and V2::Payments::SettlementAllocationIntentUpdateParams::Amount.value to be required
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.currency, V2::Billing::ServiceAction::CreditGrant::Amount::Monetary.currency, V2::Billing::ServiceAction::CreditGrantPerTenant::Amount::Monetary.currency, V2::Billing::ServiceActionCreateParams::CreditGrant::Amount::Monetary.currency, V2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount::Monetary.currency, V2::Core::Account::Identity::BusinessDetail::AnnualRevenue::Amount.currency, V2::Core::Account::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.currency, V2::Core::AccountCreateParams::Identity::BusinessDetail::AnnualRevenue::Amount.currency, V2::Core::AccountCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.currency, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::AnnualRevenue::Amount.currency, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.currency, V2::Core::AccountUpdateParams::Identity::BusinessDetail::AnnualRevenue::Amount.currency, V2::Core::AccountUpdateParams::Identity::BusinessDetail::MonthlyEstimatedRevenue::Amount.currency, V2::FinancialAddressCreditSimulationCreditParams::Amount.currency, V2::FinancialAddressGeneratedMicrodeposits::Amount.currency, V2::MoneyManagement::Adjustment::Amount.currency, V2::MoneyManagement::CurrencyConversion::From::Amount.currency, V2::MoneyManagement::CurrencyConversion::To::Amount.currency, V2::MoneyManagement::CurrencyConversionCreateParams::From::Amount.currency, V2::MoneyManagement::CurrencyConversionCreateParams::To::Amount.currency, V2::MoneyManagement::FinancialAccount::Balance::Available.currency, V2::MoneyManagement::FinancialAccount::Balance::InboundPending.currency, V2::MoneyManagement::FinancialAccount::Balance::OutboundPending.currency, V2::MoneyManagement::FinancialAccount::Payment::StartingBalance::Available.currency, V2::MoneyManagement::InboundTransfer::Amount.currency, V2::MoneyManagement::InboundTransfer::From::Debited.currency, V2::MoneyManagement::InboundTransfer::To::Credited.currency, V2::MoneyManagement::InboundTransferCreateParams::Amount.currency, V2::MoneyManagement::OutboundPayment::Amount.currency, V2::MoneyManagement::OutboundPayment::From::Debited.currency, V2::MoneyManagement::OutboundPayment::To::Credited.currency, V2::MoneyManagement::OutboundPaymentCreateParams::Amount.currency, V2::MoneyManagement::OutboundPaymentQuote::Amount.currency, V2::MoneyManagement::OutboundPaymentQuote::EstimatedFee::Amount.currency, V2::MoneyManagement::OutboundPaymentQuote::From::Debited.currency, V2::MoneyManagement::OutboundPaymentQuote::To::Credited.currency, V2::MoneyManagement::OutboundPaymentQuoteCreateParams::Amount.currency, V2::MoneyManagement::OutboundTransfer::Amount.currency, V2::MoneyManagement::OutboundTransfer::From::Debited.currency, V2::MoneyManagement::OutboundTransfer::To::Credited.currency, V2::MoneyManagement::OutboundTransferCreateParams::Amount.currency, V2::MoneyManagement::ReceivedCredit::Amount.currency, V2::MoneyManagement::ReceivedCredit::ExternalAmount.currency, V2::MoneyManagement::ReceivedDebit::Amount.currency, V2::MoneyManagement::ReceivedDebit::CardSpend::Authorization::Amount.currency, V2::MoneyManagement::ReceivedDebit::CardSpend::CardTransaction::Amount.currency, V2::MoneyManagement::ReceivedDebit::ExternalAmount.currency, V2::MoneyManagement::Transaction::Amount.currency, V2::MoneyManagement::Transaction::BalanceImpact::Available.currency, V2::MoneyManagement::Transaction::BalanceImpact::InboundPending.currency, V2::MoneyManagement::Transaction::BalanceImpact::OutboundPending.currency, V2::MoneyManagement::TransactionEntry::BalanceImpact::Available.currency, V2::MoneyManagement::TransactionEntry::BalanceImpact::InboundPending.currency, V2::MoneyManagement::TransactionEntry::BalanceImpact::OutboundPending.currency, V2::Payments::OffSessionPayment::AmountCapturable.currency, V2::Payments::OffSessionPayment::AmountRequested.currency, V2::Payments::OffSessionPaymentCreateParams::Amount.currency, V2::Payments::SettlementAllocationIntent::Amount.currency, V2::Payments::SettlementAllocationIntentCreateParams::Amount.currency, V2::Payments::SettlementAllocationIntentSplit::Amount.currency, V2::Payments::SettlementAllocationIntentSplitCreateParams::Amount.currency, and V2::Payments::SettlementAllocationIntentUpdateParams::Amount.currency to be...
Read more

v18.4.0-beta.2

04 Feb 00:27

Choose a tag to compare

v18.4.0-beta.2 Pre-release
Pre-release
  • #1775
    • References to Stripe objects from *Param class fields are now fully qualified in stripe.rbi. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.

See the changelog for more details.

v18.4.0-alpha.2

04 Feb 17:24

Choose a tag to compare

v18.4.0-alpha.2 Pre-release
Pre-release
  • #1774 Update generated code for private-preview
    • Add support for new resource V2::Core::ConnectionSession
    • Add support for create and retrieve methods on resource V2::Core::ConnectionSession
    • Add support for list method on resources V2::Payments::SettlementAllocationIntentSplit and V2::Payments::SettlementAllocationIntent
    • Add support for agentic_commerce_settings on AccountSessionCreateParams::Component
    • Add support for terminal_hardware_orders and terminal_hardware_shop on AccountSession::Component and AccountSessionCreateParams::Component
    • Add support for network_cost_passthrough_report on AccountSession::Component
    • Add support for cadence_data on V2::Billing::IntentCreateParams and V2::Billing::Intent
    • Add support for cancellation_details on V2::Billing::IntentAction::Deactivate, V2::Billing::IntentCreateParams::Action::Deactivate, and V2::Billing::PricingPlanSubscription
    • Add support for contact_phone on V2::Core::AccountCreateParams, V2::Core::AccountTokenCreateParams, V2::Core::AccountUpdateParams, and V2::Core::Account
    • Add support for registration_date on V2::Core::Account::Identity::BusinessDetail, V2::Core::AccountCreateParams::Identity::BusinessDetail, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, and V2::Core::AccountUpdateParams::Identity::BusinessDetail
    • Add support for reference on V2::MoneyManagement::Adjustment
    • Add support for accrued_fees on V2::MoneyManagement::FinancialAccount
    • Add support for starting_balance on V2::MoneyManagement::FinancialAccount::Payment
    • Add support for account_holder_address and account_holder_name on V2::MoneyManagement::FinancialAddress::Credential::UsBankAccount
    • Add support for fingerprint on V2::MoneyManagement::PayoutMethod::Card
    • Add support for card_spend on V2::MoneyManagement::ReceivedCredit and V2::MoneyManagement::ReceivedDebit
    • Add support for application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on V2::MoneyManagement::Transaction::Flow and V2::MoneyManagement::TransactionEntry::TransactionDetail::Flow
    • Change V2::Payments::SettlementAllocationIntentSplit.flow to be optional
    • Change V2::Billing::RateCardRateCreateParams.metered_item to be required

See the changelog for more details.

v18.3.1

04 Feb 00:24

Choose a tag to compare

  • #1777
    • References to Stripe objects from *Param class fields are now fully qualified in stripe.rbi. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.

See the changelog for more details.

v18.4.0-beta.1

28 Jan 21:19

Choose a tag to compare

v18.4.0-beta.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #1762 Update generated code for beta
    • Add support for new resource FinancialConnections::Authorization
    • Add support for retrieve method on resource FinancialConnections::Authorization
    • Add support for detach_payment method on resource Invoice
    • Remove support for cancel, list_line_items, and reopen methods on resource Order
    • Remove support for attach_cadence method on resource Subscription
    • Add support for additional_files and site on Account::Setting::PaypayPayment, AccountCreateParams::Setting::PaypayPayment, and AccountUpdateParams::Setting::PaypayPayment
    • Remove support for capital on Account::Setting
    • Change type of Charge::PaymentMethodDetail::StripeBalance.source_type, ConfirmationToken::PaymentMethodPreview::StripeBalance.source_type, PaymentAttemptRecord::PaymentMethodDetail::StripeBalance.source_type, PaymentMethod::StripeBalance.source_type, and PaymentRecord::PaymentMethodDetail::StripeBalance.source_type from enum('bank_account'|'card'|'fpx') to nullable(enum('bank_account'|'card'|'fpx'))
    • Add support for authorization and status_details on FinancialConnections::Account
    • Add support for relink_options on FinancialConnections::SessionCreateParams and FinancialConnections::Session
    • Change FinancialConnections::SessionCreateParams.account_holder to be optional
    • Add support for relink_result on FinancialConnections::Session
    • Remove support for billing_cadence on InvoiceCreatePreviewParams, SubscriptionCreateParams, SubscriptionUpdateParams, and Subscription
    • Remove support for billing_cadence_details on Invoice::Parent and QuotePreviewInvoice::Parent
    • Add support for car_rental_data, flight_data, and lodging_data on PaymentIntent::PaymentDetail
    • Change QuotePreviewInvoice::PaymentSetting::PaymentMethodOption.payto to be required
    • Add support for alternative_reference on V2::Core::Vault::GbBankAccount, V2::Core::Vault::UsBankAccount, and V2::MoneyManagement::PayoutMethod
    • Add support for account_holder_address and account_holder_name on V2::MoneyManagement::FinancialAddress::Credential::UsBankAccount
    • Add support for fingerprint on V2::MoneyManagement::PayoutMethod::Card
  • #1758 Fix preserving null param values when calling v2 APIs
    • Nil input params are now preserved when calling V2 APIs. Add additional tests for nil when calling V2 services you do not accidentally include an unintentional nil value. V1 API calls are not affected (nil values are stripped from params hashes in V1).
  • #1747 Add EventNotificationHandler example

See the changelog for more details.

v18.4.0-alpha.1

28 Jan 21:23

Choose a tag to compare

v18.4.0-alpha.1 Pre-release
Pre-release

This release changes the pinned API version to 2026-01-28.preview.

  • #1772 Update generated code for private-preview
    • Add support for new resources FrMealVouchersOnboarding, Reserve::Hold, Reserve::Plan, and Reserve::Release
    • Add support for create, list, retrieve, and update methods on resource FrMealVouchersOnboarding
    • Add support for list and retrieve methods on resources Reserve::Hold and Reserve::Release
    • Add support for retrieve method on resource Reserve::Plan
    • Add support for pause method on resource Subscription
    • Add support for service_period_details on Discount
    • Add support for agentic_commerce_settings on AccountSession::Component
    • Add support for service_period on CouponCreateParams and Coupon
    • Change type of InvoiceItem::Pricing::PriceDetail.price and InvoiceLineItem::Pricing::PriceDetail.price from string to expandable($Price)
    • Add support for settings on InvoiceCreatePreviewParams::Discount, InvoiceCreatePreviewParams::ScheduleDetail::Amendment::DiscountAction::Add, InvoiceCreatePreviewParams::ScheduleDetail::Amendment::DiscountAction::Set, InvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Add::Discount, InvoiceCreatePreviewParams::ScheduleDetail::Amendment::ItemAction::Set::Discount, InvoiceCreatePreviewParams::ScheduleDetail::Phase::Discount, InvoiceCreatePreviewParams::ScheduleDetail::Phase::Item::Discount, InvoiceCreatePreviewParams::SubscriptionDetail::Item::Discount, QuoteCreateParams::Line::Action::AddDiscount, QuoteCreateParams::Line::Action::AddItem::Discount, QuoteCreateParams::Line::Action::SetDiscount, QuoteCreateParams::Line::Action::SetItem::Discount, QuoteUpdateParams::Line::Action::AddDiscount, QuoteUpdateParams::Line::Action::AddItem::Discount, QuoteUpdateParams::Line::Action::SetDiscount, QuoteUpdateParams::Line::Action::SetItem::Discount, SubscriptionCreateParams::Discount, SubscriptionCreateParams::Item::Discount, SubscriptionItemCreateParams::Discount, SubscriptionItemUpdateParams::Discount, SubscriptionScheduleAmendParams::Amendment::DiscountAction::Add, SubscriptionScheduleAmendParams::Amendment::DiscountAction::Set, SubscriptionScheduleAmendParams::Amendment::ItemAction::Add::Discount, SubscriptionScheduleAmendParams::Amendment::ItemAction::Set::Discount, SubscriptionScheduleCreateParams::Phase::Discount, SubscriptionScheduleCreateParams::Phase::Item::Discount, SubscriptionScheduleUpdateParams::Phase::Discount, SubscriptionScheduleUpdateParams::Phase::Item::Discount, SubscriptionUpdateParams::Discount, and SubscriptionUpdateParams::Item::Discount
    • Add support for subtotal on InvoiceLineItem
    • Add support for billing_cadence on SubscriptionListParams

See the changelog for more details.

v18.3.0

28 Jan 21:15

Choose a tag to compare

This release changes the pinned API version to 2026-01-28.clover.

  • #1771 Update generated code
    • Add support for new resource Radar::PaymentEvaluation
    • Add support for create method on resource Radar::PaymentEvaluation
    • Add support for adjustable_quantity on LineItem
    • Change Invoice::PaymentSetting::PaymentMethodOption.payto and Subscription::PaymentSetting::PaymentMethodOption.payto to be required
    • Add support for enforce_arithmetic_validation on PaymentIntentCaptureParams::AmountDetail, PaymentIntentConfirmParams::AmountDetail, PaymentIntentCreateParams::AmountDetail, PaymentIntentIncrementAuthorizationParams::AmountDetail, and PaymentIntentUpdateParams::AmountDetail
    • Add support for error on PaymentIntent::AmountDetail
    • Remove support for bgn on Terminal::Configuration::Tipping, Terminal::ConfigurationCreateParams::Tipping, and Terminal::ConfigurationUpdateParams::Tipping
    • Add support for topup on Treasury::ReceivedDebit::LinkedFlow
    • Add support for contact_phone on V2::Core::AccountCreateParams, V2::Core::AccountTokenCreateParams, V2::Core::AccountUpdateParams, and V2::Core::Account
    • Add support for registration_date on V2::Core::Account::Identity::BusinessDetail, V2::Core::AccountCreateParams::Identity::BusinessDetail, V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, and V2::Core::AccountUpdateParams::Identity::BusinessDetail
  • #1769 Document usage of undocumented API parameters

See the changelog for more details.

v18.3.0-alpha.1

21 Jan 18:54

Choose a tag to compare

v18.3.0-alpha.1 Pre-release
Pre-release
  • #1770 Update generated code for private-preview
    • Remove support for pause method on resource Subscription
    • Change type of Quote::SubscriptionDataOverride.phase_effective_at and Quote::SubscriptionDatum.phase_effective_at from enum('billing_period_start'|'phase_start') to nullable(enum('billing_period_start'|'phase_start'))

See the changelog for more details.

v18.2.0

16 Jan 21:26

Choose a tag to compare

  • #1767 Update generated code
    • Add support for event notifications V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, and V2CoreAccountUpdatedEvent with related object V2::Core::Account
    • Add support for event notification V2CoreAccountLinkReturnedEvent
    • Add support for event notifications V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, and V2CoreAccountPersonUpdatedEvent with related object V2::Core::AccountPerson

See the changelog for more details.

v18.2.0-alpha.3

14 Jan 19:44

Choose a tag to compare

v18.2.0-alpha.3 Pre-release
Pre-release
  • #1763 Update generated code for private-preview
    • Add support for risk_details on DelegatedCheckout::RequestedSession
    • Remove support for description, images, and name on DelegatedCheckout::RequestedSession::LineItemDetail
    • Add support for name on ProductCatalog::TrialOfferCreateParams and ProductCatalog::TrialOffer
    • Add support for login_failed and registration_failed on Radar::AccountEvaluation::Event and Radar::AccountEvaluationUpdateParams
    • Change type of Radar::AccountEvaluationUpdateParams.type from literal('registration_succeeded') to enum('login_failed'|'login_succeeded'|'registration_failed'|'registration_succeeded')
    • Add support for tracking_details on V2::MoneyManagement::OutboundPayment
    • Add support for paper_check on V2::MoneyManagement::OutboundPayment::DeliveryOption and V2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOption
    • Add support for event notification V2CoreAccountIncludingFutureRequirementsUpdatedEvent with related object V2::Core::Account

See the changelog for more details.