Breaking changes
Changes the political exposure property of the Person object from a string to an enum Breaking changes
What’s new
Changes the political_exposure property of the Person object to use enum values instead of a string.
Why is this a breaking change?
You can no longer assign a value to the political_exposure property that isn’t on the political exposure enums list.
Impact
You must update any code that creates or updates a Person object using an invalid political_exposure value, or one that expects a Person to have an invalid political_exposure value.
Changes
| Field | Change | From → to |
|---|---|---|
| Token#create. person. political_exposure | Changed | string → enum('existing'|'none') |
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: 2025-03-31. basil
- 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.
