Breaking changes
Verification of accounts or persons now supports uploading both front and back sides Breaking changes
What’s new
Changes the legal_entity[verification][document], which is located at individual[verification] and verification in the Person object, to a hash.
- The front and back fields support uploading both sides of documents.
- The details _ code field has new error types: document _ corrupt , document _ failed _ copy , document _ failed _ greyscale , document _ failed _ other , document _ failed _ test _ mode , document _ fraudulent , document _ id _ country _ not _ supported , document _ id _ type _ not _ supported , document _ invalid , document _ manipulated , document _ missing _ back , document _ missing _ front , document _ not _ readable , document _ not _ uploaded , document _ photo _ mismatch , and document _ too _ large .
Impact
This change restructures the verification document property and expands error reporting.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| verification | Added | AccountPerson#create AccountPerson#update |
| additional_document_back document_back | Removed | Person. verification |
| Fields | Change | From → to |
| Person. verification. additional_document | Changed | expandable($File) → LegalEntityPersonVerificationDocument |
| Person. verification. document | Changed | nullable(expandable($File)) → LegalEntityPersonVerificationDocument |
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: 2019-02-19
- 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.