Skip to content

Update generated code for private-preview - #2155

Merged
jar-stripe merged 8 commits into
private-previewfrom
latest-codegen-private-preview
Sep 30, 2026
Merged

jar-stripe merged 8 commits into
private-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codegen for openapi v2526 and v2 openapi adad04916772f880317eac10d8c026b401863f1d.

Changelog

  • Add support for new resources V2.Data.QueryRun, V2.Data.ReportRun, V2.Data.Report, V2.Data.Schema, V2.MoneyManagement.EarnedCreditSimulation, V2.MoneyManagement.EarnedCredit, and V2.Provisioning.ResourceAccessConfiguration
  • Add support for earned_credits method on resource V2.MoneyManagement.EarnedCreditSimulation
  • Add support for all and retrieve methods on resources V2.Data.Report, V2.Data.Schema, and V2.MoneyManagement.EarnedCredit
  • Add support for create and retrieve methods on resources V2.Data.QueryRun and V2.Data.ReportRun
  • Add support for reveal_access_configuration method on resource V2.Provisioning.Resource
  • Add support for refresh_regulatory_receipt method on resource V2.MoneyManagement.Transaction
  • Add support for capital_financing_manual_payment on AccountSession.create().$params.component
  • ⚠️ Remove support for authorized_content_security_policy, authorized_endpoints, authorized_permissions, and state on Apps.Install
  • ⚠️ Change type of Apps.Install.channel from string to enum
  • Change type of Apps.Install.content_security_policy_granted from nullable(AppServiceResourceInstallContentSecurityPolicy) to AppServiceResourceInstallContentSecurityPolicy
  • Change type of Apps.Install.endpoints_granted from nullable(array(string)) to array(string)
  • Change type of Apps.Install.permissions_granted from nullable(array(string)) to array(string)
  • Change type of Apps.Install.status from nullable(enum) to enum
  • Add support for financing_documents on Capital.FinancingOffer
  • Add support for enabled_payment_types and overdue_amount on Capital.FinancingSummary.details
  • Add support for card_account_update on Charge.payment_method_details.card
  • Add support for on_behalf_of on Checkout\Session.create().$params
  • Add support for billing_cycle_anchor on Checkout.Session.items[].subscription.trial_settings.end_behavior, Checkout\Session.create().$params.item.subscription.trial_setting.end_behavior, Checkout\Session.create().$params.subscription_datum.trial_setting.end_behavior, PaymentLink.create().$params.subscription_datum.trial_setting.end_behavior, PaymentLink.subscription_data.trial_settings.end_behavior, and PaymentLink.update().$params.subscription_datum.trial_setting.end_behavior
  • Add support for payment_method_preselect on Checkout.Session.saved_payment_method_options and Checkout\Session.create().$params.saved_payment_method_option
  • Add support for es on CustomerTaxExemption.create().$params and CustomerTaxExemption
  • ⚠️ Remove support for financial_activity on FinancialConnections.Transaction.classifications[]
  • Add support for enablement_details on Invoice.automatic_tax and QuotePreviewInvoice.automatic_tax
  • Add support for new value squads on enum Issuing.Card.crypto_wallet.type
  • Add support for return_code on PaymentAttemptRecord.payment_method_details.us_bank_account and PaymentRecord.payment_method_details.us_bank_account
  • Add support for request_card_account_update on PaymentIntent.confirm().$params.payment_method_option.card, PaymentIntent.create().$params.payment_method_option.card, PaymentIntent.payment_method_options.card, and PaymentIntent.update().$params.payment_method_option.card
  • ⚠️ Remove support for name on ProductCatalog.TrialOffer
  • ⚠️ Change type of Radar.PaymentEvaluation.signals.early_fraud_warning.score and Radar.PaymentEvaluation.signals.fraudulent_dispute.score from number to nullable(number)
  • Add support for status on Tax.Form and Tax\Form.all().$params
  • Add support for card_not_present_transactions, gross_amount_of_transactions_decimal, monthly_volumes, payment_transactions_count, and state_income_tax_withheld on Tax.Form.us_1099_k
  • Add support for cash_tips, currency, and federal_income_tax_withheld on Tax.Form.us_1099_k, Tax.Form.us_1099_misc, and Tax.Form.us_1099_nec
  • Add support for crop_insurance_proceeds, direct_sales_for_resale, excess_golden_parachute_payments, fatca_filing_required, fish_purchased_for_resale, fishing_boat_proceeds, gross_proceeds_paid_to_an_attorney, medical_and_health_care_payments, nonqualified_deferred_compensation, other_income, rents, royalties, section_409a_deferrals, and substitute_payments on Tax.Form.us_1099_misc
  • Add support for overtime_compensation, state_income, and state_tax_withheld on Tax.Form.us_1099_misc and Tax.Form.us_1099_nec
  • Add support for direct_sales_indicator, fatca_filing_requirement, and nonemployee_compensation on Tax.Form.us_1099_nec
  • ⚠️ Remove support for tamper_state on Terminal\Reader.all().$params
  • ⚠️ Remove support for configurations on V2.Core.AccountLink.use_case.recipient_onboarding, V2.Core.AccountLink.use_case.recipient_update, V2\Core\AccountLink.create().$params.use_case.recipient_onboarding, and V2\Core\AccountLink.create().$params.use_case.recipient_update
  • Add support for new value rejected on enums V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.fifth_third.charge_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card.status, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.spend_card.status, V2.Core.Account.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card.status, V2.Core.Account.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card.status, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.debit_card.status, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.prepaid_card.status, V2.Core.Account.configuration.developer.capabilities.projects.status, V2.Core.Account.configuration.merchant.capabilities.blik_recurring_payments.status, V2.Core.Account.configuration.money_manager.capabilities.business_storage.inbound.usdc.status, V2.Core.Account.configuration.money_manager.capabilities.business_storage.outbound.usdc.status, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.inbound.usd.status, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.inbound.usdc.status, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.outbound.usd.status, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.outbound.usdc.status, V2.Core.Account.configuration.money_manager.capabilities.outbound_payments.crypto_wallets.status, V2.Core.Account.configuration.money_manager.capabilities.outbound_payments.paper_checks.status, V2.Core.Account.configuration.money_manager.capabilities.outbound_transfers.crypto_wallets.status, V2.Core.Account.configuration.money_manager.capabilities.received_credits.crypto_wallets.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.ach.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.becs.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.eft.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.fedwire.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.fps.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.instant.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.npp.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.rtp.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.sepa_credit.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.sepa_instant.status, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.swift.status, V2.Core.Account.configuration.recipient.capabilities.crypto_wallets.status, and V2.Core.Account.configuration.recipient.capabilities.paper_checks.status
  • Add support for new values rejected_fraud, rejected_incomplete_verification, rejected_listed, rejected_other, rejected_platform_fraud, rejected_platform_other, rejected_platform_terms_of_service, and rejected_terms_of_service on enums V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.prepaid_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.fifth_third.charge_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.spend_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.consumer.celtic.revolving_credit_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.consumer.cross_river_bank.prepaid_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.debit_card.status_details[].code, V2.Core.Account.configuration.card_creator.capabilities.consumer.lead.prepaid_card.status_details[].code, V2.Core.Account.configuration.developer.capabilities.projects.status_details[].code, V2.Core.Account.configuration.merchant.capabilities.blik_recurring_payments.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.business_storage.inbound.usdc.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.business_storage.outbound.usdc.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.inbound.usd.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.inbound.usdc.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.outbound.usd.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.consumer_storage.outbound.usdc.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.outbound_payments.crypto_wallets.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.outbound_payments.paper_checks.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.outbound_transfers.crypto_wallets.status_details[].code, V2.Core.Account.configuration.money_manager.capabilities.received_credits.crypto_wallets.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.ach.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.becs.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.eft.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.fedwire.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.fps.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.instant.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.npp.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.rtp.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.sepa_credit.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.sepa_instant.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.swift.status_details[].code, V2.Core.Account.configuration.recipient.capabilities.crypto_wallets.status_details[].code, and V2.Core.Account.configuration.recipient.capabilities.paper_checks.status_details[].code
  • Add support for ousd on V2.Core.Account.configuration.money_manager.capabilities.business_storage.inbound, V2.Core.Account.configuration.money_manager.capabilities.business_storage.outbound, V2\Core\Account.create().$params.configuration.money_manager.capability.business_storage.inbound, V2\Core\Account.create().$params.configuration.money_manager.capability.business_storage.outbound, V2\Core\Account.update().$params.configuration.money_manager.capability.business_storage.inbound, and V2\Core\Account.update().$params.configuration.money_manager.capability.business_storage.outbound
  • Add support for origin on V2.Core.Vault.NetworkToken
  • Add support for new values account_security, authentication, issuing, payout, scim, sso, and user_profile on enum V2.Iam.ActivityLog.details.type
  • Add support for bic on V2.MoneyManagement.FinancialAddress.bank_account.aba, V2.MoneyManagement.FinancialAddress.bank_account.cpa, V2.MoneyManagement.FinancialAddress.bank_account.iban, and V2.MoneyManagement.FinancialAddress.bank_account.sort_code
  • Add support for iban on V2.MoneyManagement.FinancialAddress.bank_account.sort_code
  • Add support for statement_descriptor on V2.MoneyManagement.InboundTransfer and V2\MoneyManagement\InboundTransfer.create().$params
  • Add support for network_fee_details on V2.MoneyManagement.PayoutIntent.estimated_fees[]
  • Add support for new value network_fee on enum V2.MoneyManagement.PayoutIntent.estimated_fees[].type
  • ⚠️ Remove support for archived on V2.MoneyManagement.PayoutMethod.crypto_wallet
  • Add support for new value swift on enums V2.MoneyManagement.ReceivedCredit.bank_transfer.ca_bank_account.network and V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.cpa.network
  • Add support for new value swift on enums V2.MoneyManagement.ReceivedCredit.bank_transfer.gb_bank_account.network and V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.sort_code.network
  • Add support for new value swift on enums V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.aba.network and V2.MoneyManagement.ReceivedCredit.bank_transfer.us_bank_account.network
  • Add support for new value swift on enums V2.MoneyManagement.ReceivedCredit.bank_transfer.originating_bank_account.iban.network and V2.MoneyManagement.ReceivedCredit.bank_transfer.sepa_bank_account.network
  • Add support for network_details on V2.MoneyManagement.ReceivedDebit.bank_transfer
  • Add support for new value earned_credit on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
  • Add support for earned_credit on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
  • Add support for new value earned_credit on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type
  • Add support for regulatory_receipt on V2.MoneyManagement.Transaction
  • ⚠️ Remove support for retry_until on V2.Payments.OffSessionPayment.retry_details
  • ⚠️ Remove support for cvc on V2\Payments\OffSessionPayment.create().$params.payment_method_datum.card
  • Add support for from_resource on V2\MoneyManagement\OutboundSetupIntent.create().$params
  • Change type of V2\Core\Vault\NetworkToken.create().$params.card.origin and V2\Core\Vault\NetworkToken.create_from_credential().$params.card.origin from literal('card_on_file') to enum('card_on_file'|'wallet')
  • Change type of V2\Core\Vault\NetworkToken.create().$params.type and V2\Core\Vault\NetworkToken.create_from_credential().$params.type from literal('card') to enum('card')
  • Change type of V2\Core\Vault\NetworkToken.generate_cryptogram().$params.type from literal('token_cryptogram') to enum('token_cryptogram')
  • ⚠️ Change type of V2\Billing\Contract.create().$params.pricing_line.pricing.price_detail.pricing_override.overwrite_price.unit_amount, V2\Billing\Contract.update().$params.pricing_line_action.add.pricing.price_detail.pricing_override.overwrite_price.unit_amount, and V2\Billing\Contract.update().$params.pricing_line_action.update.pricing.price_detail.pricing_override_action.add.overwrite_price.unit_amount from string to decimal_string
  • ⚠️ Change type of V2\Billing\Contract.create().$params.pricing_override.multiply_pricing.factor from string to decimal_string
  • Add support for billing_settings on V2\Billing\Contract.update().$params
  • Add support for new values business_storage.inbound.ousd and business_storage.outbound.ousd on enum EventsV2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent.updated_capability
  • ⚠️ Remove support for account, evaluated_at, fraudulent_merchant, and type on EventsV2SignalsAccountSignalFraudulentMerchantReadyEvent
  • Add support for event notifications V2DataQueryRunCreatedEvent, V2DataQueryRunFailedEvent, V2DataQueryRunSucceededEvent, and V2DataQueryRunUpdatedEvent with related object V2.Data.QueryRun
  • Add support for event notifications V2DataReportRunCreatedEvent, V2DataReportRunFailedEvent, V2DataReportRunSucceededEvent, and V2DataReportRunUpdatedEvent with related object V2.Data.ReportRun
  • Add support for event notification V2MoneyManagementEarnedCreditSucceededEvent with related object V2.MoneyManagement.EarnedCredit

@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner September 24, 2026 17:16
@stripe-openapi
stripe-openapi Bot requested review from ramya-stripe and removed request for a team September 24, 2026 17:16
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 44c34b1 to d610141 Compare September 24, 2026 17:17
@stripe-openapi
stripe-openapi Bot removed the request for review from ramya-stripe September 24, 2026 17:17
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 16 times, most recently from 714b8ac to 5f923a9 Compare September 29, 2026 00:19
jar-stripe and others added 6 commits September 29, 2026 09:36
* Expand PHPDoc union parameter shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Link changelog entry to pull request

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Add migration guidance for PHPDoc union shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update migration guide for PHPDoc union shapes

Clarified instructions for updating reported arguments and local variable annotations in PHPDoc.

* empty

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Revise migration guide for v22 PHPDoc changes

Updated migration guide to reflect changes in PHPDoc union parameter shapes for version 22.
* ⚠️ Drop support for PHP 7.2 and 7.3

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

* Add PHP 7.4 migration guidance

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

---------

Co-authored-by: Stripe SDK <noreply@github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
Updated the migration guide for SDK v22 to reflect the new API version and provide links to the API release process and changelog.
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 2 times, most recently from e4c1ce6 to 2932c49 Compare September 29, 2026 20:16
@stripe-openapi
stripe-openapi Bot enabled auto-merge September 29, 2026 20:16
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 4 times, most recently from 3ec71c2 to 3df56ff Compare September 29, 2026 21:41
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 3 times, most recently from 2e95e40 to c348cc5 Compare September 30, 2026 01:03
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from c348cc5 to 2784d6b Compare September 30, 2026 01:03
@jar-stripe
jar-stripe disabled auto-merge September 30, 2026 17:17
@jar-stripe
jar-stripe merged commit e1cb2ff into private-preview Sep 30, 2026
25 checks passed
@jar-stripe
jar-stripe deleted the latest-codegen-private-preview branch September 30, 2026 17:18
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.

3 participants