Skip to content

Update generated code for private-preview#2777

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

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

Conversation

@stripe-openapi

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

Copy link
Copy Markdown
Contributor

Codegen for openapi v2343 and v2 openapi eed9b64db4a551dcc837a073c124117f265c21d3.

Changelog

  • Add support for activate_gift_card, cashout_gift_card, check_gift_card_balance, and reload_gift_card methods on resource Terminal.Reader
  • Add support for administrative_address and principal_place_of_business on Account.company
  • Add support for aggregation_period on Billing.AlertRecovered
  • ⚠️ Add support for new values mass_transit_parking_tax and parking_tax on enums Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
  • ⚠️ Add support for new values bnp_paribas, citibank, and mbsb_bank on enums Charge.payment_method_details.fpx.bank, ConfirmationToken.payment_method_preview.fpx.bank, PaymentAttemptRecord.payment_method_details.fpx.bank, PaymentMethod.fpx.bank, PaymentRecord.payment_method_details.fpx.bank, and SharedPayment.GrantedToken.payment_method_details.fpx.bank
  • Add support for address_collection_precision on Checkout.Session.automatic_tax
  • Add support for tax_id on Checkout.Session.collected_information
  • ⚠️ Remove support for tax_ids on Checkout.Session.collected_information
  • Add support for setup_future_usage on Checkout.Session.payment_method_options.payco, Checkout.Session.payment_method_options.samsung_pay, PaymentIntent.payment_method_options.payco, PaymentIntent.payment_method_options.paypay, PaymentIntent.payment_method_options.samsung_pay, PaymentIntentConfirmParams.payment_method_options.paypay, PaymentIntentCreateParams.payment_method_options.paypay, and PaymentIntentUpdateParams.payment_method_options.paypay
  • Add support for network on Dispute.payment_method_details.card
  • Add support for require_payment_method_support on FinancialConnections.Session.filters
  • Add support for network_data on Issuing.Authorization.request_history[]
  • Add support for acquiring_institution_country, acquiring_institution_id, retrieval_reference_number, routed_network, and trace_id on Issuing.Transaction.network_data
  • Add support for new values boku_promptpay, capchase_pay, check_scan, click_to_pay, demo_pay, duitnow, dummy_auth_push, dummy_passthrough_card, edenred, gcash, getbalance, knet, kr_market, kriya, momo, mondu, netbanking, ng_bank_transfer, ng_bank, ng_card, ng_market, ng_ussd, ng_wallet, octopus, paper_check, sequra, shop_pay, south_korea_market, test_pay, truemoney, us_cash_voucher, vipps, and wero on enums PaymentIntentConfirmParams.allowed_payment_method_types, PaymentIntentCreateParams.allowed_payment_method_types, and PaymentIntentUpdateParams.allowed_payment_method_types
  • Add support for custom_fields, description, and footer on Quote.invoice_settings, QuotePreviewSubscriptionSchedule.default_settings.invoice_settings, QuotePreviewSubscriptionSchedule.phases[].invoice_settings, SubscriptionSchedule.default_settings.invoice_settings, and SubscriptionSchedule.phases[].invoice_settings
  • Add support for paypay on SetupAttempt.payment_method_details
  • Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.RegistrationCreateParams.country_options.us.type
  • Add support for mass_transit_parking_tax and parking_tax on Tax.Registration.country_options.us
  • ⚠️ Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.Registration.country_options.us.type
  • Add support for gift_card_brand on Terminal.ReaderCollectPaymentMethodParams.collect_config and Terminal.ReaderProcessPaymentIntentParams.process_config
  • Add support for activate_gift_card, cashout_gift_card, check_gift_card_balance, deactivate_gift_card, and reload_gift_card on Terminal.Reader.action
  • ⚠️ Add support for new values activate_gift_card, cashout_gift_card, check_gift_card_balance, deactivate_gift_card, and reload_gift_card on enum Terminal.Reader.action.type
  • Add support for status_transitions on V2.Billing.Contract
  • ⚠️ Remove support for one_time_fees on V2.Billing.ContractCreateParams and V2.Billing.Contract
  • ⚠️ Remove support for status_details on V2.Billing.Contract
  • Add support for id and priority on V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[]
  • ⚠️ Remove support for pricing_override on V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[]
  • ⚠️ Remove support for tiering_mode and tiers on V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[].overwrite_price, V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].overwrite_price, V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].overwrite_price, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.overwrite_price, and V2.Billing.ContractUpdateParams.pricing_override_actions[].add.overwrite_price
  • Add support for multiply_pricing on V2.Billing.Contract.pricing_overrides.data[], V2.Billing.ContractCreateParams.pricing_overrides[], and V2.Billing.ContractUpdateParams.pricing_override_actions[].add
  • ⚠️ Remove support for multiplier on V2.Billing.Contract.pricing_overrides.data[], V2.Billing.ContractCreateParams.pricing_overrides[], and V2.Billing.ContractUpdateParams.pricing_override_actions[].add
  • ⚠️ Change type of V2.Billing.Contract.pricing_overrides.data[].type, V2.Billing.ContractCreateParams.pricing_overrides[].type, and V2.Billing.ContractUpdateParams.pricing_override_actions[].add.type from literal('multiplier') to literal('multiply_pricing')
  • Add support for related_network_object on V2.Core.AccountListParams and V2.Core.Account
  • ⚠️ Add support for new value network_business_profile_wallet on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
  • Add support for network_business_profile_wallet on V2.MoneyManagement.PayoutMethod
  • Add support for new value network_business_profile_wallet on enums V2.MoneyManagement.OutboundSetupIntentCreateParams.payout_method_data.type, V2.MoneyManagement.OutboundSetupIntentUpdateParams.payout_method_data.type, and V2.MoneyManagement.PayoutMethod.type
  • Add support for stripe_network_transfer on V2.MoneyManagement.ReceivedCredit
  • Add support for new value stripe_network_transfer on enum V2.MoneyManagement.ReceivedCredit.type
  • ⚠️ Remove support for value one_time_fees from enums V2.Billing.ContractActivateParams.include, V2.Billing.ContractCancelParams.include, V2.Billing.ContractCreateParams.include, V2.Billing.ContractListParams.include, V2.Billing.ContractRetrieveParams.include, and V2.Billing.ContractUpdateParams.include
  • ⚠️ Change type of V2.Billing.ContractCreateParams.pricing_lines[].ends_at.type, V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].ends_at.type, V2.Billing.ContractCreateParams.pricing_overrides[].ends_at.type, and V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].ends_at.type from enum('contract_end'|'timestamp') to literal('timestamp')
  • ⚠️ Change type of V2.Billing.ContractCreateParams.pricing_lines[].pricing.price_details.pricing_overrides[].starts_at.type, V2.Billing.ContractCreateParams.pricing_lines[].starts_at.type, V2.Billing.ContractCreateParams.pricing_overrides[].starts_at.type, and V2.Billing.ContractUpdateParams.pricing_line_actions[].add.pricing.price_details.pricing_overrides[].starts_at.type from enum('contract_start'|'timestamp') to literal('timestamp')
  • Change V2.Billing.ContractCreateParams.pricing_overrides[].priority and V2.Billing.ContractUpdateParams.pricing_override_actions[].add.priority to be optional
  • ⚠️ Change type of V2.Billing.ContractUpdateParams.pricing_line_actions[].add.ends_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.ends_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.ends_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].update.ends_at.type, V2.Billing.ContractUpdateParams.pricing_override_actions[].add.ends_at.type, and V2.Billing.ContractUpdateParams.pricing_override_actions[].update.ends_at.type from enum('billing_period_end'|'timestamp') to literal('timestamp')
  • ⚠️ Change type of V2.Billing.ContractUpdateParams.pricing_line_actions[].add.starts_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].add.starts_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.pricing.price_details.pricing_override_actions[].update.starts_at.type, V2.Billing.ContractUpdateParams.pricing_line_actions[].update.starts_at.type, V2.Billing.ContractUpdateParams.pricing_override_actions[].add.starts_at.type, and V2.Billing.ContractUpdateParams.pricing_override_actions[].update.starts_at.type from enum('billing_period_start'|'timestamp') to literal('timestamp')
  • Add support for event notifications V2BillingContractActivatedEvent, V2BillingContractCanceledEvent, V2BillingContractCreatedEvent, V2BillingContractEndedEvent, and V2BillingContractUpdatedEvent with related object V2.Billing.Contract

@stripe-openapi stripe-openapi Bot requested a review from a team as a code owner July 6, 2026 15:43
@stripe-openapi stripe-openapi Bot requested review from jar-stripe and removed request for a team and jar-stripe July 6, 2026 15:43
@stripe-openapi stripe-openapi Bot enabled auto-merge July 6, 2026 15:44
stripe-openapi Bot and others added 9 commits July 6, 2026 22:03
The v21→v22 migration dropped several types from the Stripe namespace
that users reference in their code. This restores them in both the ESM
and CJS entry points: StripeConfig, LatestApiVersion, HttpAgent,
HttpProtocol, StripeResource, CryptoProvider, HttpClient,
HttpClientResponse, RawErrorType, Webhooks, WebhookTestHeaderOptions,
and Signature.

Also adds regression type tests to all three testProjects to prevent
future regressions.


Committed-By-Agent: claude

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
exported HttpClientInterface and HttpClientResponseInterface instead of
HttpClient* ; kept public APi the same
@stripe-openapi stripe-openapi Bot merged commit b17e113 into private-preview Jul 8, 2026
10 checks passed
@stripe-openapi stripe-openapi Bot deleted the latest-codegen-private-preview branch July 8, 2026 23:16
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.

2 participants