Releases: stripe/stripe-ruby
Releases · stripe/stripe-ruby
v18.1.0-alpha.4
- #1740 Update generated code for private-preview
- Add support for event notifications
V2IamApiKeyCreatedEvent,V2IamApiKeyDefaultSecretRevealedEvent,V2IamApiKeyExpiredEvent,V2IamApiKeyPermissionsUpdatedEvent,V2IamApiKeyRotatedEvent, andV2IamApiKeyUpdatedEvent
- Add support for event notifications
- #1739 Update generated code for private-preview
- Add support for
check_scanningonAccountSession::Component - Add support for
clientonV2::Core::Event::Reason::Request - Add support for
stripe_balance_paymentonV2::MoneyManagement::ReceivedCreditandV2::MoneyManagement::ReceivedDebit - Add support for
balance_transferonV2::MoneyManagement::ReceivedDebit - Add support for
includeonV2::Core::EventListParamsandV2::Core::EventRetrieveParams
- Add support for
v18.1.0-alpha.3
- #1737 Update generated code for private-preview
- Add support for new resource
ProductCatalog::TrialOffer - Add support for
createmethod on resourceProductCatalog::TrialOffer - Remove support for
amount_subtotal_after_discountonDelegatedCheckout::RequestedSession::LineItemDetailandDelegatedCheckout::RequestedSession::TotalDetail - Remove support for
amount_total,unit_amount_after_discount, andunit_discountonDelegatedCheckout::RequestedSession::LineItemDetail - Add support for
amount_cart_discountandamount_items_discountonDelegatedCheckout::RequestedSession::TotalDetail - Remove support for
amount_discountonDelegatedCheckout::RequestedSession::TotalDetail - Add support for
payments_orchestrationonPaymentIntentCreateParamsandPaymentIntent
- Add support for new resource
v18.0.1
- #1736 Throw a specific error when accessing
payment_intentproperty onInvoiceobject to ease debugging.
v18.1.0-alpha.2
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, andV2::MoneyManagement::CurrencyConversion - Add support for
create,list, andretrievemethods on resourceV2::MoneyManagement::CurrencyConversion - Add support for
createandretrievemethods on resourcesV2::Core::AccountPersonTokenandV2::Core::AccountToken - Add support for
effective_atonInvoiceCreatePreviewParams::ScheduleDetail::Amendment,InvoiceCreatePreviewParams::ScheduleDetail::Phase,QuoteCreateParams::Line,QuoteLine,QuotePreviewSubscriptionSchedule::Phase,QuoteUpdateParams::Line,SubscriptionSchedule::Phase,SubscriptionScheduleAmendParams::Amendment,SubscriptionScheduleCreateParams::Phase, andSubscriptionScheduleUpdateParams::Phase - Add support for
trial_offeronInvoiceCreatePreviewParams::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, andSubscriptionScheduleUpdateParams::Phase::Item - Change type of
DelegatedCheckout::RequestedSession.amount_subtotalfromlongIntegertonullable(longInteger) - Change type of
DelegatedCheckout::RequestedSession.amount_totalfromlongIntegertonullable(longInteger) - Add support for
amount_discount,amount_subtotal,amount_total,unit_amount_after_discount, andunit_discountonDelegatedCheckout::RequestedSession::LineItemDetail - Add support for
amount_subtotal_after_discountonDelegatedCheckout::RequestedSession::LineItemDetailandDelegatedCheckout::RequestedSession::TotalDetail - Change type of
InvoiceCreatePreviewParams::ScheduleDetail.billing_schedulesfromarray(billing_schedules_update_params)toemptyable(array(billing_schedules_update_params)) - Add support for
current_trialonInvoiceCreatePreviewParams::SubscriptionDetail::Item,SubscriptionCreateParams::Item,SubscriptionItemCreateParams,SubscriptionItemUpdateParams,SubscriptionItem, andSubscriptionUpdateParams::Item - Change type of
QuoteCreateParams::SubscriptionDataOverride.billing_schedulesandQuoteCreateParams::SubscriptionDatum.billing_schedulesfromemptyable(array(billing_schedules_create_specs))toarray(billing_schedules_create_specs) - Change type of
Quote::SubscriptionDataOverride.billing_schedulesandQuote::SubscriptionDatum.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(QuotesResourceSubscriptionDataBillingSchedules) - Change type of
Quote::SubscriptionDataOverride.phase_effective_atandQuote::SubscriptionDatum.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'line_start') - Change type of
QuotePreviewSubscriptionSchedule::DefaultSetting.phase_effective_atandSubscriptionSchedule::DefaultSetting.phase_effective_atfromnullable(enum('billing_period_start'|'phase_start'))toenum('billing_period_start'|'phase_start') - Change type of
QuotePreviewSubscriptionSchedule.billing_schedulesandSubscriptionSchedule.billing_schedulesfromnullable(array(SubscriptionsResourceBillingSchedules))toarray(SubscriptionsResourceBillingSchedules) - Remove support for
amendment_start,line_starts_at, andrelativeonSubscription::BillingSchedule::BillFrom - Change type of
Subscription::BillingSchedule::BillFrom.computed_timestampfromnullable(DateTime)toDateTime - Change type of
Subscription::BillingSchedule::BillFrom.typefromenumtoliteral('timestamp') - Remove support for
amendment_endandline_ends_atonSubscription::BillingSchedule::BillUntil - Change type of
V2::Billing::ServiceAction::CreditGrant::Amount.monetary,V2::Billing::ServiceAction::CreditGrantPerTenant::Amount.monetary,V2::Billing::ServiceActionCreateParams::CreditGrant::Amount.monetary, andV2::Billing::ServiceActionCreateParams::CreditGrantPerTenant::Amount.monetaryfromamounttoan object - Add support for
future_requirementsonV2::Core::Account - Add support for
konbini_paymentsandscript_statement_descriptoronV2::Core::Account::Configuration::Merchant,V2::Core::AccountCreateParams::Configuration::Merchant, andV2::Core::AccountUpdateParams::Configuration::Merchant - Add support for
euronV2::Core::Account::Configuration::Storer::Capability::HoldsCurrency,V2::Core::AccountCreateParams::Configuration::Storer::Capability::HoldsCurrency, andV2::Core::AccountUpdateParams::Configuration::Storer::Capability::HoldsCurrency - Add support for
requirements_collectoronV2::Core::Account::Default::Responsibility - Remove support for
collectoronV2::Core::Account::Requirement - Remove support for
v1_event_idonV2::Core::Event - Remove support for
amount_detailsandcapture_methodonV2::Payments::OffSessionPaymentCreateParamsandV2::Payments::OffSessionPayment - Change type of
V2::Payments::OffSessionPayment.amount_capturablefromamounttoan object - Change type of
V2::Payments::OffSessionPayment.amount_requestedfromamounttoan object - Change type of
V2::Payments::OffSessionPaymentCreateParams.amountfromamounttoan object - Change
V2::Payments::OffSessionPaymentCreateParams::RetryDetail.retry_strategyto be optional - Remove support for
destinationonV2::Payments::OffSessionPaymentCaptureParams::TransferDatum - Change
V2::Payments::OffSessionPaymentCaptureParams.amount_to_captureto be optional - Add support for
createdonV2::Core::EventListParams - Remove support for
gt,gte,lt, andlteonV2::Core::EventListParams - Add support for
account_tokenonV2::Core::AccountCreateParamsandV2::Core::AccountUpdateParams - Add support for
person_tokenonV2::Core::AccountPersonCreateParamsandV2::Core::AccountPersonUpdateParams - Add support for
impacted_requests_percentageonEventsV2CoreHealthApiErrorFiringEvent,EventsV2CoreHealthApiErrorResolvedEvent,EventsV2CoreHealthApiLatencyFiringEvent,EventsV2CoreHealthApiLatencyResolvedEvent,EventsV2CoreHealthPaymentMethodErrorFiringEvent, andEventsV2CoreHealthPaymentMethodErrorResolvedEvent - Add support for
contextandrelated_objectonEventsV2CoreHealthEventGenerationFailureResolvedEvent - Remove support for
account,livemode,missing_delivery_attempts, andrelated_object_idonEventsV2CoreHealthEventGenerationFailureResolvedEvent - Change type of
EventsV2CoreHealthFraudRateIncreasedEvent.realized_fraud_amountfromamounttoan object - Change type of
EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.approved_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.approved_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.approved_amountfromamounttoan object - Change type of
EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.declined_amount,EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.declined_amount, andEventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.declined_amountfromamounttoan object - Add support for thin events
V2PaymentsOffSessionPaymentAttemptFailedEventandV2PaymentsOffSessionPaymentAttemptStartedEventwith related objectV2::Payments::OffSessionPayment - Remove support for thin event
V1AccountUpdatedEventwith related objectAccount - Remove support for thin events
V1ApplicationFeeCreatedEventandV1ApplicationFeeRefundedEventwith related objectApplicationFee - Remove support for thin events
V1BillingPortalConfigurationCreatedEventandV1BillingPortalConfigurationUpdatedEventwith related objectBillingPortal::Configuration - Remove support for thin event
V1CapabilityUpdatedEventwith related objectCapability - Remove support for thin events
V1ChargeCapturedEvent,V1ChargeExpiredEvent,V1ChargeFailedEvent,V1ChargePendingEvent,V1ChargeRefundedEvent,V1ChargeSucceededEvent, andV1ChargeUpdatedEventwith related objectCharge - Remove support for thin events
V1ChargeDisputeClosedEvent,V1ChargeDisputeCreatedEvent,V1ChargeDisputeFundsReinstatedEvent,V1ChargeDisputeFundsWithdrawnEvent, andV1ChargeDisputeUpdatedEventwith related objectDispute - Remove support for thin events
V1ChargeRefundUpdatedEvent,V1RefundCreatedEvent,V1RefundFailedEvent, andV1RefundUpdatedEventwith related objectRefund - Remove support for thin events
V1CheckoutSessionAsyncPaymentFailedEvent,V1CheckoutSessionAsyncPaymentSucceededEvent,V1CheckoutSessionCompletedEvent, andV1CheckoutSessionExpiredEventwith related objectCheckout::Session - Remove support for thin events
V1ClimateOrderCanceledEvent,V1ClimateOrderCreatedEvent,V1ClimateOrderDelayedEvent,V1ClimateOrderDeliveredEvent, andV1ClimateOrderProductSubstitutedEventwith related objectClimate::Order - Remove support for thin events `V1Cl...
- Add support for new resources
v18.1.0-beta.1
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::AccountPersonTokenandV2::Core::AccountToken - Remove support for resource
V2::Payments::OffSessionPayment - Add support for
createandretrievemethods on resourcesV2::Core::AccountPersonTokenandV2::Core::AccountToken - Remove support for
cancel,capture,create,list, andretrievemethods on resourceV2::Payments::OffSessionPayment - Change
Tax::Association.tax_transaction_attemptsto be required - Add support for
specified_commercial_transactions_act_urlonAccount::BusinessProfile,AccountCreateParams::BusinessProfile, andAccountUpdateParams::BusinessProfile - Add support for
paypay_paymentsonAccount::Setting,AccountCreateParams::Setting, andAccountUpdateParams::Setting - Change type of
Billing::Analytics::MeterUsageRetrieveParams::Meter.dimension_filtersfromstringtoarray(string) - Change type of
Billing::Analytics::MeterUsageRetrieveParams::Meter.tenant_filtersfromstringtoarray(string) - Add support for
car_rental_data,flight_data, andlodging_dataonChargeCaptureParams::PaymentDetail,ChargeUpdateParams::PaymentDetail,PaymentIntentCaptureParams::PaymentDetail,PaymentIntentConfirmParams::PaymentDetail,PaymentIntentCreateParams::PaymentDetail, andPaymentIntentUpdateParams::PaymentDetail - Add support for
supplementary_purchase_dataonOrderCreateParams::Payment::Setting::PaymentMethodOption::Klarna,OrderUpdateParams::Payment::Setting::PaymentMethodOption::Klarna,PaymentIntentConfirmParams::PaymentMethodOption::Klarna,PaymentIntentCreateParams::PaymentMethodOption::Klarna, andPaymentIntentUpdateParams::PaymentMethodOption::Klarna - Add support for
allow_redisplayandcustomer_accountonPaymentMethodListParams - Add support for
future_requirementsonV2::Core::Account - Add support for
konbini_paymentsandscript_statement_descriptoronV2::Core::Account::Configuration::Merchant,V2::Core::AccountCreateParams::Configuration::Merchant, andV2::Core::AccountUpdateParams::Configuration::Merchant - Add support for
euronV2::Core::Account::Configuration::Storer::Capability::HoldsCurrency,V2::Core::AccountCreateParams::Configuration::Storer::Capability::HoldsCurrency, andV2::Core::AccountUpdateParams::Configuration::Storer::Capability::HoldsCurrency - Add support for
requirements_collectoronV2::Core::Account::Default::Responsibility - Remove support for
collectoronV2::Core::Account::Requirement - Add support for
changesonV2::Core::Event - Add support for
account_tokenonV2::Core::AccountCreateParamsandV2::Core::AccountUpdateParams - Add support for
person_tokenonV2::Core::AccountPersonCreateParamsandV2::Core::AccountPersonUpdateParams - Add support for
changesonV2::Core::Event - Add support for thin event
V2CoreHealthEventGenerationFailureResolvedEvent - Remove support for thin events
V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent,V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent,V2PaymentsOffSessionPaymentCanceledEvent,V2PaymentsOffSessionPaymentCreatedEvent,V2PaymentsOffSessionPaymentFailedEvent,V2PaymentsOffSessionPaymentRequiresCaptureEvent, andV2PaymentsOffSessionPaymentSucceededEventwith related objectV2::Payments::OffSessionPayment
- Add support for new resources
v18.1.0-alpha.1
This release changes the pinned API version to 2025-11-17.preview.
- #1731 Update generated code for private-preview
- Add support for
billing_schedules_actionsonInvoiceCreatePreviewParams::ScheduleDetail::AmendmentandSubscriptionScheduleAmendParams::Amendment
- Add support for
- #1730 Update generated code for private-preview
- Add support for new resources
BalanceTransferandRadar::AccountEvaluation - Add support for
createmethod on resourceBalanceTransfer - Add support for
create,retrieve, andupdatemethods on resourceRadar::AccountEvaluation - Change
Tax::Association.tax_transaction_attemptsto be required - Add support for
specified_commercial_transactions_act_urlonAccount::BusinessProfile,AccountCreateParams::BusinessProfile, andAccountUpdateParams::BusinessProfile - Add support for
paypay_paymentsonAccount::Setting,AccountCreateParams::Setting, andAccountUpdateParams::Setting - Change type of
Billing::Analytics::MeterUsageRetrieveParams::Meter.dimension_filtersfromstringtoarray(string) - Change type of
Billing::Analytics::MeterUsageRetrieveParams::Meter.tenant_filtersfromstringtoarray(string) - Add support for
payment_method_configurationonBillingPortal::Configuration::Feature::PaymentMethodUpdate - Add support for
car_rental_data,flight_data, andlodging_dataonChargeCaptureParams::PaymentDetail,ChargeUpdateParams::PaymentDetail,PaymentIntentCaptureParams::PaymentDetail,PaymentIntentConfirmParams::PaymentDetail,PaymentIntentCreateParams::PaymentDetail, andPaymentIntentUpdateParams::PaymentDetail - Add support for
transaction_idonCharge::PaymentMethodDetail::Ideal,PaymentAttemptRecord::PaymentMethodDetail::Ideal, andPaymentRecord::PaymentMethodDetail::Ideal - Add support for
createdonCustomerCustomerBalanceTransactionListParamsandInvoicePaymentListParams - Add support for
account_numbersonFinancialConnections::Account - Change type of
FinancialConnections::Session.client_secretfromstringtonullable(string) - Add support for
fraud_riskonIssuing::AuthorizationCreateParams::RiskAssessment - Add support for
latest_fraud_warningonIssuing::Card - Add support for
supplementary_purchase_dataonOrderCreateParams::Payment::Setting::PaymentMethodOption::Klarna,OrderUpdateParams::Payment::Setting::PaymentMethodOption::Klarna,PaymentIntentConfirmParams::PaymentMethodOption::Klarna,PaymentIntentCreateParams::PaymentMethodOption::Klarna, andPaymentIntentUpdateParams::PaymentMethodOption::Klarna - Add support for
capture_methodonPaymentIntent::PaymentMethodOption::CardPresent,PaymentIntentConfirmParams::PaymentMethodOption::CardPresent,PaymentIntentCreateParams::PaymentMethodOption::CardPresent, andPaymentIntentUpdateParams::PaymentMethodOption::CardPresent - Add support for
allow_redisplayandcustomer_accountonPaymentMethodListParams - Add support for
mb_wayandtwintonRefund::DestinationDetail - Change type of
SubscriptionScheduleUpdateParams.billing_schedulesfromarray(billing_schedules_update_params)toemptyable(array(billing_schedules_update_params))
- Add support for new resources
v18.0.0
This release changes the pinned API version to 2025-11-17.clover.
- #1729 Update generated code
⚠️ Remove support forgt,gte,lt, andlteonV2::Core::EventListParamsin favor ofcreated.
- #1727 Update v2 array parameter serialization to use indexed format
RetrieveandListcalls for/v2endpoints 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::AssociationandTerminal::OnboardingLink - Add support for
findmethod on resourceTax::Association - Add support for
createmethod on resourceTerminal::OnboardingLink - Add support for
payment_method_configurationonBillingPortal::Configuration::Feature::PaymentMethodUpdate - Add support for
transaction_idonCharge::PaymentMethodDetail::Ideal,PaymentAttemptRecord::PaymentMethodDetail::Ideal, andPaymentRecord::PaymentMethodDetail::Ideal - Add support for
createdonCustomerCustomerBalanceTransactionListParamsandInvoicePaymentListParams - Add support for
account_numbersonFinancialConnections::Account - Change type of
FinancialConnections::Session.client_secretfromstringtonullable(string) - Add support for
fraud_riskonIssuing::AuthorizationCreateParams::RiskAssessment - Add support for
latest_fraud_warningonIssuing::Card - Add support for
hooksonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntent - Add support for
mb_wayandtwintonRefund::DestinationDetail
- Add support for new resources
v17.3.0-alpha.2
This release changes the pinned API version to 2025-10-29.preview.
- #1728 Update generated code for private-preview
- Add support for new resource
Issuing::Program - Add support for
create,list,retrieve, andupdatemethods on resourceIssuing::Program - Add support for
scheduleonDiscount - Add support for
applicable_feesonDelegatedCheckout::RequestedSession::TotalDetail - Add support for
schedule_detailsonInvoice::Parent,InvoiceItem::Parent,InvoiceLineItem::Parent, andQuotePreviewInvoice::Parent - Add support for
billing_schedulesonInvoiceCreatePreviewParams::ScheduleDetail,QuotePreviewSubscriptionSchedule,SubscriptionScheduleCreateParams,SubscriptionScheduleUpdateParams, andSubscriptionSchedule - Add support for
latest_invoiceonQuotePreviewSubscriptionScheduleandSubscriptionSchedule - Add support for
phase_effective_atonQuotePreviewSubscriptionSchedule::DefaultSetting,SubscriptionSchedule::DefaultSetting,SubscriptionScheduleCreateParams::DefaultSetting, andSubscriptionScheduleUpdateParams::DefaultSetting
- Add support for new resource
- #1723 Update generated code for private-preview
- Remove support for resource
V2::Tax::AutomaticRule - Remove support for
create,deactivate,find,retrieve, andupdatemethods on resourceV2::Tax::AutomaticRule - Add support for
self_reported_incomeandself_reported_monthly_housing_paymentonAccountCreateParams::Individual,AccountPersonCreateParams,AccountPersonUpdateParams,AccountUpdateParams::Individual,Person,TokenCreateParams::Account::Individual, andTokenCreateParams::Person - Add support for
billing_schedulesandphase_effective_atonQuote::SubscriptionDataOverride,Quote::SubscriptionDatum,QuoteCreateParams::SubscriptionDataOverride,QuoteCreateParams::SubscriptionDatum,QuoteUpdateParams::SubscriptionDataOverride, andQuoteUpdateParams::SubscriptionDatum - Add support for
bill_fromonSubscription::BillingSchedule - Add support for
amendment_endandline_ends_atonSubscription::BillingSchedule::BillUntil
- Remove support for resource
v17.3.0-alpha.1
- #1720 Update generated code for private-preview
- Add support for new resources
TransitBalance,V2::Reporting::ReportRun,V2::Reporting::Report - Add support for
createandretrievemethods on resourcesV2::Billing::ServiceActionandV2::Reporting::ReportRun- Add support for
retrievemethod on resourcesV2::Billing::LicenseFeeSubscriptionandV2::Reporting::Report
- Add support for
- Add support for
createandrefilltest helper methods on resourceCapital::FinancingOffer - Add support for
allocated_fundsonCharge,PaymentIntentConfirmParams,PaymentIntentCreateParams, andPaymentIntentUpdateParams - Add support for thin events
V2ReportingReportRunCreatedEvent,V2ReportingReportRunFailedEvent,V2ReportingReportRunSucceededEvent, andV2ReportingReportRunUpdatedEventwith related objectV2::Reporting::ReportRun
- Add support for new resources
v17.2.0
- #1721 Update generated code
- Add support for
capture_methodonPaymentIntent::PaymentMethodOption::CardPresent,PaymentIntentConfirmParams::PaymentMethodOption::CardPresent,PaymentIntentCreateParams::PaymentMethodOption::CardPresent, andPaymentIntentUpdateParams::PaymentMethodOption::CardPresent
- Add support for