stripe-node icon indicating copy to clipboard operation
stripe-node copied to clipboard

Update generated code for beta

Open stripe-openapi[bot] opened this issue 5 months ago • 0 comments
trafficstars

Codegen for openapi v1817 and proto spec 2025-06-30.preview.

Changelog

  • Add support for crypto_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilities
  • Add support for proof_of_address on AccountCreateParams.documents and AccountUpdateParams.documents
  • Add support for monthly_payout_days and weekly_payout_days on Account.settings.payouts.schedule, AccountCreateParams.settings.payouts.schedule, and AccountUpdateParams.settings.payouts.schedule
  • Change Account.settings.invoices.hosted_payment_method_save to be required
  • Add support for crypto on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_data, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_data, PaymentIntentCreateParams.payment_method_options, PaymentIntentUpdateParams.payment_method_data, PaymentIntentUpdateParams.payment_method_options, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.payment_method_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_data
  • Change type of Charge.payment_method_details.card.installments.plan.type, ConfirmationToken.payment_method_options.card.installments.plan.type, ConfirmationTokenCreateParams.testHelpers.payment_method_options.card.installments.plan.type, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.type, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.type, PaymentIntent.payment_method_options.card.installments.available_plans[].type, PaymentIntent.payment_method_options.card.installments.plan.type, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.type, PaymentIntentCreateParams.payment_method_options.card.installments.plan.type, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.type from literal('fixed_count') to enum('bonus'|'fixed_count'|'revolving')
  • Add support for new value buut on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, ConfirmationTokenCreateParams.testHelpers.payment_method_data.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentIntentConfirmParams.payment_method_data.ideal.bank, PaymentIntentCreateParams.payment_method_data.ideal.bank, PaymentIntentUpdateParams.payment_method_data.ideal.bank, PaymentMethod.ideal.bank, PaymentMethodCreateParams.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, SetupAttempt.payment_method_details.ideal.bank, SetupIntentConfirmParams.payment_method_data.ideal.bank, SetupIntentCreateParams.payment_method_data.ideal.bank, and SetupIntentUpdateParams.payment_method_data.ideal.bank
  • Add support for new value BUUTNL2A on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
  • Add support for subscriptions on Checkout.SessionCreateParams.payment_method_options.klarna, OrderCreateParams.payment.settings.payment_method_options.klarna, OrderUpdateParams.payment.settings.payment_method_options.klarna, PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, and PaymentIntentUpdateParams.payment_method_options.klarna
  • Add support for new value crypto on enum Checkout.SessionCreateParams.payment_method_types
  • Change type of Checkout.SessionCreateParams.subscription_data.billing_mode, InvoiceCreatePreviewParams.schedule_details.billing_mode, InvoiceCreatePreviewParams.subscription_details.billing_mode, Quote.subscription_data.billing_mode, QuoteCreateParams.subscription_data.billing_mode, SubscriptionCreateParams.billing_mode, and SubscriptionScheduleCreateParams.billing_mode from enum('classic'|'flexible') to billing_mode
  • Add support for new value crypto on enums ConfirmationTokenCreateParams.testHelpers.payment_method_data.type, PaymentIntentConfirmParams.payment_method_data.type, PaymentIntentCreateParams.payment_method_data.type, PaymentIntentUpdateParams.payment_method_data.type, SetupIntentConfirmParams.payment_method_data.type, SetupIntentCreateParams.payment_method_data.type, and SetupIntentUpdateParams.payment_method_data.type
  • Add support for new value crypto on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
  • Add support for new value crypto on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
  • Change type of Dispute.enhanced_eligibility_types from literal('visa_compelling_evidence_3') to enum('visa_compelling_evidence_3'|'visa_compliance')
  • Add support for submission_method on Dispute.evidence_details
  • Add support for new value compliance on enum Dispute.payment_method_details.card.case_type
  • Add support for related_person on Identity.VerificationSessionCreateParams and Identity.VerificationSession
  • Add support for matching on Identity.VerificationSession.options
  • Add support for new value crypto on enums Invoice.payment_settings.payment_method_types, InvoiceCreateParams.payment_settings.payment_method_types, InvoiceUpdateParams.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, Subscription.payment_settings.payment_method_types, SubscriptionCreateParams.payment_settings.payment_method_types, and SubscriptionUpdateParams.payment_settings.payment_method_types
  • Add support for klarna on Mandate.payment_method_details, SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_options
  • Add support for on_demand on OrderCreateParams.payment.settings.payment_method_options.klarna, OrderUpdateParams.payment.settings.payment_method_options.klarna, PaymentIntentConfirmParams.payment_method_options.klarna, PaymentIntentCreateParams.payment_method_options.klarna, and PaymentIntentUpdateParams.payment_method_options.klarna
  • Change type of Order.payment.settings.payment_method_options.klarna.setup_future_usage, OrderCreateParams.payment.settings.payment_method_options.klarna.setup_future_usage, OrderUpdateParams.payment.settings.payment_method_options.klarna.setup_future_usage, PaymentIntent.payment_method_options.klarna.setup_future_usage, PaymentIntentConfirmParams.payment_method_options.klarna.setup_future_usage, PaymentIntentCreateParams.payment_method_options.klarna.setup_future_usage, and PaymentIntentUpdateParams.payment_method_options.klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')
  • Change type of PaymentIntent.payment_method_options.gopay.setup_future_usage, PaymentIntentConfirmParams.payment_method_options.gopay.setup_future_usage, PaymentIntentCreateParams.payment_method_options.gopay.setup_future_usage, and PaymentIntentUpdateParams.payment_method_options.gopay.setup_future_usage from literal('none') to enum('none'|'off_session')
  • Change Quote.subscription_data.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode to be required
  • Change type of QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode from enum('classic'|'flexible') to SubscriptionsResourceBillingMode
  • Change type of SubscriptionMigrateParams.billing_mode from literal('flexible') to billing_mode_migrate
  • Remove support for billing_mode_details on Subscription
  • Add support for ua on Tax.Registration.country_options and Tax.RegistrationCreateParams.country_options
  • Change type of Terminal.LocationUpdateParams.display_name from string to emptyable(string)
  • Add support for status on Treasury.FinancialAccountListParams
  • Add support for new value 2025-06-30.basil on enum WebhookEndpointCreateParams.api_version
  • Add support for new value xx on enums V2.Core.Account.configuration.customer.automatic_indirect_tax.location.country, V2.Core.Account.configuration.customer.shipping.address.country, V2.Core.Account.configuration.merchant.support.address.country, V2.Core.Account.identity.business_details.address.country, V2.Core.Account.identity.business_details.script_addresses.kana.country, V2.Core.Account.identity.business_details.script_addresses.kanji.country, V2.Core.Account.identity.country, V2.Core.Account.identity.individual.additional_addresses[].country, V2.Core.Account.identity.individual.address.country, V2.Core.Account.identity.individual.script_addresses.kana.country, V2.Core.Account.identity.individual.script_addresses.kanji.country, V2.Core.AccountCreateParams.configuration.customer.shipping.address.country, V2.Core.AccountCreateParams.configuration.merchant.support.address.country, V2.Core.AccountCreateParams.identity.business_details.address.country, V2.Core.AccountCreateParams.identity.business_details.script_addresses.kana.country, V2.Core.AccountCreateParams.identity.business_details.script_addresses.kanji.country, V2.Core.AccountCreateParams.identity.country, V2.Core.AccountCreateParams.identity.individual.additional_addresses[].country, V2.Core.AccountCreateParams.identity.individual.address.country, V2.Core.AccountCreateParams.identity.individual.script_addresses.kana.country, V2.Core.AccountCreateParams.identity.individual.script_addresses.kanji.country, V2.Core.AccountUpdateParams.configuration.customer.shipping.address.country, V2.Core.AccountUpdateParams.configuration.merchant.support.address.country, V2.Core.AccountUpdateParams.identity.business_details.address.country, V2.Core.AccountUpdateParams.identity.business_details.script_addresses.kana.country, V2.Core.AccountUpdateParams.identity.business_details.script_addresses.kanji.country, V2.Core.AccountUpdateParams.identity.country, V2.Core.AccountUpdateParams.identity.individual.additional_addresses[].country, V2.Core.AccountUpdateParams.identity.individual.address.country, V2.Core.AccountUpdateParams.identity.individual.script_addresses.kana.country, V2.Core.AccountUpdateParams.identity.individual.script_addresses.kanji.country, V2.Core.Person.additional_addresses[].country, V2.Core.Person.address.country, V2.Core.Person.script_addresses.kana.country, V2.Core.Person.script_addresses.kanji.country, V2.Core.PersonCreateParams.additional_addresses[].country, V2.Core.PersonCreateParams.address.country, V2.Core.PersonCreateParams.script_addresses.kana.country, V2.Core.PersonCreateParams.script_addresses.kanji.country, V2.Core.PersonUpdateParams.additional_addresses[].country, V2.Core.PersonUpdateParams.address.country, V2.Core.PersonUpdateParams.script_addresses.kana.country, V2.Core.PersonUpdateParams.script_addresses.kanji.country, and V2.MoneyManagement.FinancialAccount.country
  • Add support for new value xx on enums V2.Core.Account.identity.individual.nationalities, V2.Core.AccountCreateParams.identity.individual.nationalities, V2.Core.AccountUpdateParams.identity.individual.nationalities, V2.Core.Person.nationalities, V2.Core.PersonCreateParams.nationalities, and V2.Core.PersonUpdateParams.nationalities
  • Add support for metadata and status_details on V2.MoneyManagement.FinancialAccount
  • Remove support for description on V2.MoneyManagement.FinancialAccount
  • Add support for new value pending on enum V2.MoneyManagement.FinancialAccount.status
  • Remove support for attempts on V2.Payments.OffSessionPayment
  • Change type of V2.Payments.OffSessionPayment.transfer_data.amount from integer to integer | null
  • Add support for from_account, outbound_payment, and outbound_transfer on V2.MoneyManagement.ReceivedCredit.balance_transfer
  • Change type of V2.MoneyManagement.ReceivedCredit.balance_transfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')
  • Change type of V2.MoneyManagement.ReceivedCredit.balance_transfer.payout_v1 from string to string | null
  • Change V2.Payments.OffSessionPaymentCreateParams.transfer_data.amount to be optional
  • Add support for error code insufficient_funds on InsufficientFundsError
  • Remove support for error codes outbound_payment_insufficient_funds and outbound_transfer_insufficient_funds on InsufficientFundsError
  • Add support for error codes recipient_amount_limit_exceeded and recipient_count_limit_exceeded on QuotaExceededError
  • Remove support for error codes outbound_payment_recipient_amount_limit_exceeded and outbound_payment_recipient_count_limit_exceeded on QuotaExceededError
  • Add support for error code recipient_email_does_not_exist on RecipientNotNotifiableError
  • Remove support for error code outbound_payment_recipient_email_does_not_exist on RecipientNotNotifiableError
  • Add support for error code recipient_feature_not_active on FeatureNotEnabledError
  • Remove support for error code outbound_payment_recipient_feature_not_active on FeatureNotEnabledError

stripe-openapi[bot] avatar May 28 '25 21:05 stripe-openapi[bot]