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

# Onboard business users via the REST API

> Step-by-step guide to onboarding business users via the Uphold REST API: create the business user, complete the KYB processes, and unlock capabilities.

Preview

This guide walks through the complete business user onboarding flow using the REST API — from creating the business user to confirming their capabilities are unlocked. For the underlying process model, see the [KYB API introduction](https://developer.uphold.com/rest-apis/core-api/kyb/overview.md).

## Prerequisites

* API client credentials with permission to create users and manage KYB.
* The business's details and corporate documents, and the details of its [associated persons](https://developer.uphold.com/developer-guides/user-onboarding/business/associated-persons.md).

## Walkthrough

```mermaid theme={null}
sequenceDiagram
  autonumber
  participant U as Client App
  participant B as Your Backend
  participant A as Core API
  participant W as Webhooks

  U->>B: Business provides company details
  B->>A: GET /core/terms-of-service?type=general&country={country}
  A-->>B: { termsOfService[] }
  B-->>U: Display Terms of Service
  U->>B: Business accepts Terms of Service
  B->>A: POST /core/users (type: business, with ToS + X-Uphold-User-Ip)
  A-->>B: { user }
  A-->>W: core.user.created
  B->>A: GET /core/kyb
  A-->>B: { processes with statuses }
  B->>A: PATCH /core/kyb/processes/profile
  B->>A: POST /core/files + PATCH /core/kyb/processes/documents
  B->>A: POST /core/kyb/associated-persons (and their processes)
  B->>A: PATCH /core/kyb/processes/financial-institution (if applicable)
  A-->>W: core.kyb.*.status-changed (for each process)
  B->>A: POST /core/kyb/processes/attestation/trigger
  A-->>W: core.kyb.attestation.status-changed
  A-->>W: core.kyb.attestation.updated
  B->>A: GET /core/capabilities
  A-->>B: { capabilities[] }
  B-->>U: Business is ready to transact
```

## Retrieve terms of service

Before creating the business user, retrieve the general Terms of Service applicable to the business's country by calling the [List terms of service](https://developer.uphold.com/rest-apis/core-api/terms-of-service/list-terms-of-service.md) endpoint with `type=general` and the country code.

```http theme={null}
GET /core/terms-of-service?type=general&country={country}
```

Display the Terms of Service content to the business's representative and record their acceptance.

## Create the business user

Call [Create user](https://developer.uphold.com/rest-apis/core-api/users/create-user.md) with `type: business`.

> [!TIP]
>
> The `X-Uphold-User-Ip` [user context](https://developer.uphold.com/rest-apis/headers.md#user-context) header
> is **mandatory** when creating a user, as it records the IP address at the
> time of Terms of Service acceptance.

> [tab] US
>
> ```http theme={null}
> POST /core/users
> {
>   "type": "business",
>   "email": "acme-corp@example.com",
>   "termsOfService": "general-us-hq",
>   "legalEntityType": "private-limited-company",
>   "registrationAddress": {
>     "country": "US"
>   },
>   "operatingAddress": {
>     "country": "US"
>   }
> }
> ```

> [tab] GB
>
> ```http theme={null}
> POST /core/users
> {
>   "type": "business",
>   "email": "acme-corp@example.com",
>   "termsOfService": "general-gb-fca",
>   "legalEntityType": "private-limited-company",
>   "registrationAddress": {
>     "country": "GB"
>   },
>   "operatingAddress": {
>     "country": "GB"
>   }
> }
> ```

> [!TIP]
>
> To expedite onboarding, you can also pass the business profile
> (`legalEntityName`, `formationDate`, `industry`, `legalIds`, and the full
> addresses) directly in this call, rather than submitting it afterward through
> [Update profile](#profile). See the *Create Complete Business User* examples
> in the [Create user](https://developer.uphold.com/rest-apis/core-api/users/create-user.md) reference.

You can optionally include custom [entity metadata](https://developer.uphold.com/rest-apis/entity-metadata.md) in the `metadata` field to store your own business data (e.g. external IDs or tracking parameters).

Subscribe to the `core.user.created` webhook to be notified asynchronously.

## Check required processes

After creating the user, call [Get KYB overview](https://developer.uphold.com/rest-apis/core-api/kyb/get-overview.md) to see the processes that apply to the business and their current statuses.

```http theme={null}
GET /core/kyb
```

Processes still waiting for information start as `pending`; processes that don't apply to this business, such as `financialInstitution` for non-financial sectors, are `exempt`.

```json Response theme={null}
{
  "summary": {
    "status": "pending",
    "reason": "none"
  },
  "processes": {
    "profile": {
      "code": "profile",
      "status": "pending"
    },
    "associatedPersons": {
      "code": "associated-persons",
      "status": "pending",
      "persons": []
    },
    "documents": {
      "code": "documents",
      "status": "pending"
    },
    "financialInstitution": {
      "code": "financial-institution",
      "status": "exempt"
    },
    "attestation": {
      "code": "attestation",
      "status": "pending"
    }
  }
}
```

> [!NOTE]
>
> The exact response shape is documented in the [Get KYB
> overview](https://developer.uphold.com/rest-apis/core-api/kyb/get-overview.md) reference. Use
> `?detailed=associatedPersons` or `?detailed=attestation` to expand those
> sections.

## Complete KYB processes

| Process | Category |
| - | - |
| [profile](#profile) | Direct submission |
| [documents](#documents) | File-based |
| [associatedPersons](#associated-persons) | Per-person processes — see the [dedicated guide](https://developer.uphold.com/developer-guides/user-onboarding/business/associated-persons.md) |
| [financialInstitution](#financial-institution) | File-based (conditional) |
| [attestation](#attestation) | Background (triggered by you) — see the [dedicated guide](https://developer.uphold.com/developer-guides/user-onboarding/business/attestation.md) |

The `profile`, `documents`, `associatedPersons` and `financialInstitution` processes can be submitted in any order or in parallel. The `attestation` process can only be triggered once all the others are complete.

***

### Profile

Declare the business's own information — legal entity name, formation date, industry, legal identifiers, and addresses — by calling [Update profile](https://developer.uphold.com/rest-apis/core-api/kyb/update-profile.md) with the relevant fields in `input`. Fields already supplied at [user creation](#create-the-business-user) don't need to be sent again.

```http theme={null}
PATCH /core/kyb/processes/profile
{
  "input": {
    "legalEntityName": "ACME Corporation",
    "formationDate": "2000-01-01",
    "industry": {
      "sector": "ecommerce-and-retail",
      "subSector": "online-marketplaces"
    },
    "legalIds": [
      { "type": "tax-id", "id": "8394027516", "country": "GB" },
      { "type": "registration-id", "id": "AB123456", "country": "GB" }
    ],
    "registrationAddress": {
      "city": "Manchester",
      "line1": "1 High Street",
      "postalCode": "M4 1AA"
    },
    "operatingAddress": {
      "city": "Manchester",
      "line1": "1 High Street",
      "postalCode": "M4 1AA",
      "subdivision": "GB-MAN"
    }
  }
}
```

A successful response returns the submitted information, with the resolved `subdivision` and `country` filled in on the addresses.

```json Response [expandable] theme={null}
{
  "profile": {
    "code": "profile",
    "status": "ok",
    "input": {
      "legalEntityName": "ACME Corporation",
      "legalEntityType": "private-limited-company",
      "formationDate": "2000-01-01",
      "industry": {
        "sector": "ecommerce-and-retail",
        "subSector": "online-marketplaces"
      },
      "legalIds": [
        { "type": "tax-id", "id": "8394027516", "country": "GB" },
        { "type": "registration-id", "id": "AB123456", "country": "GB" }
      ],
      "registrationAddress": {
        "city": "Manchester",
        "line1": "1 High Street",
        "postalCode": "M4 1AA",
        "subdivision": "GB-MAN",
        "country": "GB"
      },
      "operatingAddress": {
        "city": "Manchester",
        "line1": "1 High Street",
        "postalCode": "M4 1AA",
        "subdivision": "GB-MAN",
        "country": "GB"
      }
    }
  }
}
```

> [!NOTE]
>
> If the business operates in a sector outside the predefined list, use
> `"sector": "other"` together with an `otherSector` free-form description.

Subscribe to the `core.kyb.profile.status-changed` webhook to be notified asynchronously.

***

### Documents

The corporate documents evidencing the business's incorporation, ownership, control, standing, and tax identity are submitted by referencing previously uploaded files.

**1. Create the file**

Call [Create file](https://developer.uphold.com/rest-apis/core-api/files/create-file.md) with the `document` category, then upload the file to the storage provider using the returned `upload` object.

> [!WARNING]
>
> Every KYB file must belong to the `document` category. Referencing a file from another category, or one that was created but never uploaded, fails with `file_invalid`.

**2. Submit the documents**

Call [Update documents](https://developer.uphold.com/rest-apis/core-api/kyb/update-documents.md), referencing the file `id` under the relevant document type: `incorporation`, `ownership`, `control`, `standing`, `taxIdentity`, or `supplementary` (an array).

```http theme={null}
PATCH /core/kyb/processes/documents
{
  "input": {
    "incorporation": {
      "fileId": "56d398c2-cf46-4457-a491-cdc93191fd1a"
    }
  }
}
```

Documents can be submitted across multiple calls — only the document types included in `input` are updated. Subscribe to the `core.kyb.documents.status-changed` webhook to be notified when verification completes.

***

### Associated persons

Register the individuals tied to the business — beneficial owners and authorized signers — and complete each person's `profile`, `identity`, and `proofOfAddress` processes. This is covered in the [Associated persons](https://developer.uphold.com/developer-guides/user-onboarding/business/associated-persons.md) guide.

***

### Financial institution

Businesses in the `financial-institutions-and-money-services` industry sector must provide additional regulatory information. For every other sector this process is `exempt` and can be skipped.

Upload the supporting files as described in [Documents](#documents), then call [Update financial institution](https://developer.uphold.com/rest-apis/core-api/kyb/update-financial-institution.md).

```http theme={null}
PATCH /core/kyb/processes/financial-institution
{
  "input": {
    "regulatorsAndLicenses": "Regulated by the Financial Conduct Authority (FCA) under registration number 123456.",
    "compliancePolicies": { "fileId": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d" },
    "amlAudit": { "fileId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e" },
    "mlroDocumentation": { "fileId": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f" }
  }
}
```

US money transmitters can additionally provide `moneyTransmitterLicenses`. Subscribe to the `core.kyb.financial-institution.status-changed` webhook to be notified asynchronously.

***

### Attestation

Once every other process is complete, [trigger the attestation](https://developer.uphold.com/rest-apis/core-api/kyb/trigger-attestation.md) to start the final KYB verification. See the [Attestation and sandbox testing](https://developer.uphold.com/developer-guides/user-onboarding/business/attestation.md) guide.

***

## Check capabilities

Always check if the required capabilities for the user's intended activities are unlocked before allowing them to transact. Call [List capabilities](https://developer.uphold.com/rest-apis/core-api/capabilities/list-user-capabilities.md) to check restrictions and requirements for each capability.

```http theme={null}
GET /core/capabilities
```

The response includes the list of capabilities with any outstanding `requirements` or `restrictions`.

```json Response theme={null}
{
  "capabilities": [
    {
      "key": "crypto-deposits",
      "enabled": true,
      "requirements": [],
      "restrictions": []
    },
    {
      "key": "crypto-withdrawals",
      "enabled": true,
      "requirements": [
        "user-must-submit-identity"
      ],
      "restrictions": []
    }
  ]
}
```

> [!TIP]
>
> The user is now onboarded and ready to transact.
