Skip to content

Update generated code for private-preview - #1854

Merged
stripe-openapi[bot] merged 4 commits into
private-previewfrom
latest-codegen-private-preview
Jul 30, 2026
Merged

Update generated code for private-preview#1854
stripe-openapi[bot] merged 4 commits into
private-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Codegen for openapi v2350 and v2 openapi 6fc967cafa78afc6c6adb86802a26217fa770522.

Changelog

  • Add support for new resources v2.money_management.ReceivedDebitMandate, v2.risk.Inquiry, v2.signals.AccountActivity, and v2.signals.AccountEvaluation
  • Add support for create and retrieve methods on resource v2.signals.AccountEvaluation
  • Add support for create, delete, and retrieve methods on resource v2.signals.AccountActivity
  • Add support for list, modify, and retrieve methods on resource v2.risk.Inquiry
  • Add support for cancel, list, and retrieve methods on resource v2.money_management.ReceivedDebitMandate
  • Add support for rate_cards on Billing.CreditGrant.ApplicabilityConfig.Scope, billing.CreditBalanceSummaryRetrieveParamsFilterApplicabilityScope, and billing.CreditGrantCreateParamsApplicabilityConfigScope
  • ⚠️ Change type of ConfirmationToken.PaymentMethodPreview.GiftCard.brand, GiftCard.brand, GiftCardCreateParams.brand, PaymentMethod.GiftCard.brand, terminal.ReaderActivateGiftCardParams.brand, terminal.ReaderCashoutGiftCardParams.brand, terminal.ReaderCheckGiftCardBalanceParams.brand, and terminal.ReaderReloadGiftCardParams.brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
  • Add support for new value tempo on enum Crypto.CustomerConsumerWallet.network
  • Add support for new value tempo on enums Crypto.OnrampSession.TransactionDetail.destination_network, crypto.OnrampSessionCreateParams.destination_network, crypto.OnrampSessionListParams.destination_network, and crypto.OnrampTransactionLimitsRetrieveParams.destination_network
  • Add support for new value tempo on enums Crypto.OnrampSession.TransactionDetail.destination_networks and crypto.OnrampSessionCreateParams.destination_networks
  • Add support for tempo on Crypto.OnrampSession.TransactionDetail.WalletAddress
  • Add support for new value try_again_later on enum GiftCardOperation.failure_code
  • Add support for healthcare on Issuing.Authorization
  • Add support for product_code on Issuing.Card, issuing.CardCreateParams, and issuing.CardModifyParams
  • Add support for product_graduation_state on Issuing.Card
  • Add support for cvc and number on radar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCard
  • Change radar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCard.first6 to be optional
  • Change radar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetailCard.last4 to be optional
  • Add support for card on Radar.PaymentEvaluation.PaymentDetail.PaymentMethodDetail
  • ⚠️ Change type of terminal.ReaderCollectPaymentMethodParamsCollectConfig.gift_card_brand and terminal.ReaderProcessPaymentIntentParamsProcessConfig.gift_card_brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
  • Add support for gift_card on terminal.ReaderPresentPaymentMethodParams
  • Add support for new value gift_card on enum terminal.ReaderPresentPaymentMethodParams.type
  • Add support for amount_due and customer_balance_applied on V2.Billing.Intent.AmountDetail
  • ⚠️ Change type of V2.Core.AccountEvaluation.evaluations_triggered from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
  • Add support for gross_settlement on V2.Core.Account.Configuration.Merchant, v2.core.AccountCreateParamsConfigurationMerchant, and v2.core.AccountModifyParamsConfigurationMerchant
  • ⚠️ Change type of V2.MoneyManagement.DebitDispute.BankTransfer.network from literal('ach') to enum('ach'|'bacs')
  • Add support for new values beneficiary_unrecognized, mandate_canceled_by_stripe, mandate_canceled, no_advance_notice, originator_requested, and signature_invalid on enum V2.MoneyManagement.DebitDispute.BankTransfer.reason
  • ⚠️ Remove support for managed_by on V2.MoneyManagement.FinancialAccount
  • Add support for payout_intent on V2.MoneyManagement.OutboundPayment
  • Add support for settles_at on V2.MoneyManagement.ReceivedDebit
  • Add support for gb_bank_account on V2.MoneyManagement.ReceivedDebit.BankTransfer
  • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.BankTransfer.origin_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
  • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.BankTransfer.payment_method_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
  • Add support for new value scheduled on enum V2.MoneyManagement.ReceivedDebit.status
  • Add support for new value no_mandate on enum V2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reason
  • Add support for target_date on V2.Payments.OffSessionPayment and v2.payments.OffSessionPaymentCreateParams
  • Add support for account_evaluation, fraudulent_website, payment_delinquency_exposure, user_account_sharing, and user_multi_accounting on V2.Signals.AccountSignal
  • Add support for new values fraudulent_website, user_account_sharing, and user_multi_accounting on enums V2.Signals.AccountSignal.type and v2.signals.AccountSignalListParams.type
  • Change type of v2.money_management.FinancialAddressDebitSimulationDebitParams.network from literal('ach') to enum('ach'|'bacs')
  • Add support for received_debit_mandate on v2.money_management.ReceivedDebitListParams
  • ⚠️ Remove support for payout_intent on v2.money_management.OutboundPaymentCreateParams
  • Change type of v2.core.AccountEvaluationCreateParams.signals from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
  • ⚠️ Remove support for id on EventsV2SignalsAccountSignalFraudulentMerchantReadyEvent
  • Add support for event notifications V2MoneyManagementReceivedDebitCreatedEvent and V2MoneyManagementReceivedDebitScheduledEvent with related object v2.money_management.ReceivedDebit
  • Add support for event notifications V2MoneyManagementReceivedDebitMandateCanceledEvent, V2MoneyManagementReceivedDebitMandateCreatedEvent, V2MoneyManagementReceivedDebitMandateExpiredEvent, V2MoneyManagementReceivedDebitMandatePendingCancellationEvent, and V2MoneyManagementReceivedDebitMandateUpdatedEvent with related object v2.money_management.ReceivedDebitMandate
  • Add support for event notification V2SignalsAccountEvaluationCompleteEvent with related object v2.signals.AccountEvaluation
  • Add support for event notifications V2SignalsAccountSignalFraudulentWebsiteReadyEvent and V2SignalsAccountSignalPaymentDelinquencyExposureReadyEvent with related object v2.signals.AccountSignal

@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner July 23, 2026 23:31
@stripe-openapi
stripe-openapi Bot requested review from jar-stripe and removed request for a team and jar-stripe July 23, 2026 23:31
@stripe-openapi
stripe-openapi Bot enabled auto-merge July 23, 2026 23:31
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 5e2d33d to c233d07 Compare July 24, 2026 09:59
…1853)

* Fix intermittent Windows test flake in async httpx integration tests

BaseHTTPRequestHandler defaults to protocol_version "HTTP/1.0", which
sets close_connection=True after every response. On Windows, the socket
close can race with the async httpx client reading the response body,
causing ReadError (Windows discards buffered TCP data on RST more
aggressively than Linux).

Setting protocol_version to "HTTP/1.1" keeps the connection alive,
eliminating the race. The 30s timeout is a backstop against the handler
blocking on readline if the client never closes the connection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* Drain request body in mock handler for HTTP/1.1 keep-alive

With protocol_version set to HTTP/1.1, the server keeps the connection
alive and reads the next request from the same socket. If the POST body
isn't consumed, those bytes remain in the buffer and get misinterpreted
as the next HTTP request line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* Snapshot request attributes for HTTP/1.1 keep-alive handler reuse

With keep-alive, multiple requests are handled by the same
BaseHTTPRequestHandler instance. Storing `self` in the queue meant all
entries shared the same mutable object whose .headers/.path/.command
reflect only the last request. Capture a snapshot at handle time instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 11 times, most recently from 0e5cfba to b9a3c7a Compare July 29, 2026 20:33
stripe-openapi Bot and others added 2 commits July 29, 2026 15:50
…6b4eebe (#1857)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from b9a3c7a to f70ad6e Compare July 30, 2026 02:19
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from f70ad6e to ebc198a Compare July 30, 2026 02:45
@stripe-openapi
stripe-openapi Bot merged commit d55c1b3 into private-preview Jul 30, 2026
17 checks passed
@stripe-openapi
stripe-openapi Bot deleted the latest-codegen-private-preview branch July 30, 2026 02:59
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.

1 participant