Public preview
Adds validation errors property to the Redaction Job object Public preview
What’s new
Adds the validation_errors property to the Redaction Job object. This property provides inline access to the first 10 validation errors for the current validation attempt. It returns a list object containing validation error details, pagination information, and a URL to retrieve the full list of validation errors.
The validation_errors property includes:
- data : An array of RedactionJobValidationError objects representing the first 10 validation errors
- has _ more : A boolean indicating whether additional validation errors exist beyond the first 10
- object : Always set to “list” to indicate this is a list object
- url : The API endpoint URL to paginate through the complete list of validation errors
Impact
You can now access validation errors directly from the Redaction Job object without making a separate API call to list all validation errors. This reduces the number of API requests needed when checking for validation issues during redaction job processing. If more than 10 validation errors exist, use the list validation errors endpoint with the provided URL to retrieve the complete list.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| validation_errors | Added | Privacy. RedactionJob |
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: 2026-04-22. preview
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
