Releases: stripe/stripe-ruby
Releases · stripe/stripe-ruby
v18.4.0-alpha.3
- #1780 Update generated code for private-preview
- Add support for new resources
V2::Billing::CadenceSpendModifier,V2::Billing::OneTimeItem, andV2::Billing::RateCardCustomPricingUnitOverageRate - Add support for
create,delete,list, andretrievemethods on resourceV2::Billing::RateCardCustomPricingUnitOverageRate - Add support for
create,list,retrieve, andupdatemethods on resourceV2::Billing::OneTimeItem - Add support for
retrievemethod on resourceV2::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, andV2::Payments::SettlementAllocationIntentUpdateParams::Amount.valueto 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, andV2::Payments::SettlementAllocationIntentUpdateParams::Amount.currencyto be...
- Add support for new resources
v18.4.0-beta.2
- #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.
- References to Stripe objects from *Param class fields are now fully qualified in
v18.4.0-alpha.2
- #1774 Update generated code for private-preview
- Add support for new resource
V2::Core::ConnectionSession - Add support for
createandretrievemethods on resourceV2::Core::ConnectionSession - Add support for
listmethod on resourcesV2::Payments::SettlementAllocationIntentSplitandV2::Payments::SettlementAllocationIntent - Add support for
agentic_commerce_settingsonAccountSessionCreateParams::Component - Add support for
terminal_hardware_ordersandterminal_hardware_shoponAccountSession::ComponentandAccountSessionCreateParams::Component - Add support for
network_cost_passthrough_reportonAccountSession::Component - Add support for
cadence_dataonV2::Billing::IntentCreateParamsandV2::Billing::Intent - Add support for
cancellation_detailsonV2::Billing::IntentAction::Deactivate,V2::Billing::IntentCreateParams::Action::Deactivate, andV2::Billing::PricingPlanSubscription - Add support for
contact_phoneonV2::Core::AccountCreateParams,V2::Core::AccountTokenCreateParams,V2::Core::AccountUpdateParams, andV2::Core::Account - Add support for
registration_dateonV2::Core::Account::Identity::BusinessDetail,V2::Core::AccountCreateParams::Identity::BusinessDetail,V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, andV2::Core::AccountUpdateParams::Identity::BusinessDetail - Add support for
referenceonV2::MoneyManagement::Adjustment - Add support for
accrued_feesonV2::MoneyManagement::FinancialAccount - Add support for
starting_balanceonV2::MoneyManagement::FinancialAccount::Payment - Add support for
account_holder_addressandaccount_holder_nameonV2::MoneyManagement::FinancialAddress::Credential::UsBankAccount - Add support for
fingerprintonV2::MoneyManagement::PayoutMethod::Card - Add support for
card_spendonV2::MoneyManagement::ReceivedCreditandV2::MoneyManagement::ReceivedDebit - Add support for
application_fee_refund,application_fee,charge,dispute,payout,refund,reserve_hold,reserve_release,topup,transfer_reversal, andtransferonV2::MoneyManagement::Transaction::FlowandV2::MoneyManagement::TransactionEntry::TransactionDetail::Flow - Change
V2::Payments::SettlementAllocationIntentSplit.flowto be optional - Change
V2::Billing::RateCardRateCreateParams.metered_itemto be required
- Add support for new resource
v18.3.1
- #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.
- References to Stripe objects from *Param class fields are now fully qualified in
v18.4.0-beta.1
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
retrievemethod on resourceFinancialConnections::Authorization - Add support for
detach_paymentmethod on resourceInvoice - Remove support for
cancel,list_line_items, andreopenmethods on resourceOrder - Remove support for
attach_cadencemethod on resourceSubscription - Add support for
additional_filesandsiteonAccount::Setting::PaypayPayment,AccountCreateParams::Setting::PaypayPayment, andAccountUpdateParams::Setting::PaypayPayment - Remove support for
capitalonAccount::Setting - Change type of
Charge::PaymentMethodDetail::StripeBalance.source_type,ConfirmationToken::PaymentMethodPreview::StripeBalance.source_type,PaymentAttemptRecord::PaymentMethodDetail::StripeBalance.source_type,PaymentMethod::StripeBalance.source_type, andPaymentRecord::PaymentMethodDetail::StripeBalance.source_typefromenum('bank_account'|'card'|'fpx')tonullable(enum('bank_account'|'card'|'fpx')) - Add support for
authorizationandstatus_detailsonFinancialConnections::Account - Add support for
relink_optionsonFinancialConnections::SessionCreateParamsandFinancialConnections::Session - Change
FinancialConnections::SessionCreateParams.account_holderto be optional - Add support for
relink_resultonFinancialConnections::Session - Remove support for
billing_cadenceonInvoiceCreatePreviewParams,SubscriptionCreateParams,SubscriptionUpdateParams, andSubscription - Remove support for
billing_cadence_detailsonInvoice::ParentandQuotePreviewInvoice::Parent - Add support for
car_rental_data,flight_data, andlodging_dataonPaymentIntent::PaymentDetail - Change
QuotePreviewInvoice::PaymentSetting::PaymentMethodOption.paytoto be required - Add support for
alternative_referenceonV2::Core::Vault::GbBankAccount,V2::Core::Vault::UsBankAccount, andV2::MoneyManagement::PayoutMethod - Add support for
account_holder_addressandaccount_holder_nameonV2::MoneyManagement::FinancialAddress::Credential::UsBankAccount - Add support for
fingerprintonV2::MoneyManagement::PayoutMethod::Card
- Add support for new resource
- #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
v18.4.0-alpha.1
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, andReserve::Release - Add support for
create,list,retrieve, andupdatemethods on resourceFrMealVouchersOnboarding - Add support for
listandretrievemethods on resourcesReserve::HoldandReserve::Release - Add support for
retrievemethod on resourceReserve::Plan - Add support for
pausemethod on resourceSubscription - Add support for
service_period_detailsonDiscount - Add support for
agentic_commerce_settingsonAccountSession::Component - Add support for
service_periodonCouponCreateParamsandCoupon - Change type of
InvoiceItem::Pricing::PriceDetail.priceandInvoiceLineItem::Pricing::PriceDetail.pricefromstringtoexpandable($Price) - Add support for
settingsonInvoiceCreatePreviewParams::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, andSubscriptionUpdateParams::Item::Discount - Add support for
subtotalonInvoiceLineItem - Add support for
billing_cadenceonSubscriptionListParams
- Add support for new resources
v18.3.0
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
createmethod on resourceRadar::PaymentEvaluation - Add support for
adjustable_quantityonLineItem - Change
Invoice::PaymentSetting::PaymentMethodOption.paytoandSubscription::PaymentSetting::PaymentMethodOption.paytoto be required - Add support for
enforce_arithmetic_validationonPaymentIntentCaptureParams::AmountDetail,PaymentIntentConfirmParams::AmountDetail,PaymentIntentCreateParams::AmountDetail,PaymentIntentIncrementAuthorizationParams::AmountDetail, andPaymentIntentUpdateParams::AmountDetail - Add support for
erroronPaymentIntent::AmountDetail - Remove support for
bgnonTerminal::Configuration::Tipping,Terminal::ConfigurationCreateParams::Tipping, andTerminal::ConfigurationUpdateParams::Tipping - Add support for
topuponTreasury::ReceivedDebit::LinkedFlow - Add support for
contact_phoneonV2::Core::AccountCreateParams,V2::Core::AccountTokenCreateParams,V2::Core::AccountUpdateParams, andV2::Core::Account - Add support for
registration_dateonV2::Core::Account::Identity::BusinessDetail,V2::Core::AccountCreateParams::Identity::BusinessDetail,V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, andV2::Core::AccountUpdateParams::Identity::BusinessDetail
- Add support for new resource
- #1769 Document usage of undocumented API parameters
v18.3.0-alpha.1
- #1770 Update generated code for private-preview
- Remove support for
pausemethod on resourceSubscription - Change type of
Quote::SubscriptionDataOverride.phase_effective_atandQuote::SubscriptionDatum.phase_effective_atfromenum('billing_period_start'|'phase_start')tonullable(enum('billing_period_start'|'phase_start'))
- Remove support for
v18.2.0
- #1767 Update generated code
- Add support for event notifications
V2CoreAccountClosedEvent,V2CoreAccountCreatedEvent,V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationCustomerUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientUpdatedEvent,V2CoreAccountIncludingDefaultsUpdatedEvent,V2CoreAccountIncludingFutureRequirementsUpdatedEvent,V2CoreAccountIncludingIdentityUpdatedEvent,V2CoreAccountIncludingRequirementsUpdatedEvent, andV2CoreAccountUpdatedEventwith related objectV2::Core::Account - Add support for event notification
V2CoreAccountLinkReturnedEvent - Add support for event notifications
V2CoreAccountPersonCreatedEvent,V2CoreAccountPersonDeletedEvent, andV2CoreAccountPersonUpdatedEventwith related objectV2::Core::AccountPerson
- Add support for event notifications
v18.2.0-alpha.3
- #1763 Update generated code for private-preview
- Add support for
risk_detailsonDelegatedCheckout::RequestedSession - Remove support for
description,images, andnameonDelegatedCheckout::RequestedSession::LineItemDetail - Add support for
nameonProductCatalog::TrialOfferCreateParamsandProductCatalog::TrialOffer - Add support for
login_failedandregistration_failedonRadar::AccountEvaluation::EventandRadar::AccountEvaluationUpdateParams - Change type of
Radar::AccountEvaluationUpdateParams.typefromliteral('registration_succeeded')toenum('login_failed'|'login_succeeded'|'registration_failed'|'registration_succeeded') - Add support for
tracking_detailsonV2::MoneyManagement::OutboundPayment - Add support for
paper_checkonV2::MoneyManagement::OutboundPayment::DeliveryOptionandV2::MoneyManagement::OutboundPaymentCreateParams::DeliveryOption - Add support for event notification
V2CoreAccountIncludingFutureRequirementsUpdatedEventwith related objectV2::Core::Account
- Add support for