Skip to content

Update generated code for private-preview - #1969

Merged
stripe-openapi[bot] merged 6 commits into
private-previewfrom
latest-codegen-private-preview
Nov 11, 2026
Merged

stripe-openapi[bot] merged 6 commits into
private-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Codegen for openapi v2600 and v2 openapi 5b1e713ce463b45ef5e0d44fe81667a61fd28115.

Changelog

  • Add support for new resource v2.money_management.SpendingMandate
  • Add support for cancel, list, and retrieve methods on resource v2.money_management.SpendingMandate
  • Add support for cardholder_message on Charge.PaymentMethodDetail.CardPresent.Receipt, ConfirmationToken.PaymentMethodPreview.Card.GeneratedFrom.PaymentMethodDetail.CardPresent.Receipt, PaymentAttemptRecord.PaymentMethodDetail.CardPresent.Receipt, PaymentMethod.Card.GeneratedFrom.PaymentMethodDetail.CardPresent.Receipt, and PaymentRecord.PaymentMethodDetail.CardPresent.Receipt
  • Add support for pricing_token on checkout.SessionCreateParams
  • Add support for marketing_attributions on CustomerModifyParams
  • Add support for fraudulent_selfie on Identity.VerificationReport.Signal
  • Add support for toss_pay on Mandate.PaymentMethodDetail, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, and SetupAttempt.PaymentMethodDetail
  • Add support for payment_evaluations on PaymentAttemptRecordReportAuthenticatedParams
  • Add support for three_d_secure on PaymentAttemptRecordReportAuthorizedParamsPaymentMethodDetailCard, PaymentAttemptRecordReportGuaranteedParamsPaymentMethodDetailCard, PaymentRecordReportPaymentAttemptGuaranteedParamsPaymentMethodDetailCard, PaymentRecordReportPaymentAttemptParamsPaymentMethodDetailCard, and PaymentRecordReportPaymentParamsPaymentMethodDetailCard
  • Add support for wechat_pay_redirect_to_mini_program on PaymentIntent.NextAction
  • Add support for customer_presence and payment_type on Radar.PaymentEvaluation.PaymentDetail.MoneyMovementDetail.SepaDebit and radar.PaymentEvaluationCreateParamsPaymentDetailMoneyMovementDetailSepaDebit
  • Add support for financial_connections on SetupIntent.PaymentMethodOption.BacsDebit, SetupIntentConfirmParamsPaymentMethodOptionBacsDebit, SetupIntentCreateParamsPaymentMethodOptionBacsDebit, and SetupIntentModifyParamsPaymentMethodOptionBacsDebit
  • Add support for referral_fee_details on SharedPayment.GrantedToken, SharedPayment.IssuedToken, and shared_payment.IssuedTokenCreateParams
  • Add support for new values stripe_s700_devkit, stripe_s710_devkit, stripe_t600_devkit, verifone_ux700_devkit, and verifone_v660p_devkit on enum terminal.ReaderListParams.device_type
  • Add support for device_health_details and device_health on Terminal.Reader
  • Add support for new values check_attachment_too_large, check_expired, and check_undeliverable on enum V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason
  • Add support for check_send on V2.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, and v2.money_management.PayoutIntentModifyParamsToPayoutMethodOption
  • Add support for new values check_attachment_too_large, check_expired, and check_undeliverable on enum V2.MoneyManagement.PayoutIntent.NextAction.HandleFailure.failure_reason
  • Add support for new value check_send on enums V2.MoneyManagement.PayoutMethod.type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum.type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatum.type
  • Add support for spending_mandate on V2.MoneyManagement.ReceivedDebit.BankTransfer and v2.money_management.ReceivedDebitListParams
  • Add support for event notifications V2MoneyManagementSpendingMandateCanceledEvent, V2MoneyManagementSpendingMandateCreatedEvent, V2MoneyManagementSpendingMandateExpiredEvent, V2MoneyManagementSpendingMandatePendingCancellationEvent, and V2MoneyManagementSpendingMandateUpdatedEvent with related object v2.money_management.SpendingMandate
  • ⚠️ Add error type MerchantNotGatedError on v2.core.vault.NetworkToken#create_from_credential

…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
stripe-openapi Bot requested a review from a team as a code owner November 7, 2026 01:01
@stripe-openapi
stripe-openapi Bot requested review from jar-stripe and removed request for a team November 7, 2026 01:01
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from fe2be5b to f59c935 Compare November 7, 2026 01:02
@stripe-openapi
stripe-openapi Bot removed the request for review from jar-stripe November 7, 2026 01:02
@stripe-openapi
stripe-openapi Bot enabled auto-merge November 7, 2026 01:02
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 2 times, most recently from 3e21c2c to 94fb53f Compare November 9, 2026 13:47
jar-stripe and others added 2 commits November 9, 2026 10:05
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
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 6 times, most recently from 67eb12f to 581a1c0 Compare November 9, 2026 23:47
* 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
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 5 times, most recently from cba79cb to 20cbdbc Compare November 11, 2026 17:02
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 20cbdbc to 9e16d81 Compare November 11, 2026 17:02
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.
@stripe-openapi
stripe-openapi Bot merged commit 8c0f76e into private-preview Nov 11, 2026
21 checks passed
@stripe-openapi
stripe-openapi Bot deleted the latest-codegen-private-preview branch November 11, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants