chore(deps): update dependency stripe to v17 #442
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR contains the following updates:
'~> 12.0'->'~> 17.0'Release Notes
stripe/stripe-ruby (stripe)
v17.1.0Compare Source
This release changes the pinned API version to
2025-10-29.clover.PaymentAttemptRecord,PaymentIntentAmountDetailsLineItem, andPaymentRecordlistandretrievemethods on resourcePaymentAttemptRecordreport_payment_attempt_canceled,report_payment_attempt_failed,report_payment_attempt_guaranteed,report_payment_attempt_informational,report_payment_attempt,report_payment,report_refund, andretrievemethods on resourcePaymentRecordlistmethod on resourcePaymentIntentAmountDetailsLineItemrepresentative_declarationonAccount::Company,AccountCreateParams::Company,AccountUpdateParams::Company, andTokenCreateParams::Account::CompanyBilling::CreditGrantCreateParams.categoryto be optionalpayment_method_configurationonBillingPortal::ConfigurationCreateParams::Feature::PaymentMethodUpdateandBillingPortal::ConfigurationUpdateParams::Feature::PaymentMethodUpdatetwintonCheckout::Session::PaymentMethodOptionandCheckout::SessionCreateParams::PaymentMethodOptionpayment_record_refundandtypeonCreditNote::Refund,CreditNoteCreateParams::Refund,CreditNoteListPreviewLineItemsParams::Refund, andCreditNotePreviewParams::Refundcustomer_sheetandmobile_payment_elementonCustomerSession::ComponentandCustomerSessionCreateParams::ComponentprovideronCustomer::Taxpayment_recordonInvoiceAttachPaymentParams,InvoicePayment::Payment, andInvoicePaymentListParams::PaymentInvoicePaymentListParams::Payment.typefromliteral('payment_intent')toenum('payment_intent'|'payment_record')amount_detailsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams, andPaymentIntentUpdateParamspayment_detailsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntentdiscount_amount,line_items,shipping, andtaxonPaymentIntent::AmountDetailname_collectiononPaymentLinkCreateParams,PaymentLinkUpdateParams, andPaymentLinkcryptoonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration, andRefund::DestinationDetailmb_wayonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfigurationcustomonPaymentMethodCreateParamsandPaymentMethodexcluded_payment_method_typesonSetupIntentCreateParams,SetupIntentUpdateParams, andSetupIntentSetupIntent.flow_directionsto be optionaltwonTax::Registration::CountryOptionandTax::RegistrationCreateParams::CountryOptiongiponTerminal::Configuration::Tipping,Terminal::ConfigurationCreateParams::Tipping, andTerminal::ConfigurationUpdateParams::Tippinglast_seen_atonTerminal::Readergt,gte,lt,lte, andtypesonV2::Core::EventListParamsV2::Core::EventListParams.object_idto be optionalv17.0.1Compare Source
V2::AmountandV2::DeletedObjectin gemv17.0.0Compare Source
v16.0.0Compare Source
This release changes the pinned API version to⚠️  below)
2025-09-30.cloverand contains breaking changes (prefixed with#1652⚠️   Deserialize inner types in resources for more detailed types
Stripe::Customer.addressis deserialized to specific aStripe::Customer::Addressclass instead of the genericStripe::StripeObject, as is suggested by the static type annotationsStripe::StripeObject#1649 Explicitly define methods for RBIs and ship combined RBI for Tapioca
#1677 Move
V2.EventAPI resources toV2.Core.EventsStripe::V2::EventandStripe::V2::EventDestinationtoStripe::V2::Core::EventandStripe::V2::Core::EventDestinationrespectively. They now correctly match their API path#1664 Add
StripeContextobjectStripeContextclass. Previously you could set the stripe_context to only a string value. Now you can use the new class as wellEventNotification(formerly known asThinEvent)'scontextproperty fromstringtoStripeContext#1684⚠️  Drop support for Ruby < 2.6 & clarify version policy
#1651⚠️  Build SDK w/ V2 OpenAPI spec
StripeClient.v2namespace) now return aV2DeletedObjectwhich has the id of the object that has been deleted and a string representing the type of the object that has been deleted.T::Hash[String, T.untyped]. Because there were no params, it's unlikely you were using these classes.#1650⚠️  Add strongly typed EventNotifications
We've overhauled how V2 Events are handled in the SDK! This approach should provide a lot more information at authoring and compile time, leading to more robust integrations. As part of this process, there are a number of changes to be aware of.
EventNotificationclasses to every v2EventV1BillingMeterErrorReportTriggeredEventNotificationto match the existingV1BillingMeterErrorReportTriggeredEventfetch_event()method to retrieve its corresponding eventfetch_related_object()method that performs the API call and casts the response to the correct type on both theEventNotificationandEvent.StripeClient.parse_thin_eventtoStripeClient.parse_event_notificationand remove theStripe::ThinEventclass.Stripe::V2::Core::EventNotification(which is the shared base class that all of the more specificStripe::Event::*EventNotificationclasses share) instead ofStripe::ThinEvent. When applicable, these event notifications will have therelatedObjectproperty and afetch_related_object()function. They also have afetch_event()method to retrieve their correspondingStripe::Events::*Eventinstance.Stripe::Events::UnknownEventNotificationinstead of a more specific type. It has both therelated_objectproperty and thefetch_related_object()function (but they may be/returnnil)EventsmoduleStripe::V1BillingMeterErrorReportTriggeredEventis nowStripe::Events::V1BillingMeterErrorReportTriggeredEvent#1670⚠️  Unify resource and service method parameters into one class
Stripe::Account::CreateParamsandStripe::AccountService::CreateParamshave moved toStripe::AccountCreateParams#1643, #1667, #1680, #1678 Update generated code based on incoming API changes in the
2025-09-30.cloverAPI version.balance_reportandpayout_reconciliation_reportonAccountSession::ComponentandAccountSession::CreateParams::ComponentInvoice.idto be required (i.e. not nilable).BalanceSettingsretrieveandupdatemethods on resourceBalanceSettingssourceonDiscountcoupononDiscount,PromotionCode::CreateParams, andPromotionCodemb_way_paymentsonAccount::Capability,Account::CreateParams::Capability, andAccount::UpdateParams::Capabilitytrial_update_behavioronBillingPortal::Configuration::CreateParams::Feature::SubscriptionUpdate,BillingPortal::Configuration::Feature::SubscriptionUpdate, andBillingPortal::Configuration::UpdateParams::Feature::SubscriptionUpdatemb_wayonCharge::PaymentMethodDetail,ConfirmationToken::CreateParams::PaymentMethodDatum,ConfirmationToken::PaymentMethodPreview,PaymentIntent::ConfirmParams::PaymentMethodDatum,PaymentIntent::ConfirmParams::PaymentMethodOption,PaymentIntent::CreateParams::PaymentMethodDatum,PaymentIntent::CreateParams::PaymentMethodOption,PaymentIntent::PaymentMethodOption,PaymentIntent::UpdateParams::PaymentMethodDatum,PaymentIntent::UpdateParams::PaymentMethodOption,PaymentMethod::CreateParams,PaymentMethod,SetupIntent::ConfirmParams::PaymentMethodDatum,SetupIntent::CreateParams::PaymentMethodDatum, andSetupIntent::UpdateParams::PaymentMethodDatumbranding_settingsandname_collectiononCheckout::Session::CreateParamsandCheckout::Sessionexcluded_payment_method_typesonCheckout::Session::CreateParams,Checkout::Session,PaymentIntent::ConfirmParams, andPaymentIntent::UpdateParamsunit_labelonCheckout::Session::CreateParams::LineItem::PriceDatum::ProductDatum,Invoice::AddLinesParams::Line::PriceDatum::ProductDatum,Invoice::UpdateLinesParams::Line::PriceDatum::ProductDatum,InvoiceLineItem::UpdateParams::PriceDatum::ProductDatum, andPaymentLink::CreateParams::LineItem::PriceDatum::ProductDatumalma,billie, andsatispayonCheckout::Session::CreateParams::PaymentMethodOptionandCheckout::Session::PaymentMethodOptiondemo_payonCheckout::Session::CreateParams::PaymentMethodOptioncapture_methodonCheckout::Session::CreateParams::PaymentMethodOption::Affirm,Checkout::Session::CreateParams::PaymentMethodOption::AfterpayClearpay,Checkout::Session::CreateParams::PaymentMethodOption::AmazonPay,Checkout::Session::CreateParams::PaymentMethodOption::Card,Checkout::Session::CreateParams::PaymentMethodOption::Cashapp,Checkout::Session::CreateParams::PaymentMethodOption::Klarna,Checkout::Session::CreateParams::PaymentMethodOption::Link,Checkout::Session::CreateParams::PaymentMethodOption::Mobilepay,Checkout::Session::CreateParams::PaymentMethodOption::RevolutPay,Checkout::Session::PaymentMethodOption::Affirm,Checkout::Session::PaymentMethodOption::AfterpayClearpay,Checkout::Session::PaymentMethodOption::AmazonPay,Checkout::Session::PaymentMethodOption::Card,Checkout::Session::PaymentMethodOption::Cashapp,Checkout::Session::PaymentMethodOption::Klarna,Checkout::Session::PaymentMethodOption::Link,Checkout::Session::PaymentMethodOption::Mobilepay, andCheckout::Session::PaymentMethodOption::RevolutPayflexibleonCheckout::Session::CreateParams::SubscriptionDatum::BillingMode,Invoice::CreatePreviewParams::ScheduleDetail::BillingMode,Invoice::CreatePreviewParams::SubscriptionDetail::BillingMode,Quote::CreateParams::SubscriptionDatum::BillingMode,Quote::SubscriptionDatum::BillingMode,Subscription::BillingMode,Subscription::CreateParams::BillingMode,Subscription::MigrateParams::BillingMode,SubscriptionSchedule::BillingMode, andSubscriptionSchedule::CreateParams::BillingModebusiness_nameandindividual_nameonCheckout::Session::CollectedInformation,Checkout::Session::CustomerDetail,Customer::CreateParams,Customer::UpdateParams, andCustomerchargeback_loss_reason_codeonDispute::PaymentMethodDetail::Klarnanet_amountandproration_detailsonInvoiceItemiterationsonInvoice::CreatePreviewParams::ScheduleDetail::Phase,SubscriptionSchedule::CreateParams::Phase, andSubscriptionSchedule::UpdateParams::Phasefraud_disputability_likelihoodandrisk_assessmentonIssuing::Authorization::CreateParamssecond_lineonIssuing::Cardfr_meal_voucher_conecsonPaymentMethodConfiguration::CreateParamsandPaymentMethodConfiguration::UpdateParamslinkandpay_by_bankonPaymentMethod::UpdateParamspromotiononPromotionCode::CreateParamsandPromotionCodeprovideronTax::Settings::Defaultbbpos_wisepad3onTerminal::Configuration::CreateParams,Terminal::Configuration::UpdateParams, andTerminal::Configurationaddress_kana,address_kanji,display_name_kana,display_name_kanji, andphoneonTerminal::Location::CreateParams,Terminal::Location::UpdateParams, andTerminal::LocationTerminal::Location::CreateParams.addressto be optionalTerminal::Location::CreateParams.display_nameto be optionalv15.5.0Compare Source
2025-08-27.basil.balance_report,payout_details, andpayout_reconciliation_reportonAccountSession::ComponentandAccountSession::CreateParams::ComponentnameonBillingPortal::Configuration::CreateParams,BillingPortal::Configuration::UpdateParams, andBillingPortal::ConfigurationinstallmentsonCharge::PaymentMethodDetail::Almatransaction_idonCharge::PaymentMethodDetail::Alma,Charge::PaymentMethodDetail::AmazonPay,Charge::PaymentMethodDetail::Billie,Charge::PaymentMethodDetail::KakaoPay,Charge::PaymentMethodDetail::KrCard,Charge::PaymentMethodDetail::NaverPay,Charge::PaymentMethodDetail::Payco,Charge::PaymentMethodDetail::RevolutPay,Charge::PaymentMethodDetail::SamsungPay, andCharge::PaymentMethodDetail::SatispaylocationandreaderonCharge::PaymentMethodDetail::Paynowamount_includes_iofonCheckout::Session::CreateParams::PaymentMethodOption::Pix,Checkout::Session::PaymentMethodOption::Pix,PaymentIntent::ConfirmParams::PaymentMethodOption::Pix,PaymentIntent::CreateParams::PaymentMethodOption::Pix,PaymentIntent::PaymentMethodOption::Pix, andPaymentIntent::UpdateParams::PaymentMethodOption::PixmetadataandperiodonInvoice::CreatePreviewParams::ScheduleDetail::Phase::AddInvoiceItem,Subscription::CreateParams::AddInvoiceItem,Subscription::UpdateParams::AddInvoiceItem,SubscriptionSchedule::CreateParams::Phase::AddInvoiceItem,SubscriptionSchedule::Phase::AddInvoiceItem, andSubscriptionSchedule::UpdateParams::Phase::AddInvoiceItemexp_monthandexp_yearonIssuing::Card::CreateParamsexcluded_payment_method_typesonPaymentIntent::CreateParamsandPaymentIntentpayout_methodonPayout::CreateParamsandPayoutmxnonTerminal::Configuration::CreateParams::Tipping,Terminal::Configuration::Tipping, andTerminal::Configuration::UpdateParams::TippingcardonTerminal::Reader::PresentPaymentMethodParamsstripe_clientusage tracking for StripeClientT.nilablebefore every emptyable field in update methodsv15.4.0Compare Source
This release changes the pinned API version to
2025-07-30.basil.instant_payouts_promotiononAccountSession::ComponentandAccountSession::CreateParams::Componentadjustable_quantityonBillingPortal::Configuration::CreateParams::Feature::SubscriptionUpdate::Product,BillingPortal::Configuration::Feature::SubscriptionUpdate::Product, andBillingPortal::Configuration::UpdateParams::Feature::SubscriptionUpdate::Producttransaction_idonCharge::PaymentMethodDetail::Cashapporigin_contextonCheckout::Session::CreateParamsandCheckout::SessiontemplateonCheckout::Session::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption,Checkout::Session::InvoiceCreation::InvoiceDatum::RenderingOption,PaymentLink::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption,PaymentLink::InvoiceCreation::InvoiceDatum::RenderingOption, andPaymentLink::UpdateParams::InvoiceCreation::InvoiceDatum::RenderingOptionsetup_future_usageonCheckout::Session::CreateParams::PaymentMethodOption::PixandCheckout::Session::PaymentMethodOption::PixIdentity::VerificationSession::RelatedPerson.accountto be requiredIdentity::VerificationSession::RelatedPerson.personto be requireddurationonInvoice::CreatePreviewParams::ScheduleDetail::Phase,SubscriptionSchedule::CreateParams::Phase, andSubscriptionSchedule::UpdateParams::PhaseInvoice::CreatePreviewParams::SubscriptionDetail.cancel_at,Subscription::CreateParams.cancel_at, andSubscription::UpdateParams.cancel_atfromDateTimetoDateTime | enum('max_period_end'|'min_period_end')price_dataonPaymentLink::CreateParams::LineItemPaymentLink::CreateParams::LineItem.priceto be optionalstandardonTax::Registration::CountryOption::Ae,Tax::Registration::CountryOption::Au,Tax::Registration::CountryOption::Ch,Tax::Registration::CountryOption::Gb,Tax::Registration::CountryOption::Jp,Tax::Registration::CountryOption::No,Tax::Registration::CountryOption::Nz,Tax::Registration::CountryOption::Sg,Tax::Registration::CreateParams::CountryOption::Ae,Tax::Registration::CreateParams::CountryOption::Al,Tax::Registration::CreateParams::CountryOption::Ao,Tax::Registration::CreateParams::CountryOption::Au,Tax::Registration::CreateParams::CountryOption::Aw,Tax::Registration::CreateParams::CountryOption::B,Tax::Registration::CreateParams::CountryOption::Ba,Tax::Registration::CreateParams::CountryOption::Bb,Tax::Registration::CreateParams::CountryOption::Bd,Tax::Registration::CreateParams::CountryOption::Bf,Tax::Registration::CreateParams::CountryOption::Bh,Tax::Registration::CreateParams::CountryOption::Cd,Tax::Registration::CreateParams::CountryOption::Ch,Tax::Registration::CreateParams::CountryOption::Et,Tax::Registration::CreateParams::CountryOption::Gb,Tax::Registration::CreateParams::CountryOption::Gn,Tax::Registration::CreateParams::CountryOption::Is,Tax::Registration::CreateParams::CountryOption::Jp,Tax::Registration::CreateParams::CountryOption::Me,Tax::Registration::CreateParams::CountryOption::Mk,Tax::Registration::CreateParams::CountryOption::Mr,Tax::Registration::CreateParams::CountryOption::No,Tax::Registration::CreateParams::CountryOption::Nz,Tax::Registration::CreateParams::CountryOption::Om,Tax::Registration::CreateParams::CountryOption::R,Tax::Registration::CreateParams::CountryOption::Sg,Tax::Registration::CreateParams::CountryOption::Sr,Tax::Registration::CreateParams::CountryOption::Uy,Tax::Registration::CreateParams::CountryOption::Za, andTax::Registration::CreateParams::CountryOption::Zwaed,bgn,huf, andrononTerminal::Configuration::CreateParams::Tipping,Terminal::Configuration::Tipping, andTerminal::Configuration::UpdateParams::Tippingv15.3.0Compare Source
This release changes the pinned API version to
2025-06-30.basil.migratemethod on resourceSubscriptioncollect_payment_methodandconfirm_payment_intentmethods on resourceTerminal::Readercrypto_paymentsonAccount::Capability,Account::CreateParams::Capability, andAccount::UpdateParams::Capabilityproof_of_addressonAccount::CreateParams::DocumentandAccount::UpdateParams::Documentmonthly_payout_daysandweekly_payout_daysonAccount::CreateParams::Setting::Payout::Schedule,Account::Setting::Payout::Schedule, andAccount::UpdateParams::Setting::Payout::ScheduleAccount::Setting::Invoice.hosted_payment_method_saveto be requiredcryptoonCharge::PaymentMethodDetail,ConfirmationToken::CreateParams::PaymentMethodDatum,ConfirmationToken::PaymentMethodPreview,PaymentIntent::ConfirmParams::PaymentMethodDatum,PaymentIntent::ConfirmParams::PaymentMethodOption,PaymentIntent::CreateParams::PaymentMethodDatum,PaymentIntent::CreateParams::PaymentMethodOption,PaymentIntent::PaymentMethodOption,PaymentIntent::UpdateParams::PaymentMethodDatum,PaymentIntent::UpdateParams::PaymentMethodOption,PaymentMethod::CreateParams,PaymentMethod,SetupIntent::ConfirmParams::PaymentMethodDatum,SetupIntent::CreateParams::PaymentMethodDatum, andSetupIntent::UpdateParams::PaymentMethodDatumCharge::PaymentMethodDetail::Card::Installment::Plan.type,ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type,ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type,Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type,Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type,PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type,PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type,PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type,PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type, andPaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.typefromliteral('fixed_count')toenum('bonus'|'fixed_count'|'revolving')subscriptionsonCheckout::Session::CreateParams::PaymentMethodOption::Klarna,PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna,PaymentIntent::CreateParams::PaymentMethodOption::Klarna, andPaymentIntent::UpdateParams::PaymentMethodOption::Klarnabilling_modeonCheckout::Session::CreateParams::SubscriptionDatum,Invoice::CreatePreviewParams::ScheduleDetail,Invoice::CreatePreviewParams::SubscriptionDetail,Quote::CreateParams::SubscriptionDatum,Quote::SubscriptionDatum,Subscription::CreateParams,SubscriptionSchedule::CreateParams,SubscriptionSchedule, andSubscriptionDispute.enhanced_eligibility_typesfromliteral('visa_compelling_evidence_3')toenum('visa_compelling_evidence_3'|'visa_compliance')related_persononIdentity::VerificationSession::CreateParamsandIdentity::VerificationSessionmatchingonIdentity::VerificationSession::OptionklarnaonMandate::PaymentMethodDetail,SetupIntent::ConfirmParams::PaymentMethodOption,SetupIntent::CreateParams::PaymentMethodOption,SetupIntent::PaymentMethodOption, andSetupIntent::UpdateParams::PaymentMethodOptionon_demandonPaymentIntent::ConfirmParams::PaymentMethodOption::Klarna,PaymentIntent::CreateParams::PaymentMethodOption::Klarna, andPaymentIntent::UpdateParams::PaymentMethodOption::KlarnaPaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage,PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage,PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage, andPaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usagefromliteral('none')toenum('none'|'off_session'|'on_session')uaonTax::Registration::CountryOptionandTax::Registration::CreateParams::CountryOptionTerminal::Location::UpdateParams.display_namefromstringtoemptyable(string)collect_payment_methodandconfirm_payment_intentonTerminal::Reader::ActionstatusonTreasury::FinancialAccount::ListParamsraw_requestexample in READMEv15.2.1Compare Source
nilrequestor inWebhook.construct_eventto allow for event data refreshEventconstructed fromWebhook.construct_eventcould not be refreshed due to anilAPIRequestorv15.2.0Compare Source
This release changes the pinned API version to
2025-05-28.basil.attach_paymentmethod on resourceInvoicecollect_inputsmethod on resourceTerminal::Readersucceed_input_collectionandtimeout_input_collectiontest helper methods on resourceTerminal::Readerpix_paymentsonAccount::Capability,Account::CreateParams::Capability, andAccount::UpdateParams::Capabilitydisputes_listandpayment_disputesonAccountSession::ComponentandAccountSession::CreateParams::Componentrefund_and_dispute_prefundingonBalancebalance_typeonBalanceTransactionBilling::Alert::CreateParams::UsageThreshold.meterto be requiredlocationandreaderonCharge::PaymentMethodDetail::AffirmandCharge::PaymentMethodDetail::WechatPaypayment_method_removeonCheckout::Session::CreateParams::SavedPaymentMethodOptionsetup_future_usageonCheckout::Session::PaymentMethodOption::NaverPayConfirmationToken::PaymentMethodPreview::NaverPay.buyer_idandPaymentMethod::NaverPay.buyer_idto be requiredpost_payment_amountandpre_payment_amountonCreditNotesex,unparsed_place_of_birth, andunparsed_sexonIdentity::VerificationReport::DocumentandIdentity::VerificationSession::VerifiedOutputbilling_thresholdsonInvoice::CreatePreviewParams::ScheduleDetail::Phase::Item,Invoice::CreatePreviewParams::ScheduleDetail::Phase,Invoice::CreatePreviewParams::SubscriptionDetail::Item,Subscription::CreateParams::Item,Subscription::CreateParams,Subscription::UpdateParams::Item,Subscription::UpdateParams,SubscriptionItem::CreateParams,SubscriptionItem::UpdateParams,SubscriptionItem,SubscriptionSchedule::CreateParams::DefaultSetting,SubscriptionSchedule::CreateParams::Phase::Item,SubscriptionSchedule::CreateParams::Phase,SubscriptionSchedule::DefaultSetting,SubscriptionSchedule::Phase::Item,SubscriptionSchedule::Phase,SubscriptionSchedule::UpdateParams::DefaultSetting,SubscriptionSchedule::UpdateParams::Phase::Item,SubscriptionSchedule::UpdateParams::Phase, andSubscriptionsatispayonPaymentIntent::ConfirmParams::PaymentMethodOption,PaymentIntent::CreateParams::PaymentMethodOption,PaymentIntent::PaymentMethodOption, andPaymentIntent::UpdateParams::PaymentMethodOptioncapture_methodonPaymentIntent::PaymentMethodOption::Billiekakao_pay,kr_card,naver_pay,payco, andsamsung_payonPaymentMethodConfiguration::CreateParams,PaymentMethodConfiguration::UpdateParams, andPaymentMethodConfigurationnetwork_decline_codeonRefund::DestinationDetail::PaypalmetadataonTax::Calculation::CreateParams::LineItemandTax::CalculationLineItemreturn_urlonTerminal::Reader::Action::ProcessPaymentIntent::ProcessConfigandTerminal::Reader::ProcessPaymentIntentParams::ProcessConfigcollect_inputsonTerminal::Reader::Actionv15.1.0Compare Source
This release changes the pinned API version to
2025-04-30.basil.minority_owned_business_designationonAccount::BusinessProfile,Account::CreateParams::BusinessProfile, andAccount::UpdateParams::BusinessProfileregistration_dateonAccount::Company,Account::CreateParams::Company,Account::UpdateParams::Company, andToken::CreateParams::Account::Companyus_cfpb_dataonAccount::CreateParams,Account::UpdateParams,AccountPerson::CreateParams,AccountPerson::UpdateParams,Person, andToken::CreateParams::Persontax_idonCharge::BillingDetail,ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail,ConfirmationToken::PaymentMethodPreview::BillingDetail,PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail,PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail,PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail,PaymentMethod::BillingDetail,PaymentMethod::CreateParams::BillingDetail,PaymentMethod::UpdateParams::BillingDetail,SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail,SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail,SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail,TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail, andTreasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetailwallet_optionsonCheckout::Session::CreateParamsandCheckout::SessionprovideronCheckout::Session::AutomaticTax,Invoice::AutomaticTax, andQuote::AutomaticTaxpayment_method_optionsonConfirmationToken::CreateParamsandTestHelpers::ConfirmationToken::CreateParamsinstallmentsonConfirmationToken::PaymentMethodOption::CardcontextonEventInvoiceLineItem::Parent::SubscriptionItemDetail.subscriptionfromstringtonullable(string)billieonPaymentIntent::ConfirmParams::PaymentMethodOption,PaymentIntent::CreateParams::PaymentMethodOption,PaymentIntent::PaymentMethodOption, andPaymentIntent::UpdateParams::PaymentMethodOptionpixonPaymentMethodConfiguration::CreateParams,PaymentMethodConfiguration::UpdateParams, andPaymentMethodConfigurationklarnaonPaymentMethodDomainpending_reasononRefundTax::CalculationLineItem.referencefromnullable(string)tostringaw,az,bd,bf,bj,cm,cv,et,in,kg,la, andphonTax::Registration::CountryOptionandTax::Registration::CreateParams::CountryOptionv15.0.0Compare Source
Breaking change
#1574 Rename
object_idin V2::Core::EventService::ListParams toobject_id_object_idtoobject_id_onStripe::V2::Core::EventService::ListParamsto avoid conflict with Ruby native attribute, as found in #1567v14.0.0#1576 Explicitly pass through custom headers in retrieve
#1571 Validate all instance variable keys returned from the API
[]accessor.#1575 Remove unused youtube playlist link
#1573 Remove link for stale youtube video playlist
v14.0.0Compare Source
#1559 Add RBI annotations for fields and params
#1543 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil.Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummaryandSubscriptionItemUsageRecordcreatemethod on resourceSubscriptionItemUsageRecordlistmethod on resourceSubscriptionItemUsageRecordSummaryupcomingLinesandupcomingmethods on resourceInvoiceidempotent_replayed?method onStripeErrorStripeResponse.http_headers. For example, useresource.last_response.http_headers['Idempotent-Replayed']Additions to the Stripe API
InvoicePaymentlistandretrievemethods on resourceInvoicePaymentv13.5.1Compare Source
See the changelog for more details.
v13.5.0Compare Source
Stripe::InvoiceLineItem.updatemethod.Stripe::InvoiceLineItemhad the incorrect parent class, making it error whenupdatewas calledv13.4.1Compare Source
invoiceandline_item_idcan be passed toupdatemethod inInvoiceLineItem.v13.4.0Compare Source
closemethod on resourceTreasury.FinancialAccountv13.3.1Compare Source
StripeClientwas not falling back to global options for options that are not available to be set per-clientlivemodeand optionalreasonfields to ThinEventv13.3.0Compare Source
#1500 This release changes the pinned API version to
2024-12-18.acacia.#1507 Pass requestor to all deserialized objects including lists
StripeObjectretrieved from lists could not be used to make requests, such asrefreshv13.2.0Compare Source
2024-11-20.acacia.respondtest helper method on resourceIssuing.Authorizationv13.1.2Compare Source
v13.1.1Compare Source
stripe_versionv13.1.0Compare Source
2024-10-28.acacia.submit_cardtest helper method on resourceIssuing.CardV2.EventDestinationscreate,retrieve,update,list,delete,disable,enableandpingmethods on resourceV2.EventDestinationsStripeObjectfor custom resources. They should now return the instance of the custom resource.v13.0.2Compare Source
#1473 Always return the result of APIResource#refresh in APIResource.retrieve
selfobject when callingAPIResource.retrievev13.0.1Compare Source
#1471 update object tags for meter-related classes
objectproperty of theMeterEvent,MeterEventAdjustment, andMeterEventSessiondidn't match the server.#1470 Cleaned up examples and added documentation
v13.0.0Compare Source
#1458 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia. Please read the API Changelog and carefully review the API changes before upgrading.Please refer to our migration guide for v13 for more information about the backwards incompatible changes.
❗
StripeClientand related changesStripeClientand requestor logic toAPIRequestor.StripeClient#requestis still available, but is deprecated and will be removed. We encourageStripeClient#raw_requestas a replacement (see other breaking changes for more detail).StripeClientas the the entry-point to the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. Services are available under thev1andv2accessors.retrievebefore doing anupdate.Other breaking changes
0->22->5StripeClient#connection_manager. This was a legacy method from years ago.retrievemethod now requiresparamsto be passed as the first argument. Existing calls to singletonretrievemethod with onlyoptsargument will have to be updated to account for the addition ofparamsargument.❌ No longer works
✅ Correct way to call retrieve method
Stripe.raw_request()method that was recently added toStripeClient. This will use the configuration set on the StripeClient instead of the global configuration used before.APIResource.request. Instead, useStripeClient#raw_requestnow.Instead of
do
APIResource.execute_resource_request. However, we discourage use of this in favor ofStripeClient#raw_request.is now, with base_address being one of [:api, :files, :connect, :meter_events]
APIRequestor.execute_request(previouslyStripeClient.execute_request). It now returns all request options from our internal request framework as the second value in the returned tuple, instead of only the API key used:Before
is now, with base_address being one of [:api, :files, :connect, :meter_events]
Additions
Billing.MeterEvent,Billing.MeterEventAdjustments,Billing.MeterEventSession,Billing.MeterEventStreamand the new Events APICore.Eventsin the v2 namespaceparse_thin_event()on theStripeClientclass to parse thin events.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.