Breaking changes
Renames the FileUpload object to Files, which now require secret keys to download files Breaking changes
What’s new
Renames FileUpload to File for all objects. Additionally, the url attribute now contains an authenticated URL, eliminating the need to use your secret API key to download the file’s contents. You can create a file link to obtain a publicly-accessible URL for the file.
Impact
This change renames FileUpload objects to File objects and introduces authenticated URLs for file access, requiring secret API keys for downloads. You now have more secure file management, with the ability to create public file links when needed.
Upgrade
- View your current API version in Workbench.
- 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: 2018-09-24
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.