capital_financing_application and capital_financing on AccountSessionCreateParams.componentspermissions on Checkout.SessionCreateParams and Checkout.Sessioncollected_information on Checkout.SessionUpdateParams and Checkout.Sessionshipping_options on Checkout.SessionUpdateParamsauthorization_code on Charge.payment_method_details.cardwallet on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_presentmandate_options on PaymentIntent.payment_method_options.bacs_debit, PaymentIntentConfirmParams.payment_method_options.bacs_debit, PaymentIntentCreateParams.payment_method_options.bacs_debit, and PaymentIntentUpdateParams.payment_method_options.bacs_debitbacs_debit on SetupIntent.payment_method_options, SetupIntentConfirmParams.payment_method_options, SetupIntentCreateParams.payment_method_options, and SetupIntentUpdateParams.payment_method_optionschips on Treasury.OutboundPayment.tracking_details.us_domestic_wire, Treasury.OutboundPaymentUpdateParams.testHelpers.tracking_details.us_domestic_wire, Treasury.OutboundTransfer.tracking_details.us_domestic_wire, and Treasury.OutboundTransferUpdateParams.testHelpers.tracking_details.us_domestic_wireTreasury.OutboundPayment.tracking_details.us_domestic_wire.imad and Treasury.OutboundTransfer.tracking_details.us_domestic_wire.imad from string to string | nullcapital_financing_application and capital_financing on AccountSession.componentspayto on Checkout.Session.payment_method_options and Checkout.SessionCreateParams.payment_method_optionspayto on enum Checkout.SessionCreateParams.payment_method_types[]custom on enums Checkout.Session.ui_mode and Checkout.SessionCreateParams.ui_moderisk_correlation_id on PaymentIntent.payment_method_options.rechnung, PaymentIntentConfirmParams.payment_method_options.rechnung, PaymentIntentCreateParams.payment_method_options.rechnung, and PaymentIntentUpdateParams.payment_method_options.rechnungpayto on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]QuoteLine.cancel_subscription_schedule to be requiredactivate, archive, create, deactivate, list, and retrieve methods on resource Billing.Alertretrieve method on resource Tax.Calculationinvalid_mandate_reference_prefix_format on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.codetype on Charge.payment_method_details.card_present.offline, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline, PaymentMethod.card.generated_from.payment_method_details.card_present.offline, and SetupAttempt.payment_method_details.card_present.offlineoffline on ConfirmationToken.payment_method_preview.card_present and PaymentMethod.card_presentrelated_customer on Identity.VerificationSessionCreateParams, Identity.VerificationSessionListParams, and Identity.VerificationSessionInvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count, InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count, PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval, PaymentIntentCreateParams.payment_method_options.card.installments.plan.count, PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval, PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count, and PaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval to be optionalgirocard on enums PaymentIntent.payment_method_options.card.network, PaymentIntentConfirmParams.payment_method_options.card.network, PaymentIntentCreateParams.payment_method_options.card.network, PaymentIntentUpdateParams.payment_method_options.card.network, SetupIntent.payment_method_options.card.network, SetupIntentConfirmParams.payment_method_options.card.network, SetupIntentCreateParams.payment_method_options.card.network, SetupIntentUpdateParams.payment_method_options.card.network, Subscription.payment_settings.payment_method_options.card.network, SubscriptionCreateParams.payment_settings.payment_method_options.card.network, and SubscriptionUpdateParams.payment_settings.payment_method_options.card.networkfinancial_addresses.aba.forwarding on enums Treasury.FinancialAccount.active_features[], Treasury.FinancialAccount.pending_features[], and Treasury.FinancialAccount.restricted_features[]attach_payment method on resource Invoiceapp_install and app_viewport on AccountSessionCreateParams.componentspartner_rejected_details on Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3lines_invalid on Quote.status_details.stale.last_reasonlines_invalid on enum Quote.status_details.stale.last_reason.typelast_price_migration_error on SubscriptionSchedule and SubscriptionBilling.AlertTriggered and Billing.Alertcharge_exceeds_transaction_limit on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.codeauthorization_code on Charge.payment_method_details.card. This was accidentally released last week.billing.alert.triggered on enum Event.typebilling.alert.triggered on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]Billing.AlertTriggered, Billing.Alert, and Tax.Associationactivate, archive, create, deactivate, list, and retrieve methods on resource Alertfind method on resource Associationcapital on Account.settings, AccountCreateParams.settings, and AccountUpdateParams.settingsissuing.account_closed_for_not_providing_business_model_clarification, issuing.account_closed_for_not_providing_url_clarification, and issuing.account_closed_for_not_providing_use_case_clarification on enum AccountNotice.reasonasync_workflows on PaymentIntentCaptureParams, PaymentIntentConfirmParams, PaymentIntentCreateParams, PaymentIntentDecrementAuthorizationParams, PaymentIntentIncrementAuthorizationParams, PaymentIntentUpdateParams, and PaymentIntentpayto on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfigurationdisplay_name on Treasury.FinancialAccountCreateParams, Treasury.FinancialAccountUpdateParams, and Treasury.FinancialAccounttax_registrations and tax_settings on AccountSession.components and AccountSessionCreateParams.componentsupdate method on resource Checkout.Sessiontransaction_id on Charge.payment_method_details.affirmbuyer_id on Charge.payment_method_details.blikauthorization_code on Charge.payment_method_details.cardbrand_product on Charge.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, ConfirmationToken.payment_method_preview.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentMethod.card_presentnetwork_transaction_id on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, and PaymentMethod.card.generated_from.payment_method_details.card_presentcase_type on Dispute.payment_method_details.cardinvoice.overdue and invoice.will_be_due on enum Event.typetwint on PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, and PaymentMethodConfigurationinvoice.overdue and invoice.will_be_due on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]customer on ConfirmationToken.payment_method_previewissuing_dispute.funds_rescinded on enum Event.typemultibanco on enums Invoice.payment_settings.payment_method_types[], InvoiceCreateParams.payment_settings.payment_method_types[], InvoiceUpdateParams.payment_settings.payment_method_types[], Subscription.payment_settings.payment_method_types[], SubscriptionCreateParams.payment_settings.payment_method_types[], and SubscriptionUpdateParams.payment_settings.payment_method_types[]stripe_s700 on enums Terminal.Reader.device_type and Terminal.ReaderListParams.device_typeissuing_dispute.funds_rescinded on enums WebhookEndpointCreateParams.enabled_events[] and WebhookEndpointUpdateParams.enabled_events[]ConfirmationToken.payment_method_options and CustomerSession.components.payment_element to be requirednot_qualified on enum Dispute.evidence_details.enhanced_eligibility.visa_compelling_evidence_3.statusbilling_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable from enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code.payment_intent_fx_quote_invalid from enum StripeError.code. The was mistakenly released last week.payment_method_options on ConfirmationTokenpayment_element on CustomerSession.components and CustomerSessionCreateParams.componentsaddress_validation on Issuing.Card.shipping and Issuing.CardCreateParams.shippingshipping on Issuing.CardUpdateParamsPlan.meter and Price.recurring.meter to be requiredhasOwnProperty when using for..inpayment_method_update on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.features. Users are expected to completely migrate from using payment_method_update.FinancialConnections.Institutionlist and retrieve methods on resource Institutioninstitution on Checkout.Session.payment_method_options.us_bank_account.financial_connections.filters, FinancialConnections.Session.filters, FinancialConnections.SessionCreateParams.filters, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntent.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntent.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.filters, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.filters, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filters, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.filterspayment_method_allow_redisplay_filters, payment_method_redisplay_limit, payment_method_redisplay, and payment_method_save_usage on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.featuresbalance on enums FinancialConnections.Account.subscriptions[], FinancialConnections.AccountSubscribeParams.features[], and FinancialConnections.AccountUnsubscribeParams.features[]add_lines, remove_lines, and update_lines methods on resource Invoicepayment_intent_fx_quote_invalid on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.codeposted_at on Tax.TransactionCreateFromCalculationParams and Tax.Transactionpayment_method_set_as_default on CustomerSession.components.payment_element.features and CustomerSessionCreateParams.components.payment_element.featuresch_uid on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].typech_uid on enum Order.tax_details.tax_ids[].typefilters on Checkout.Session.payment_method_options.us_bank_account.financial_connections, Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, PaymentIntent.payment_method_options.us_bank_account.financial_connections, PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections, PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, SetupIntent.payment_method_options.us_bank_account.financial_connections, SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections, SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections, SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections, Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections, SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections, and SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connectionsemail_type on CreditNoteCreateParams, CreditNotePreviewLinesParams, and CreditNotePreviewParamsaccount_subcategories on FinancialConnections.Session.filters and FinancialConnections.SessionCreateParams.filtersmultibanco, twint, and zip on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]reboot_window on Terminal.ConfigurationCreateParams, Terminal.ConfigurationUpdateParams, and Terminal.ConfigurationThis release changes the pinned API version to 2024-06-20. Please read the API Changelog and carefully review the API changes before upgrading.
PlatformTaxFeevolume_decimal to quantity_decimal on
Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel,Issuing.Transaction.purchase_details.fuel,Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, andIssuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuelCapabilities.Requirements.disabled_reason and Capabilities.Requirements.disabled_reason are now enums with the below values
otherpaused.inactivitypending.onboardingpending.reviewplatform_disabledplatform_pausedrejected.inactivityrejected.otherrejected.unsupported_businessrequirements.fields_neededcharging_minute, imperial_gallon, kilogram, kilowatt_hour, and pound on enums Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unitcard_canceled, card_expired, cardholder_blocked, insecure_authorization_method, and pin_blocked on enum Issuing.Authorization.request_history[].reasonfinalize_amount test helper method on resource Issuing.Authorizationch_uid on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.typech_uid on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.typefleet on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details, Issuing.AuthorizationCreateParams.testHelpers, Issuing.Authorization, Issuing.Transaction.purchase_details, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_detailsfuel on Issuing.AuthorizationCreateParams.testHelpers and Issuing.Authorizationindustry_product_code and quantity_decimal on Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel, Issuing.Transaction.purchase_details.fuel, Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel, and Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel2024-06-20 on enum WebhookEndpointCreateParams.api_version#2118 Use worker module in Bun
mobilepay on enums PaymentLink.payment_method_types[], PaymentLinkCreateParams.payment_method_types[], and PaymentLinkUpdateParams.payment_method_types[]tax_id_collection on PaymentLinkUpdateParamsPaymentIntentConfirmParams.mandate_data from Stripe.Emptyable<PaymentIntentConfirmParams.MandateData1 | PaymentIntentConfirmParams.MandateData2> to Stripe.Emptyable<PaymentIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2PaymentMethodCreateParams.card from PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2 to PaymentMethodCreateParams.Card where the new Card is a union of all the properties of Card1 and Card2SetupIntentConfirmParams.mandate_data from Stripe.Emptyable<SetupIntentConfirmParams.MandateData1 | SetupIntentConfirmParams.MandateData2> to Stripe.Emptyable<SetupIntentConfirmParams.MandateData> where the new MandateData is a union of all the properties of MandateData1 and MandateData2de_stn on enums OrderCreateParams.tax_details.tax_ids[].type and OrderUpdateParams.tax_details.tax_ids[].typede_stn on enum Order.tax_details.tax_ids[].typemultibanco_payments and twint_payments on Account.capabilities, AccountCreateParams.capabilities, and AccountUpdateParams.capabilitiestwint on Charge.payment_method_details, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, 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, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_datamultibanco on Checkout.Session.payment_method_options, Checkout.SessionCreateParams.payment_method_options, ConfirmationToken.payment_method_preview, ConfirmationTokenCreateParams.testHelpers.payment_method_data, 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, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationUpdateParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, Refund.destination_details, SetupIntentConfirmParams.payment_method_data, SetupIntentCreateParams.payment_method_data, and SetupIntentUpdateParams.payment_method_datamultibanco and twint on enums Checkout.SessionCreateParams.payment_method_types[], CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.typede_stn on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.typemultibanco and twint 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.typemultibanco and twint on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.typede_stn on enums CustomerCreateParams.tax_id_data[].type, InvoiceCreatePreviewParams.customer_details.tax_ids[].type, InvoiceUpcomingLinesParams.customer_details.tax_ids[].type, InvoiceUpcomingParams.customer_details.tax_ids[].type, Tax.CalculationCreateParams.customer_details.tax_ids[].type, and TaxIdCreateParams.typemultibanco_display_details on PaymentIntent.next_actioninvoice_settings on Subscriptiontwint on PaymentIntent.payment_method_options, PaymentIntentConfirmParams.payment_method_options, PaymentIntentCreateParams.payment_method_options, and PaymentIntentUpdateParams.payment_method_options