Repository navigation
Update generated code for private-preview - #1969
Merged
stripe-openapi[bot] merged 6 commits intoNov 11, 2026
Merged
Conversation
…bjects (#1968) * Fix stale Stripe-Account header on directly-retrieved Event related objects A directly-retrieved v2 Event keeps the requestor of whatever account fetched it, so Event.fetch_related_object() could send a stale Stripe-Account header alongside the event's own Stripe-Context. EventNotification already avoids this in its own construction via StripeClient.with_stripe_context; give Event the same treatment where it's deserialized in _convert_to_stripe_object. Fixes RUN_DEVSDK-3694. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Committed-By-Agent: claude * Update requestor context handling in _util.py Refactor handling of requestor context for v2 events. --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
stripe-openapi
Bot
requested review from
jar-stripe
and removed request for
a team
November 7, 2026 01:01
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
November 7, 2026 01:02
fe2be5b to
f59c935
Compare
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
2 times, most recently
from
November 9, 2026 13:47
3e21c2c to
94fb53f
Compare
PycurlClient built the HTTPHEADER list via raw "%s: %s" string interpolation with no validation, so a header value containing CR or LF could inject an additional header line (e.g. via Stripe-Request- Trigger, built from an unverified webhook event id). Other HTTP client backends in this file are already protected by their own underlying library (stdlib http.client, h11, aiohttp); pycurl has no such check built in, so it needs one here. Committed-By-Agent: claude Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
…s. (#1958) The stripe-signature header may now include additional metadata about the event destination and the event being sent. These can help narrow down the reason why signature verification failed. No changes are made to the verification process; this just updates how error messages are generated, if the metadata is present in the header.
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
6 times, most recently
from
November 9, 2026 23:47
67eb12f to
581a1c0
Compare
* Remove update-certs task from justfile Removed the update-certs task from the justfile. * Remove CA certificates update instructions from README Removed instructions for updating bundled CA certificates.
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
5 times, most recently
from
November 11, 2026 17:02
cba79cb to
20cbdbc
Compare
…5ef5e0d44fe81667a61fd28115
stripe-openapi
Bot
force-pushed
the
latest-codegen-private-preview
branch
from
November 11, 2026 17:02
20cbdbc to
9e16d81
Compare
The unified-spec regen diffed against a stale base (stripe/openapi@v2598's unified private preview spec, last refreshed 2026-10-29), so its changefile re-reported entries that already shipped. Generated code is unchanged since the v2599 regen, so the v2599 changefile is the accurate one for this release.
zacchua-stripe
approved these changes
Nov 11, 2026
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.
Codegen for openapi v2600 and v2 openapi 5b1e713ce463b45ef5e0d44fe81667a61fd28115.
Changelog
v2.money_management.SpendingMandatecancel,list, andretrievemethods on resourcev2.money_management.SpendingMandatecardholder_messageonCharge.PaymentMethodDetail.CardPresent.Receipt,ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetail.CardPresent.Receipt,PaymentAttemptRecord.PaymentMethodDetail.CardPresent.Receipt,PaymentMethod.Card.GeneratedFrom.PaymentMethodDetail.CardPresent.Receipt, andPaymentRecord.PaymentMethodDetail.CardPresent.Receiptpricing_tokenoncheckout.SessionCreateParamsmarketing_attributionsonCustomerModifyParamsfraudulent_selfieonIdentity.VerificationReport.Signaltoss_payonMandate.PaymentMethodDetail,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationModifyParams,PaymentMethodConfiguration, andSetupAttempt.PaymentMethodDetailpayment_evaluationsonPaymentAttemptRecordReportAuthenticatedParamsthree_d_secureonPaymentAttemptRecordReportAuthorizedParamsPaymentMethodDetailCard,PaymentAttemptRecordReportGuaranteedParamsPaymentMethodDetailCard,PaymentRecordReportPaymentAttemptGuaranteedParamsPaymentMethodDetailCard,PaymentRecordReportPaymentAttemptParamsPaymentMethodDetailCard, andPaymentRecordReportPaymentParamsPaymentMethodDetailCardwechat_pay_redirect_to_mini_programonPaymentIntent.NextActioncustomer_presenceandpayment_typeonRadar.PaymentEvaluation.PaymentDetail.MoneyMovementDetail.SepaDebitandradar.PaymentEvaluationCreateParamsPaymentDetailMoneyMovementDetailSepaDebitfinancial_connectionsonSetupIntent.PaymentMethodOption.BacsDebit,SetupIntentConfirmParamsPaymentMethodOptionBacsDebit,SetupIntentCreateParamsPaymentMethodOptionBacsDebit, andSetupIntentModifyParamsPaymentMethodOptionBacsDebitreferral_fee_detailsonSharedPayment.GrantedToken,SharedPayment.IssuedToken, andshared_payment.IssuedTokenCreateParamsstripe_s700_devkit,stripe_s710_devkit,stripe_t600_devkit,verifone_ux700_devkit, andverifone_v660p_devkiton enumterminal.ReaderListParams.device_typedevice_health_detailsanddevice_healthonTerminal.Readercheck_attachment_too_large,check_expired, andcheck_undeliverableon enumV2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reasoncheck_sendonV2.MoneyManagement.OutboundPayment.To.PayoutMethodOption,V2.MoneyManagement.OutboundPayment.TrackingDetail,V2.MoneyManagement.PayoutIntent.To.PayoutMethodOption,V2.MoneyManagement.PayoutMethod,v2.money_management.OutboundPaymentCreateParamsToPayoutMethodOption,v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum,v2.money_management.PayoutIntentCreateParamsToPayoutMethodOption, andv2.money_management.PayoutIntentModifyParamsToPayoutMethodOptioncheck_attachment_too_large,check_expired, andcheck_undeliverableon enumV2.MoneyManagement.PayoutIntent.NextAction.HandleFailure.failure_reasoncheck_sendon enumsV2.MoneyManagement.PayoutMethod.type,v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum.type, andv2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatum.typespending_mandateonV2.MoneyManagement.ReceivedDebit.BankTransferandv2.money_management.ReceivedDebitListParamsV2MoneyManagementSpendingMandateCanceledEvent,V2MoneyManagementSpendingMandateCreatedEvent,V2MoneyManagementSpendingMandateExpiredEvent,V2MoneyManagementSpendingMandatePendingCancellationEvent, andV2MoneyManagementSpendingMandateUpdatedEventwith related objectv2.money_management.SpendingMandateMerchantNotGatedErroronv2.core.vault.NetworkToken#create_from_credential