Merged
Conversation
Contributor
Code Coverage Report: Only Changed Files listed
Minimum allowed coverage is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
17.2.0→19.1.0Release Notes
stripe/stripe-ruby (stripe)
v19.1.0Compare Source
This release changes the pinned API version to 2026-04-22.dahlia.
balance_reportandpayout_reconciliation_reportonAccountSession::ComponentandAccountSessionCreateParams::Componentapp_distributionandsunbit_paymentsonAccount::Capability,AccountCreateParams::Capability, andAccountUpdateParams::CapabilitysunbitonCharge::PaymentMethodDetail,ConfirmationToken::PaymentMethodPreview,ConfirmationTokenCreateParams::PaymentMethodDatum,PaymentAttemptRecord::PaymentMethodDetail,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord::PaymentMethodDetail,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodDatum, andSetupIntentUpdateParams::PaymentMethodDatumlocationandreaderonCharge::PaymentMethodDetail::Klarna,PaymentAttemptRecord::PaymentMethodDetail::Klarna, andPaymentRecord::PaymentMethodDetail::KlarnamandateonCharge::PaymentMethodDetail::Pix,PaymentAttemptRecord::PaymentMethodDetail::Pix, andPaymentRecord::PaymentMethodDetail::Pixmanaged_paymentsonCheckout::SessionCreateParams,Checkout::Session,PaymentIntent,PaymentLinkCreateParams,PaymentLink,SetupIntent, andSubscriptionmandate_optionsonCheckout::Session::PaymentMethodOption::Pix,Checkout::SessionCreateParams::PaymentMethodOption::Pix,PaymentIntent::PaymentMethodOption::Pix,PaymentIntentConfirmParams::PaymentMethodOption::Pix,PaymentIntentCreateParams::PaymentMethodOption::Pix, andPaymentIntentUpdateParams::PaymentMethodOption::PixCheckout::SessionCreateParams::PaymentMethodOption::Pix.setup_future_usage,PaymentIntentConfirmParams::PaymentMethodOption::Pix.setup_future_usage,PaymentIntentCreateParams::PaymentMethodOption::Pix.setup_future_usage, andPaymentIntentUpdateParams::PaymentMethodOption::Pix.setup_future_usagefromliteral('none')toenum('none'|'off_session')Checkout::Session::PaymentMethodOption::Pix.setup_future_usageandPaymentIntent::PaymentMethodOption::Pix.setup_future_usagefromliteral('none')toenum('none'|'off_session')pixonInvoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Mandate::PaymentMethodDetail,SetupAttempt::PaymentMethodDetail,SetupIntent::PaymentMethodOption,SetupIntentConfirmParams::PaymentMethodOption,SetupIntentCreateParams::PaymentMethodOption,SetupIntentUpdateParams::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOptionupionInvoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOptioncard_presenceonIssuing::Authorizationallowed_card_presencesandblocked_card_presencesonIssuing::Card::SpendingControl,Issuing::CardCreateParams::SpendingControl,Issuing::CardUpdateParams::SpendingControl,Issuing::Cardholder::SpendingControl,Issuing::CardholderCreateParams::SpendingControl, andIssuing::CardholderUpdateParams::SpendingControlamountandcurrencyonMandate::MultiUseamount_to_confirmonPaymentIntentConfirmParamsklarna_display_qr_codeonPaymentIntent::NextActionmotoonSetupAttempt::PaymentMethodDetail::Cardpix_display_qr_codeonSetupIntent::NextActionv19.0.0Compare Source
This release changes the pinned API version to⚠️ below). There's also a detailed migration guide to simplify your upgrade process.
2026-03-25.dahliaand contains breaking changes (prefixed withPlease review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
decimal_stringfields changed type fromStringtoBigDecimalin both request params and response objects. Code that reads or writes these fields asStringwill need to useBigDecimalinstead. Affected fields across v1 and v2 APIs:fx_ratemetric_tons; Climate::Product:metric_tons_availableunit_amount_decimalquantity_decimal,unit_amount_decimalquantity_decimal,unit_amount_decimalquantity_decimal,unit_cost_decimal,gross_amount_decimal,local_amount_decimal,national_amount_decimalamount_decimal,flat_amount_decimal,unit_amount_decimalunit_amount_decimal,flat_amount_decimal(includingcurrency_optionsandtiers)percent_ownershipunit_amount_decimal,flat_amount_decimal,quantity_decimal(where applicable)Stripe::AlipayAccountandStripe::RecipientTransferresource classes (dead code since v7.0.0)upi_paymentsonAccount::Capability,AccountCreateParams::Capability, andAccountUpdateParams::CapabilityupionCharge::PaymentMethodDetail,Checkout::Session::PaymentMethodOption,Checkout::SessionCreateParams::PaymentMethodOption,ConfirmationToken::PaymentMethodPreview,ConfirmationTokenCreateParams::PaymentMethodDatum,Mandate::PaymentMethodDetail,PaymentAttemptRecord::PaymentMethodDetail,PaymentIntent::PaymentMethodOption,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentConfirmParams::PaymentMethodOption,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodOption,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodOption,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord::PaymentMethodDetail,SetupAttempt::PaymentMethodDetail,SetupIntent::PaymentMethodOption,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentConfirmParams::PaymentMethodOption,SetupIntentCreateParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodOption,SetupIntentUpdateParams::PaymentMethodDatum, andSetupIntentUpdateParams::PaymentMethodOptionintegration_identifieronCheckout::SessionCreateParamsandCheckout::SessioncryptoonCheckout::SessionCreateParams::PaymentMethodOptionpending_invoice_item_intervalonCheckout::SessionCreateParams::SubscriptionDatummetadataonCreditNoteCreateParams::Line,CreditNoteLineItem,CreditNoteListPreviewLineItemsParams::Line, andCreditNotePreviewParams::Linequantity_decimalonInvoiceAddLinesParams::Line,InvoiceCreatePreviewParams::InvoiceItem,InvoiceItemCreateParams,InvoiceItemUpdateParams,InvoiceItem,InvoiceLineItemUpdateParams,InvoiceLineItem, andInvoiceUpdateLinesParams::LinelevelonIssuing::AuthorizationCreateParams::RiskAssessment::CardTestingRiskandIssuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRiskrisk_levelonIssuing::AuthorizationCreateParams::RiskAssessment::CardTestingRiskandIssuing::AuthorizationCreateParams::RiskAssessment::MerchantDisputeRisklifecycle_controlsonIssuing::CardCreateParamsandIssuing::CardIssuing::Token::NetworkDatum::Visa.card_reference_idfromstringtonullable(string)PaymentAttemptRecord::PaymentMethodDetail::Card.brandandPaymentRecord::PaymentMethodDetail::Card.brandfromenumtonullable(enum)PaymentAttemptRecord::PaymentMethodDetail::Card.exp_monthandPaymentRecord::PaymentMethodDetail::Card.exp_monthfromlongIntegertonullable(longInteger)PaymentAttemptRecord::PaymentMethodDetail::Card.exp_yearandPaymentRecord::PaymentMethodDetail::Card.exp_yearfromlongIntegertonullable(longInteger)PaymentAttemptRecord::PaymentMethodDetail::Card.fundingandPaymentRecord::PaymentMethodDetail::Card.fundingfromenum('credit'|'debit'|'prepaid'|'unknown')tonullable(enum('credit'|'debit'|'prepaid'|'unknown'))PaymentAttemptRecord::PaymentMethodDetail::Card.last4andPaymentRecord::PaymentMethodDetail::Card.last4fromstringtonullable(string)PaymentAttemptRecord::PaymentMethodDetail::Card.motoandPaymentRecord::PaymentMethodDetail::Card.motofrombooleantonullable(boolean)cryptogram,electronic_commerce_indicator,exemption_indicator_applied, andexemption_indicatoronPaymentAttemptRecord::PaymentMethodDetail::Card::ThreeDSecureandPaymentRecord::PaymentMethodDetail::Card::ThreeDSecureupi_handle_redirect_or_display_qr_codeonPaymentIntent::NextActionandSetupIntent::NextActionrecommended_actionandsignalsonRadar::PaymentEvaluationinsightsonRadar::PaymentEvaluationv18.4.2Compare Source
Net::HTTPFatalErrorerrors were being thrown and not retried (unlike other 5xx responses from the Stripe API)v18.4.1Compare Source
v18.4.0Compare Source
This release changes the pinned API version to
2026-02-25.clover.Reserve::Hold,Reserve::Plan, andReserve::ReleaselocationandreaderonCharge::PaymentMethodDetail::CardPresent,Charge::PaymentMethodDetail::InteracPresent,ConfirmationToken::PaymentMethodPreview::Card::GeneratedFrom::PaymentMethodDetail::CardPresent,PaymentAttemptRecord::PaymentMethodDetail::CardPresent,PaymentAttemptRecord::PaymentMethodDetail::InteracPresent,PaymentMethod::Card::GeneratedFrom::PaymentMethodDetail::CardPresent,PaymentRecord::PaymentMethodDetail::CardPresent, andPaymentRecord::PaymentMethodDetail::InteracPresentdisplay_nameandservice_user_numberonMandate::PaymentMethodDetail::BacsDebitPaymentAttemptRecord::PaymentMethodDetail::Boleto.tax_idandPaymentRecord::PaymentMethodDetail::Boleto.tax_idfromstringtonullable(string)PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount.expected_debit_dateandPaymentRecord::PaymentMethodDetail::UsBankAccount.expected_debit_datefromnullable(string)tostringtransaction_purposeonPaymentIntent::PaymentMethodOption::UsBankAccount,PaymentIntentConfirmParams::PaymentMethodOption::UsBankAccount,PaymentIntentCreateParams::PaymentMethodOption::UsBankAccount, andPaymentIntentUpdateParams::PaymentMethodOption::UsBankAccountoptional_itemsonPaymentLinkUpdateParamscard_issuer_declineonRadar::PaymentEvaluation::Insightpayment_behavioronSubscriptionItemDeleteParamslkonTax::Registration::CountryOptionandTax::RegistrationCreateParams::CountryOptioncellularandstripe_s710onTerminal::ConfigurationCreateParams,Terminal::ConfigurationUpdateParams, andTerminal::Configurationnullvalues.v18.3.1Compare Source
stripe.rbi. This ensures that the class fields in .rbi files generated with tapioca are able to refer to the correct type.v18.3.0Compare Source
This release changes the pinned API version to
2026-01-28.clover.Radar::PaymentEvaluationcreatemethod on resourceRadar::PaymentEvaluationadjustable_quantityonLineItemInvoice::PaymentSetting::PaymentMethodOption.paytoandSubscription::PaymentSetting::PaymentMethodOption.paytoto be requiredenforce_arithmetic_validationonPaymentIntentCaptureParams::AmountDetail,PaymentIntentConfirmParams::AmountDetail,PaymentIntentCreateParams::AmountDetail,PaymentIntentIncrementAuthorizationParams::AmountDetail, andPaymentIntentUpdateParams::AmountDetailerroronPaymentIntent::AmountDetailbgnonTerminal::Configuration::Tipping,Terminal::ConfigurationCreateParams::Tipping, andTerminal::ConfigurationUpdateParams::TippingtopuponTreasury::ReceivedDebit::LinkedFlowcontact_phoneonV2::Core::AccountCreateParams,V2::Core::AccountTokenCreateParams,V2::Core::AccountUpdateParams, andV2::Core::Accountregistration_dateonV2::Core::Account::Identity::BusinessDetail,V2::Core::AccountCreateParams::Identity::BusinessDetail,V2::Core::AccountTokenCreateParams::Identity::BusinessDetail, andV2::Core::AccountUpdateParams::Identity::BusinessDetailv18.2.0Compare Source
V2CoreAccountClosedEvent,V2CoreAccountCreatedEvent,V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationCustomerUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationMerchantUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent,V2CoreAccountIncludingConfigurationRecipientUpdatedEvent,V2CoreAccountIncludingDefaultsUpdatedEvent,V2CoreAccountIncludingFutureRequirementsUpdatedEvent,V2CoreAccountIncludingIdentityUpdatedEvent,V2CoreAccountIncludingRequirementsUpdatedEvent, andV2CoreAccountUpdatedEventwith related objectV2::Core::AccountV2CoreAccountLinkReturnedEventV2CoreAccountPersonCreatedEvent,V2CoreAccountPersonDeletedEvent, andV2CoreAccountPersonUpdatedEventwith related objectV2::Core::AccountPersonv18.1.0Compare Source
This release changes the pinned API version to
2025-12-15.clover.V2::Core::AccountLink,V2::Core::AccountPersonToken,V2::Core::AccountPerson,V2::Core::AccountToken, andV2::Core::Accountcreateandretrievemethods on resourcesV2::Core::AccountPersonTokenandV2::Core::AccountTokencreatemethod on resourceV2::Core::AccountLinkclose,create,list,retrieve, andupdatemethods on resourceV2::Core::Accountcreate,delete,list,retrieve, andupdatemethods on resourceV2::Core::AccountPersoncustomer_accountonBilling::CreditBalanceSummaryRetrieveParams,Billing::CreditBalanceSummary,Billing::CreditBalanceTransactionListParams,Billing::CreditGrantCreateParams,Billing::CreditGrantListParams,Billing::CreditGrant,BillingPortal::SessionCreateParams,BillingPortal::Session,CashBalance,Checkout::SessionCreateParams,Checkout::SessionListParams,Checkout::Session,ConfirmationToken::PaymentMethodPreview,CreditNoteListParams,CreditNote,CustomerBalanceTransaction,CustomerCashBalanceTransaction,CustomerSessionCreateParams,CustomerSession,Customer,Discount,FinancialConnections::Account::AccountHolder,FinancialConnections::AccountListParams::AccountHolder,FinancialConnections::Session::AccountHolder,FinancialConnections::SessionCreateParams::AccountHolder,InvoiceCreateParams,InvoiceCreatePreviewParams,InvoiceItemCreateParams,InvoiceItemListParams,InvoiceItem,InvoiceListParams,Invoice,PaymentIntentCreateParams,PaymentIntentListParams,PaymentIntentUpdateParams,PaymentIntent,PaymentMethodAttachParams,PaymentMethodListParams,PaymentMethod,PromotionCodeCreateParams,PromotionCodeListParams,PromotionCode,QuoteCreateParams,QuoteListParams,QuoteUpdateParams,Quote,SetupAttempt,SetupIntentCreateParams,SetupIntentListParams,SetupIntentUpdateParams,SetupIntent,SubscriptionCreateParams,SubscriptionListParams,SubscriptionScheduleCreateParams,SubscriptionScheduleListParams,SubscriptionSchedule,Subscription,TaxId::Owner,TaxIdCreateParams::Owner,TaxIdListParams::Owner, andTaxIdmetadataonCheckout::SessionCreateParams::LineItemandLineItempayto_paymentsonAccount::Capability,AccountCreateParams::Capability, andAccountUpdateParams::CapabilitysigneronAccountCreateParams::Document::ProofOfRegistration,AccountCreateParams::Document::ProofOfUltimateBeneficialOwnership,AccountUpdateParams::Document::ProofOfRegistration, andAccountUpdateParams::Document::ProofOfUltimateBeneficialOwnershipBilling::CreditBalanceSummaryRetrieveParams.customer,Billing::CreditBalanceTransactionListParams.customer,Billing::CreditGrantCreateParams.customer,BillingPortal::SessionCreateParams.customer,CustomerSessionCreateParams.customer,InvoiceItemCreateParams.customer,PaymentMethodAttachParams.customer, andSubscriptionCreateParams.customerto be optionalbilling_cycle_anchoronBillingPortal::Configuration::Feature::SubscriptionUpdate,BillingPortal::ConfigurationCreateParams::Feature::SubscriptionUpdate, andBillingPortal::ConfigurationUpdateParams::Feature::SubscriptionUpdatepaytoonCharge::PaymentMethodDetail,Checkout::Session::PaymentMethodOption,Checkout::SessionCreateParams::PaymentMethodOption,ConfirmationToken::PaymentMethodPreview,ConfirmationTokenCreateParams::PaymentMethodDatum,Invoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Mandate::PaymentMethodDetail,PaymentAttemptRecord::PaymentMethodDetail,PaymentIntent::PaymentMethodOption,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentConfirmParams::PaymentMethodOption,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodOption,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodOption,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodUpdateParams,PaymentMethod,PaymentRecord::PaymentMethodDetail,SetupAttempt::PaymentMethodDetail,SetupIntent::PaymentMethodOption,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentConfirmParams::PaymentMethodOption,SetupIntentCreateParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodOption,SetupIntentUpdateParams::PaymentMethodDatum,SetupIntentUpdateParams::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOptionexpected_debit_dateonCharge::PaymentMethodDetail::AcssDebit,Charge::PaymentMethodDetail::AuBecsDebit,Charge::PaymentMethodDetail::BacsDebit,Charge::PaymentMethodDetail::NzBankAccount,Charge::PaymentMethodDetail::SepaDebit,Charge::PaymentMethodDetail::UsBankAccount,PaymentAttemptRecord::PaymentMethodDetail::AcssDebit,PaymentAttemptRecord::PaymentMethodDetail::AuBecsDebit,PaymentAttemptRecord::PaymentMethodDetail::BacsDebit,PaymentAttemptRecord::PaymentMethodDetail::NzBankAccount,PaymentAttemptRecord::PaymentMethodDetail::SepaDebit,PaymentAttemptRecord::PaymentMethodDetail::UsBankAccount,PaymentRecord::PaymentMethodDetail::AcssDebit,PaymentRecord::PaymentMethodDetail::AuBecsDebit,PaymentRecord::PaymentMethodDetail::BacsDebit,PaymentRecord::PaymentMethodDetail::NzBankAccount,PaymentRecord::PaymentMethodDetail::SepaDebit, andPaymentRecord::PaymentMethodDetail::UsBankAccountline_itemsonCheckout::SessionUpdateParamsinvoiceonCustomerCustomerBalanceTransactionListParamsrelated_customer_accountonIdentity::VerificationSessionCreateParams,Identity::VerificationSessionListParams, andIdentity::VerificationSessionInvoiceItem::Pricing::PriceDetail.priceandInvoiceLineItem::Pricing::PriceDetail.pricefromstringtoexpandable($Price)subtotalonInvoiceLineItemauthorization_code,description,iin,installments,issuer,network_advice_code,network_decline_code, andstored_credential_usageonPaymentAttemptRecord::PaymentMethodDetail::CardandPaymentRecord::PaymentMethodDetail::CardPaymentIntent.transfer_datato be optionalallow_redisplayonPaymentMethodListParamsreported_byonPaymentRecordProduct.tax_codeto be optionalchangesonV2::Core::Eventv18.0.1Compare Source
payment_intentproperty onInvoiceobject to ease debugging.v18.0.0Compare Source
This release changes the pinned API version to
2025-11-17.clover.gt,gte,lt, andlteonV2::Core::EventListParamsin favor ofcreated.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.Tax::AssociationandTerminal::OnboardingLinkfindmethod on resourceTax::Associationcreatemethod on resourceTerminal::OnboardingLinkpayment_method_configurationonBillingPortal::Configuration::Feature::PaymentMethodUpdatetransaction_idonCharge::PaymentMethodDetail::Ideal,PaymentAttemptRecord::PaymentMethodDetail::Ideal, andPaymentRecord::PaymentMethodDetail::IdealcreatedonCustomerCustomerBalanceTransactionListParamsandInvoicePaymentListParamsaccount_numbersonFinancialConnections::AccountFinancialConnections::Session.client_secretfromstringtonullable(string)fraud_riskonIssuing::AuthorizationCreateParams::RiskAssessmentlatest_fraud_warningonIssuing::CardhooksonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntentmb_wayandtwintonRefund::DestinationDetailConfiguration
📅 Schedule: (UTC)
🚦 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.