Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Renames the allowed_source_types field for sources to payment_method_types


Breaking changes

Renames the allowed_source_types field for sources to payment_method_types Breaking changes

What’s new

Renames allowed_source_types to payment_method_types.

Impact

Update your code to use the new parameter name when specifying acceptable payment methods for a transaction. This modification provides more consistent terminology aligned with the broader concept of payment methods.

Changes

ParametersChangeResources or endpoints
allowed_source_typesRemovedCheckout. Session#create PaymentIntent PaymentIntent#confirm + 2 more PaymentIntent#create PaymentIntent#update
payment_method_typesAddedPaymentIntent

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2019-02-11
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .

Learn more about Stripe API upgrades.

Last verified 2026-09-25

Is this helpful?