> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paxos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enhanced Due Diligence

> Manage the enhanced due diligence of an Identity on the Paxos Platform.

To ensure that Paxos meets regulatory requirements, when an identity is deemed high risk according to Paxos risk rating methodology, Paxos initiates a process called Enhanced Due Diligence (EDD).
This can occur during onboarding, or during the lifecycle of an active identity (for example, if identity information changes that impacts risk rating; if suspicious transaction patterns occur on the account).

When an identity enters the EDD process, Paxos requires the collection of documentary evidence supporting the initial KYC information provided.

Paxos streamlines the collection of EDD information using a webhook-based or polling-based approach, which leverages [Paxos Webhooks](/guides/webhooks), [Events API](/api-reference/events) and [Document Upload API](/api-reference/endpoints/identity-documents/document-upload).

## Webhook-based Approach

<img src="https://mintcdn.com/paxos-0ac97319/Vwn6v0Q_snwFVgjM/images/events.png?fit=max&auto=format&n=Vwn6v0Q_snwFVgjM&q=85&s=84bfc7a3939d3089735df7ad6abf6903" alt="Events" width="751" height="714" data-path="images/events.png" />

### ➊ Consume Documents Required Events

Setup a [Webhook Consumer](/guides/webhooks/quickstart) to receive `identity.documents_required` [events](/api-reference/events) for your end users.

### ➋ Fetch Required Documents

Call [Get Event](/api-reference/endpoints/events/get-event) to fetch the event's `identity_documents_required` object, which will allow you to understand which documents are required.

### ➌ Upload the Required Documents

For the event's associated `identity_id`, call [Document Upload](/api-reference/endpoints/identity-documents/document-upload) to upload the required documents, either synchronously if you already have the documents, or asynchronously if you need to reach back out to your customer for them to provide.

### ➍ Wait for Approval or Denial

This will be followed by an `identity.approved` or `identity.denied` event based on the onboarding decision for that end user (this might take up to 1 full business day to complete).

## Polling-based Approach

### ➊ Poll for Documents Required Events

Poll [List Events](/api-reference/endpoints/events/list-events), offsetting the `created_at.gt` filter for each subsequent poll, fetching all `identity.documents_required` events.

<Info>
  Paxos recommends you keep track of the [Event](/api-reference/events) ids you've processed in order to idempotently process the event.
</Info>

### ➋ Upload the Required Documents

For the event's associated `identity_id`, call [Document Upload](/api-reference/endpoints/identity-documents/document-upload) to upload the required documents, either synchronously if you already have the documents, or asynchronously if you need to reach back out to your customer for them to provide.
