Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

File uploads describe their file type with the simpler type field and format


Breaking changes

File uploads describe their file type with the simpler type field and format Breaking changes

What’s new

Removes the mimetype property from the File Upload object. This now returns simplified file types in the type property and uses simpler naming conventions than mimetypes ( type contains pdf instead of application/pdf).

Impact

This change allows you to work with simplified file type information in the File Upload object.

Changes

ParametersChangeResources or endpoints
typeAddedFile
mimetypeRemovedFile

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: 2015-01-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?