# Handle verification with the API

Learn how Connect platforms can use webhooks and the API to handle verification of connected accounts.

Connect platforms that onboard connected accounts using the API must provide Stripe with required information for [Know Your Customer](https://support.stripe.com/questions/know-your-customer) (KYC) purposes and to enable [account capabilities](https://docs.stripe.com/connect/account-capabilities.md). They must collect the information themselves and use the Accounts and Persons APIs to provide it to Stripe. We then verify the information, asking for more details when needed.

Responsible platforms must also monitor their connected accounts’ requirement statuses and [handle any updates](https://docs.stripe.com/connect/handle-verification-updates.md) in a timely manner.

# Accounts v2


## Understand requirements

Requirements describe the account information that Stripe needs in order to enable one or more capabilities for that account. A requirement can include:

- The `Account` object associated with the information
- Why Stripe needs the information
- Whether the requirement is past due
- The consequences of not providing the information, including the affected capabilities
- Who must take action to complete the requirement

An `Account` object’s [requirements](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-requirements) hash contains information about all of its open requirements. It doesn’t include entries for fulfilled requirements unless they might need an update. To examine the list of open requirements, retrieve the `Account` object and specify `requirements` in the request’s `include` parameter.

### Stripe risk review requirements

Stripe risk reviews of a connected account can add extra requirements, which you can’t provide using the API. You can [take action in your Dashboard](https://docs.stripe.com/connect/dashboard/managing-individual-accounts.md#actions-required), or the connected account can provide them through a [Connect embedded component](https://docs.stripe.com/connect/supported-embedded-components.md#onboarding-and-compliance), [Stripe-hosted onboarding](https://docs.stripe.com/connect/hosted-onboarding.md), or a [remediation link](https://docs.stripe.com/connect/dashboard/remediation-links.md). In the `requirements.entries` array, these requirements usually have a `description` that starts with `inquiry.` and a `reference.type` of `inquiry`.

### Requirement deadlines and statuses

Each entry in the `requirements` hash includes a `minimum_deadline.status` property with one of the following values:

| Value            | Description                                                                                                                                |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `currently_due`  | You must take action to keep one or more capabilities active.                                                                              |
| `eventually_due` | The information might be required in the future. For example, on a certain date or when the account reaches a processing volume threshold. |
| `past_due`       | The deadline for taking action passed, and one or more capabilities might be disabled or restricted.                                       |

If the `requirements` hash contains any open requirements, it also includes the following properties:

| Property                          | Description                                                                                                                                          |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `summary.minimum_deadline.status` | The strictest status that applies to at least one open requirement. `past_due` is the strictest, followed by `currently_due`, then `eventually_due`. |
| `summary.minimum_deadline.time`   | The earliest time that any `currently_due` or `eventually_due` requirement will become `past_due`.                                                   |

You can use the summary values to determine whether an account requires action, without examining all of the individual requirements. For example:

```js
function accountNeedsImmediateAction(requirements) {
  if (!requirements.summary || !requirements.summary.minimum_deadline) {
    return false;
  }

  const status = requirements.summary.minimum_deadline.status;
  return status === 'past_due' || status === 'currently_due';
}
```

### Requirement errors

When Stripe fails to verify a submitted requirement, we add an [errors](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-requirements-entries-errors) array to that requirement’s entry. Each element of the array includes a `code` and `description` describing the error. If the requirement’s `awaiting_action_from` value is `user`, then you must take action to resolve the error. For example:

```json
"entries": [
  {
    "description": "defaults.profile.business_url",
    "awaiting_action_from": "user",
    "errors": [
      {
        "code": "invalid_url_website_inaccessible_password_protected",
        "description": "Website review blocked by password protection."
      }
    ]
  }
]
```

You can address many requirement errors by sending the connected account a [remediation link](https://docs.stripe.com/connect/dashboard/remediation-links.md) that allows them to resolve the error themselves. If a requirement appears in the **Actions required** list on the connected account’s details page in your platform Dashboard, you can generate a remediation link for it. If the requirement doesn’t appear in the list, or doesn’t offer a menu option to generate a link, then you can’t resolve that requirement with a remediation link.

### Capability statuses

To check the status of a capability that might be affected by a `past_due` requirement, retrieve the `Account` object and specify the associated configuration in the request’s `include` parameter.

Each capability includes a `status` property with one of the following values:

| Value         | Description                                                                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `active`      | The capability is enabled.                                                                                                                                   |
| `restricted`  | The capability is restricted, usually because of one or more `past_due` requirements.                                                                        |
| `pending`     | Stripe is in the process of verifying one or more of the capability’s requirements.                                                                          |
| `unsupported` | Stripe can’t enable the capability for the account. The reason might be that the capability doesn’t support the account’s country, region, or business type. |

A capability that isn’t active can also include a `status_details` hash, with one or both of the following properties:

| Property                    | Description                                                                                                                                                                                                                                                                                           |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status_details.resolution` | Information about how to resolve the issue, which can be one of the following values:
  - `provide_info`: Submit additional required information.
  - `contact_stripe`: Contact Stripe Support for assistance.
  - `no_resolution`: You can’t take any action to resolve the issue.                   |
| `status_details.code`       | Information about the status, for example:
  - restricted status:
    - `requirements_past_due`
    - `restricted_other`
  - pending status:
    - `requirements_pending_verification`
    - `determining_status`
  - unsupported status:
    - `unsupported_country`
    - `unsupported_entity_type` |

Capabilities are eventually consistent with their requirements. When you fulfill a requirement, you can determine when the corresponding capability activates by listening to the `v2.core.account[configuration.{type}].capability_status_updated` webhook event for the configuration containing that capability.

## Business information

Stripe verifies all information submitted about a business. For example, we might verify that the business URL is valid, is reachable, and includes information about the business. To check the verification status, you can retrieve the `requirements` hash on the `Account` object.

The following errors relate to business information verification:

| Error                                      | Resolution                                                                                     |
| ------------------------------------------ | ---------------------------------------------------------------------------------------------- |
| `invalid_business_profile_name`            | Business names must be easy to understand and consist of recognizable words.                   |
| `invalid_business_profile_name_denylisted` | The business name must match the account’s business and can’t be a generic or well-known name. |
| `invalid_product_description_length`       | The product description must be at least 10 characters.                                        |
| `invalid_product_description_url_match`    | The product description must be different from the business URL.                               |

See [Handle URL verification errors](https://docs.stripe.com/connect/handling-api-verification.md#url-verification) to resolve the following URL errors:

- `invalid_url_denylisted`
- `invalid_url_format`
- `invalid_url_web_presence_detected`
- `invalid_url_website_business_information_mismatch`
- `invalid_url_website_empty`
- `invalid_url_website_inaccessible`
- `invalid_url_website_inaccessible_geoblocked`
- `invalid_url_website_inaccessible_password_protected`
- `invalid_url_website_incomplete`
- `invalid_url_website_incomplete_cancellation_policy`
- `invalid_url_website_incomplete_customer_service_details`
- `invalid_url_website_incomplete_legal_restrictions`
- `invalid_url_website_incomplete_refund_policy`
- `invalid_url_website_incomplete_return_policy`
- `invalid_url_website_incomplete_terms_and_conditions`
- `invalid_url_website_incomplete_under_construction`
- `invalid_url_website_other`

## Business representatives 

You must collect and submit information about the people associated with a connected account. The process depends on whether your connected accounts are companies, individuals, or both.

For companies, use the [Persons v2 API](https://docs.stripe.com/api/v2/core/persons.md) to add the information to a `Person` object associated with the `Account` object. To add documents to the [documents](https://docs.stripe.com/api/v2/core/accounts/create-person.md#v2_create_persons-documents) hash on the `Person` object, first use the [Files API](https://docs.stripe.com/api/files.md) to upload the document files to Stripe’s servers.

For individuals, you can either create a `Person` or add the information to the [identity.individual](https://docs.stripe.com/api/v2/core/accounts/update.md#v2_update_accounts-identity-individual) hash on the `Account` object.

If your connected accounts include both companies and individuals, create `Person` objects so you can use the same process for all of them.

In some cases, after adding information to the `Person` object or the `identity.individual` hash, you must also provide one or more attestations in the [identity.attestations](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-identity-attestations) hash.

To check the verification status of an `Account`, you can retrieve its [requirements](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-requirements) hash.

The following errors relate to person verification:

| Error                                       | Resolution                                                                                                                             |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `invalid_address_city_state_postal_code`    | Stripe couldn’t validate the combination of city, state, and postal code in the provided address.                                      |
| `invalid_address_highway_contract_box`      | The person’s address must be a valid physical address that the account conducts business from, and it can’t be a Highway Contract Box. |
| `invalid_address_private_mailbox`           | The person’s address must be a valid physical address that the account conducts business from, and it can’t be a private mailbox.      |
| `invalid_dob_age_under_minimum`             | The person must be at least 13 years old.                                                                                              |
| `invalid_dob_age_over_maximum`              | The person’s date of birth must be within the past 120 years.                                                                          |
| `invalid_phone_number`                      | Stripe couldn’t validate the phone number on the account. Make sure the formatting matches the person’s country.                       |
| `invalid_street_address`                    | Stripe couldn’t validate the street name or number in the provided address.                                                            |
| `invalid_tax_id`

  `invalid_tax_id_format` | The tax ID must be a unique set of 9 numbers without dashes or other special characters.                                               |

## Acceptable verification documents 

The types of identity documents that Stripe accepts for connected accounts vary by country and are [the same as for other Stripe accounts](https://docs.stripe.com/acceptable-verification-documents.md).

## Statement descriptors

Stripe validates the [statement descriptor and statement descriptor prefix](https://docs.stripe.com/connect/statement-descriptors.md) when you set them on an `Account`. For example, we might verify that the first 22 characters, which are provided to the card networks, match the description of the business. We check whether they’re a close match of the `Account`’s `business_profile.name`, `business_profile.url`, or the name of the company or individual.

To check the statement descriptor verification status, you can retrieve the `requirements` hash on the `Account` object.

The following errors relate to statement descriptor verification:

| Error                                                                                         | Resolution                                                                                                              |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `invalid_statement_descriptor_length`                                                         | The statement descriptor must be at least 5 characters.                                                                 |
| `invalid_statement_descriptor_business_mismatch`                                              | The statement descriptor must be similar to the business name, legal entity name, or business URL.                      |
| `invalid_statement_descriptor_denylisted`

  `invalid_statement_descriptor_prefix_denylisted` | The statement descriptor can’t match a generic or well-known business name.                                             |
| `invalid_statement_descriptor_prefix_mismatch`                                                | The statement descriptor prefix must be similar to your statement descriptor, business name, legal entity name, or URL. |

## Handle document verification problems 

Refer to the following table to resolve common requirement verification errors related to uploaded document files. For identity documents, review the [best practices for uploading a government-issued photo ID](https://support.stripe.com/questions/uploading-photo-of-government-issued-id-faq).

If verification fails, don’t resubmit the same file. Duplicate uploads fail automatically.

| Verification type | Code                                                                                                                                                                                                                                                                                                                                                                               | Resolution                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Business          | `verification_failed_keyed_match`, `verification_failed_document_match`                                                                                                                                                                                                                                                                                                            | We couldn’t verify the information on the account. Your account user can either upload a verification document or update their information.                                                                                                                                                                                                                                                                                    |
| Business          | `verification_failed_tax_id_not_issued`, `verification_failed_tax_id_match`                                                                                                                                                                                                                                                                                                        | The IRS couldn’t verify the information that your account user provided. Ask them to correct any possible errors in the company name or tax ID or upload a document that verifies them. (US only)                                                                                                                                                                                                                              |
| Business          | `verification_failed_id_number_match`, `verification_failed_name_match`, `verification_failed_address_match`                                                                                                                                                                                                                                                                       | The information on the document doesn’t match the information provided by the account user. Ask them to verify their information and either correct it or upload a matching document.                                                                                                                                                                                                                                          |
| Business          | `verification_document_address_missing`, `verification_document_id_number_missing`, `verification_document_name_missing`                                                                                                                                                                                                                                                           | The uploaded document is missing required information. Ask your account user to upload another document that contains the missing information.                                                                                                                                                                                                                                                                                 |
| Business          | `verification_legal_entity_structure_mismatch`                                                                                                                                                                                                                                                                                                                                     | The business type or structure seems to be incorrect. Provide the correct business type and structure for this account.                                                                                                                                                                                                                                                                                                        |
| Identity          | `verification_failed_keyed_identity`                                                                                                                                                                                                                                                                                                                                               | We couldn’t verify the name on the account. Ask your account user to verify that they provided their full legal name and to also provide a government-issued photo ID matching that name.                                                                                                                                                                                                                                      |
| Identity          | `verification_document_name_mismatch`, `verification_document_dob_mismatch`, `verification_document_address_mismatch`, `verification_document_id_number_mismatch`, `verification_document_photo_mismatch`                                                                                                                                                                          | The information on the ID document doesn’t match the information provided by the account user. Ask them to verify and correct the provided information.                                                                                                                                                                                                                                                                        |
| Identity          | `verification_document_fraudulent`, `verification_document_manipulated`                                                                                                                                                                                                                                                                                                            | The document might have been altered. Contact Stripe support to learn why verification failed.                                                                                                                                                                                                                                                                                                                                 |
| Relationship      | `information_missing`                                                                                                                                                                                                                                                                                                                                                              | See the error message for the missing information in the document or keyed-in data. If related to holding companies with significant ownership, the error code also identifies the missing holding companies. Learn more about [beneficial ownership verification for holding companies](https://support.stripe.com/questions/beneficial-ownership-verification-for-holding-companies).                                        |
| Relationship      | `verification_failed_authorizer_authority`                                                                                                                                                                                                                                                                                                                                         | We couldn’t verify the authority of the provided authorizer. Change the authorizer to a person who is registered as an authorized representative. Learn more about [representative authority verification](https://support.stripe.com/questions/representative-authority-verification).                                                                                                                                        |
| Relationship      | `verification_failed_representative_authority`                                                                                                                                                                                                                                                                                                                                     | We couldn’t verify the authority of the account representative. Add an authorizer to the account and provide a Letter of Authorization signed by the authorizer. Learn more about [representative authority verification](https://support.stripe.com/questions/representative-authority-verification).                                                                                                                         |
| Relationship      | `verification_missing_owners`                                                                                                                                                                                                                                                                                                                                                      | A business owner wasn’t provided. Provide information for all business owners.                                                                                                                                                                                                                                                                                                                                                 |
| Relationship      | `verification_missing_directors`                                                                                                                                                                                                                                                                                                                                                   | Directors weren’t provided. Update the account and upload a registration document with the current directors.                                                                                                                                                                                                                                                                                                                  |
| Relationship      | `verification_document_directors_mismatch`                                                                                                                                                                                                                                                                                                                                         | The directors listed in the document are missing from the account. Update the account and upload a registration document with the current directors.                                                                                                                                                                                                                                                                           |
| Relationship      | `verification_rejected_ownership_exemption_reason`                                                                                                                                                                                                                                                                                                                                 | We rejected the ownership exemption reason. Choose a different exemption reason or upload a proof of ultimate beneficial ownership document.                                                                                                                                                                                                                                                                                   |
| Upload            | `verification_document_corrupt`, `verification_document_failed_copy`, `verification_document_failed_greyscale`, `verification_document_incomplete`, `verification_document_not_readable`, `verification_document_not_uploaded`, `verification_document_not_signed`, `verification_document_missing_back`, `verification_document_missing_front`, `verification_document_too_large` | The upload failed because of a problem with the file. Ask your account user to provide a new file that meets these requirements:
  - Color image (8,000 pixels by 8,000 pixels or smaller)
  - 10 MB or less
  - Identity documents are JPG or PNG photos, or PDF scans
  - Address or legal entity documents are JPG, PNG, or PDF format
  - Legal entity documents must include all pages
  - Must not be password protected |
| Upload            | `verification_document_country_not_supported`, `verification_document_invalid`, `verification_document_type_not_supported`                                                                                                                                                                                                                                                         | The provided file isn’t an [acceptable form of ID from a supported country](https://docs.stripe.com/connect/handling-api-verification.md#acceptable-verification-documents), or isn’t an expected type of legal entity document. Ask your account user to provide a new file that meets that requirement.                                                                                                                      |
| Upload            | `verification_document_failed_other`                                                                                                                                                                                                                                                                                                                                               | Contact Stripe support to learn why identity verification failed.                                                                                                                                                                                                                                                                                                                                                              |
| Upload            | `verification_document_expired`, `verification_document_issue_or_expiry_date_missing`                                                                                                                                                                                                                                                                                              | The document is missing an issue or expiration date or is expired. The expiration date on an identity document must be after the date the document was submitted. The issue date on an address document must be within the last six months.                                                                                                                                                                                    |

## Handle URL verification errors  

Stripe’s terms of service require all e-commerce businesses to populate the [defaults.profile.business_url](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-defaults-profile-business_url) property on their `Account` with a working URL of their business website when requesting the `card_payments` capability. A connected account is considered an e-commerce business if it promotes or sells any products or services through an online website, social media profile, or mobile application. For more information, see the [Business website for account activation FAQ](https://support.stripe.com/questions/business-website-for-account-activation-faq).

If the connected account doesn’t operate a website to promote their business, sell products, or accept payments, they’re required to provide the [defaults.profile.product_description](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-defaults-profile-product_description) instead. A product description must detail the type of products being sold, as well as the manner in which the business charges its customers (for example, in-person transactions). Depending on the account’s country and other details, Stripe might require both a URL and a product description. Check the account’s [requirements](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-requirements) to see which information Stripe still needs.

URLs for e-commerce businesses must conform to certain card network standards. In order to comply with these standards, Stripe conducts a number of verifications when reviewing URLs. Learn about the [best practices](https://docs.stripe.com/get-started/checklist/website.md) for URLs and common elements for e-commerce businesses.

In many cases, you can resolve URL verification errors by doing either of the following:

- [Generating a remediation link](https://docs.stripe.com/connect/dashboard/remediation-links.md) from your platform Dashboard.
- Updating the [defaults.profile.business_url](https://docs.stripe.com/api/v2/core/accounts/update.md#v2_update_accounts-defaults-profile-business_url) on the `Account` object.

If you resolve the error another way (for example, by using the company website to fix a problem), you must trigger re-verification by changing the URL on the `Account` object to any other value, then immediately changing it back.

You can’t use the API to resolve all URL-related issues. Certain URL verification errors require information such as how to access the connected account’s website or to attest that the account is exempt from URL requirements. These issues require you or your connected account to provide supplemental information.

If you can’t resolve the issue, direct your connected account to [contact Stripe support](https://support.stripe.com/contact).

Refer to the following table to resolve URL verification errors.

| Error                                                     | Resolution                                                                                                                                                                                                                      |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `invalid_url_denylisted`                                  | The provided URL matches a generic business website that Stripe believes is unrelated to the account. Provide a URL that’s specific to the business.                                                                            |
| `invalid_url_format`                                      | The provided URL is formatted incorrectly. Provide a URL that’s formatted correctly, such as `https://example.com`.                                                                                                             |
| `invalid_url_web_presence_detected`                       | We detected that the account uses a website, social media profile, or mobile application to sell or promote products or services, but a URL hasn’t been provided. Provide a URL.                                                |
| `invalid_url_website_business_information_mismatch`       | The information on the website at the provided URL doesn’t match the information on the Stripe account.                                                                                                                         |
| `invalid_url_website_empty`                               | We can’t verify the website at the provided URL because the website has no content.                                                                                                                                             |
| `invalid_url_website_inaccessible`                        | We can’t reach the website at the provided URL. If you block certain regions from viewing your website, temporarily remove the blocker until we can verify your website.                                                        |
| `invalid_url_website_inaccessible_geoblocked`             | We can’t verify the website at the provided URL because certain regions are blocked from accessing it. If you block certain regions from viewing your website, temporarily remove the blocker until we can verify your website. |
| `invalid_url_website_inaccessible_password_protected`     | We can’t verify the website at the provided URL because the website is password-protected.                                                                                                                                      |
| `invalid_url_website_incomplete`                          | The website at the provided URL is missing either a business name or a clear description of goods and services offered.                                                                                                         |
| `invalid_url_website_incomplete_cancellation_policy`      | The website doesn’t contain a cancellation policy.                                                                                                                                                                              |
| `invalid_url_website_incomplete_customer_service_details` | The website doesn’t contain customer service details.                                                                                                                                                                           |
| `invalid_url_website_incomplete_legal_restrictions`       | The website doesn’t contain applicable disclosures for products and services that are subject to legal or export restrictions.                                                                                                  |
| `invalid_url_website_incomplete_refund_policy`            | The website doesn’t contain a refund policy.                                                                                                                                                                                    |
| `invalid_url_website_incomplete_return_policy`            | The website doesn’t contain a return policy and process.                                                                                                                                                                        |
| `invalid_url_website_incomplete_terms_and_conditions`     | The website doesn’t contain terms and conditions.                                                                                                                                                                               |
| `invalid_url_website_incomplete_under_construction`       | We can’t verify the website at the provided URL because the website is still under construction.                                                                                                                                |
| `invalid_url_website_other`                               | We can’t verify the account’s business using a website, social media profile, or mobile application at the provided URL.                                                                                                        |

## Handle identity verification 

Depending on the identity information we’ve verified for an account, we might ask you to upload one or more documents. The required documents appear in the `requirements` hash on the `Account` object.

Before uploading an identity document, review the [best practices for uploading a government-issued photo ID](https://support.stripe.com/questions/uploading-photo-of-government-issued-id-faq).

For security reasons, Stripe doesn’t accept ID documents through email. Uploading a document is a two-step process:

1. [Upload the file to Stripe](https://docs.stripe.com/connect/handling-api-verification.md#upload-a-file).
2. [Attach the file to the account](https://docs.stripe.com/connect/handling-api-verification.md#attach-a-file).

### Upload a file 

To upload a file, call the Files API to [create a File](https://docs.stripe.com/api/files/create.md).

The uploaded file must meet these requirements:

- Color image (8,000 pixels by 8,000 pixels or smaller)
- 10 MB or less
- Identity documents are JPG or PNG photos, or PDF scans
- Address or legal entity documents are JPG, PNG, or PDF format

Pass the file data in the `file` parameter and set the [purpose](https://docs.stripe.com/api/files/create.md#create_file-purpose) parameter according to the `Account` or `Person` object that will hold the document. To identify the purpose, look up the property in the API reference.

#### curl

```bash
curl https://files.stripe.com/v1/files \
  -u <<YOUR_SECRET_KEY>>: \
  -H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}" \
  -F "purpose"="identity_document" \
  -F "file"="@/path/to/a/file"
```

The following request uploads the file and returns a token:

```json
{
  "id": ""{{FILE_ID}}"",
  "created": 1403047735,
  "size": 4908
}
```

Use the token’s `id` value to attach the file to a connected account for identity verification.

### Attach the file 

After you upload the file and receive a representative token, update the `Account` or `Person` object and provide the file ID in the appropriate parameter.

### Confirm ID verification

Satisfying all identity verification requirements for a person or company triggers a `v2.core.account_person.updated` or `v2.core.account[identity].updated` webhook notification, signaling that the verification process is complete.

Stripe can take anywhere from a few minutes to a few business days to verify an image, depending on its readability.

If the verification attempt fails, the associated requirement entry contains an error with a `code` and `description` describing the cause. The `description` is a non-localized plain language message, such as “The image supplied isn’t readable,” that you can present to your account user. The `code` value is a string, such as `verification_document_not_readable`, that you can use to localize error messages for your account users.

Verification failure also triggers a `v2.core.account_person.updated` or `v2.core.account[identity].updated` webhook notification.

## Monitor and handle requirement updates 

Stripe continuously updates compliance and risk systems to meet changing global demands. To keep your connected accounts’ capabilities active, you must monitor their requirements and address any updates or additions as they appear.

Upcoming requirements with no imminent due date appear in the account’s [future_requirements](https://docs.stripe.com/api/v2/core/accounts/object.md#v2_account_object-future_requirements) property, not in `requirements`. Request it with `include=future_requirements` when you retrieve the `Account`, and listen for the `v2.core.account[future_requirements].updated` event to learn when it changes. Stripe recommends that you address future requirements proactively.

To monitor requirement changes, create webhook handlers to respond to both capability status and requirement updates. For example:

```js
app.post('/webhooks', express.raw({type: 'application/json'}), async (request, response) => {
  const sig = request.headers['stripe-signature'];
  const eventNotification = stripe.parseEventNotification(request.body, sig, STRIPE_WEBHOOK_SIGNING_KEY);
  switch (eventNotification.type) {
    case 'v2.core.account[configuration.merchant].capability_status_updated':
    case 'v2.core.account[configuration.recipient].capability_status_updated':
      await processCapabilityStatusUpdatedEvent(eventNotification);
      break;
    case 'v2.core.account[requirements].updated':
      await processRequirementsUpdatedEvent(eventNotification);
      break;
  }
  response.sendStatus(200);
});
```

Maintain a list of known requirements. If new requirements appear that apply to all of your connected accounts, update your onboarding flow to collect them for future accounts.

For more information, see [Handling verification updates](https://docs.stripe.com/connect/handle-verification-updates.md).


## See also

- [Identity verification for connected accounts](https://docs.stripe.com/connect/identity-verification.md)
- [Account tokens](https://docs.stripe.com/connect/account-tokens.md)
- [Testing Connect](https://docs.stripe.com/connect/testing.md)
- [Testing account identity verification](https://docs.stripe.com/connect/testing-verification.md)
- [Required verification information](https://docs.stripe.com/connect/required-verification-information.md)
