---
title: "Update enhanced due diligence"
method: PATCH
path: "/core/kyc/processes/enhanced-due-diligence"
tags: ["KYC"]
---

# Update enhanced due diligence

`PATCH /core/kyc/processes/enhanced-due-diligence`

## Request

- Base URL: `https://api.enterprise.sandbox.uphold.com`
- URL: `https://api.enterprise.sandbox.uphold.com/core/kyc/processes/enhanced-due-diligence`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/core/oauth2/token` scopes: `core.kyc.enhanced-due-diligence:update`
- TypeScript: <https://skmtc.dev/uphold/apis/core-api/docs/core/kyc/processes/enhanced-due-diligence/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update the enhanced due diligence process for an individual user.

## Headers

- `X-On-Behalf-Of` string
- `X-Uphold-User-Ip` union
  - string, ipv4
  - string, ipv6
- `X-Uphold-User-Agent` string
- `X-Uphold-User-Origin` string
- `X-Uphold-User-Country` string
- `X-Uphold-User-Subdivision` string
- `X-Uphold-User-City` string

## Request body

- object
  - `input` object, required: Input of the KYC process.
    - `media` object[], required
      - `context` 'source-of-funds-proof', required: The context of the file.
      - `fileId` string, uuid, required: The id of the file.
  - `output` object: Output of the KYC process.
    - `verifiedAt` string, date-time, required: The date and time of the verification.

## Response `200`

KYC enhanced due diligence process updated.

- object
  - `enhancedDueDiligence` KycEnhancedDueDiligence, required: The KYC enhanced due diligence object.
    - `code` string, required: The code of the KYC process.
    - `status` 'ok' | 'failed' | 'running' | 'pending' | 'exempt', required: Status of the KYC process.
    - `verification` KycProcessVerification: Configuration of this process.
      - `model` 'none' | 'partner-verified' | 'uphold-verified', required: The verification model to complete this process.
      - `method` 'automatic' | 'manual', required: Whether this process is verified automatically in the background or requires user action.
      - `triggers` string[]: Other processes that, once updated, trigger this process to run automatically. Only present when `method` is `automatic`.
      - `dependencies` string[], required: The processes that must be updated before you can update this one.
    - `input` object: Input of the KYC process.
      - `media` object[]
        - `context` 'source-of-funds-proof', required: The context of the file.
        - `fileId` string, uuid, required: The id of the file.
    - `output` object: Output of the KYC process.
      - `verifiedAt` string, date-time, required: The date and time of the verification.
  - `warnings` ProcessWarnings: The warnings generated during a process update.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Resource not found.
- `409`: Business logic error.
- `429`: Too Many Requests.

---

[API](https://skmtc.dev/uphold/apis/core-api.md) - [All operations](https://skmtc.dev/uphold/apis/core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uphold/apis/core-api/revisions/6c663575c57a?raw)
