# Create Entity Onboarding (Banking Connectivity)

Onboard an existing [Entity](/reference/create-entity) with a Banking Connectivity provider.

## Onboarding types

* **`ONE_STEP`**: Submit all information, compliance declarations, risk assessment, and documents at once. The provider processes immediately.
* **`PREVIOUSLY_ONBOARDED`**: Generate an internal WHITELABEL onboarding ID without contacting the provider. Use when the entity was already onboarded externally.

For `ONE_STEP`, include `compliance_declaration`, `risk_assessment`, `source_of_funds`, and `documentation`. See [Documentation types](/reference/banking-connectivity#documentation-types) for the full list of supported document types.

Monitor progress via [Get Entity Onboarding Status](/reference/get-entity-onboarding-status) or webhook events. See [Onboarding statuses](/reference/banking-connectivity#onboarding-statuses) for the full status lifecycle.

**POST** `/banking/entities/{entity_id}/onboardings`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Create Entity Onboarding (Banking Connectivity)

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Header parameters

- `x-idempotency-key` (string, required)
  Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts. See [authentication](/reference/authentication#idempotency) for details (UUID).

## Path parameters

- `entity_id` (string, required)
  The `id` of the entity obtained from [Create Entity](/reference/create-entity).

## Body

Content type: `application/json`

- `account_id` (string, required)
  The unique identifier of the merchant's WHITELABEL account (UUID, 36 characters).
- `yuno_connection_id` (string, required)
  The pre-configured Banking Connectivity provider connection identifier.
- `onboarding_type` ("ONE_STEP" | "PREVIOUSLY_ONBOARDED", required)
  The onboarding workflow type. `ONE_STEP` submits all information at once for provider processing. `PREVIOUSLY_ONBOARDED` generates an internal WHITELABEL ID without contacting the provider.
- `compliance_declaration` (object)
  Legal agreements accepted by the entity. Required for `ONE_STEP` onboarding.
  - `terms_of_service` (object)
    Terms of service acceptance record.
    - `accepted` (boolean, required)
      Whether the terms of service were accepted.
    - `version` (string)
      The version of terms accepted.
    - `accepted_at` (string, required)
      The timestamp when accepted (ISO 8601).
    - `accepted_ip` (string)
      The IP address from which the terms were accepted.
  - `privacy_policy` (object)
    Privacy policy acceptance record.
    - `accepted` (boolean, required)
      Whether the privacy policy was accepted.
    - `version` (string)
      The version of the privacy policy accepted.
    - `accepted_at` (string, required)
      The timestamp when accepted (ISO 8601).
    - `accepted_ip` (string)
      The IP address from which the policy was accepted.
- `risk_assessment` (object)
  Pre-existing compliance screening results provided by the merchant.
  - `assessed_at` (string)
    The timestamp when the assessment was performed (ISO 8601).
  - `pep_status` (object)
    Politically Exposed Person (PEP) screening results.
    - `is_pep` (boolean)
      Whether the entity is a PEP.
    - `pep_level` ("DIRECT" | "CLOSE_ASSOCIATE" | "FAMILY_MEMBER" | null)
      The PEP classification level.
    - `position` (string)
      The political role or position, if applicable.
    - `country` (string)
      The country of PEP status.
  - `rca_status` (object)
    Risk Classification Assessment results.
    - `risk_level` ("LOW" | "MEDIUM" | "HIGH")
      The assessed risk level.
    - `classified_at` (string)
      The timestamp when classified (ISO 8601).
    - `assessed_by` (string)
      The name of the assessor or team.
  - `sanctions_screening` (object)
    Sanctions list screening results.
    - `appears_on_sanctions_list` (boolean)
      Whether the entity appears on any sanctions list.
    - `sanctions_list_name` (string)
      The name of the sanctions list, if matched.
    - `screened_at` (string)
      The timestamp when the screening was performed (ISO 8601).
- `source_of_funds` (object)
  AML/KYC information about the source of funds.
  - `primary_source` ("EMPLOYMENT_SALARY" | "BUSINESS_INCOME" | "INVESTMENTS" | "RENTAL_INCOME" | "PENSION" | "GOVERNMENT_BENEFITS" | "INHERITANCE" | "FAMILY_SUPPORT" | "SAVINGS" | "LOTTERY_GAMBLING" | "SALE_OF_ASSETS" | "CRYPTOCURRENCY" | "FREELANCE_CONSULTING" | "OTHER")
    The primary source of funds.
  - `secondary_sources` (string[])
    Additional sources of funds.
  - `description` (string)
    A detailed explanation of the source of funds.
  - `estimated_annual_income` (object)
    The estimated annual income.
    - `amount` (number)
      The annual income amount.
    - `currency` (string)
      The currency ([ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)).
- `documentation` (object[])
  KYC/KYB documents. Each item uses a `type` discriminator to determine which sub-object to populate. Supported types: `IDENTITY_DOCUMENT`, `PROOF_OF_ADDRESS`, `BANK_STATEMENT`, `BUSINESS_DOCUMENT`, `TAX_INFORMATION`, `FINANCIAL_DOCUMENT`, `BIOMETRIC_VERIFICATION`, `EMPLOYMENT_INFORMATION`.
  - `type` ("IDENTITY_DOCUMENT" | "PROOF_OF_ADDRESS" | "BANK_STATEMENT" | "BUSINESS_DOCUMENT" | "TAX_INFORMATION" | "FINANCIAL_DOCUMENT" | "BIOMETRIC_VERIFICATION" | "EMPLOYMENT_INFORMATION", required)
    The document type discriminator.
  - `identity_document` (object)
    Identity document details. Provide when `type` is `IDENTITY_DOCUMENT`.
    - `subtype` ("PASSPORT" | "DRIVERS_LICENSE" | "NATIONAL_ID" | "STATE_ID")
      The identity document subtype.
    - `document_number` (string)
      The document number.
    - `issuing_country` (string)
      The issuing country ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
    - `issuing_state` (string)
      The issuing state or province.
    - `issued_at` (string)
      The issue date (YYYY-MM-DD).
    - `expires_at` (string)
      The expiration date (YYYY-MM-DD).
    - `front_image` (object)
      The front image of the document.
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
    - `back_image` (object)
      The back image of the document.
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `proof_of_address` (object)
    Proof of address details. Provide when `type` is `PROOF_OF_ADDRESS`.
    - `subtype` ("UTILITY_BILL" | "BANK_STATEMENT" | "LEASE_AGREEMENT" | "MORTGAGE_STATEMENT" | "TAX_DOCUMENT")
      The proof of address subtype.
    - `provider_name` (string)
      The utility or service provider name.
    - `bill_type` (string)
      The type of bill.
    - `issued_at` (string)
      The bill issue date (YYYY-MM-DD).
    - `account_number` (string)
      The account number with the provider.
    - `verified_address` (object)
      The address shown on the document.
      - `address_line_1` (string)
      - `city` (string)
      - `state` (string)
      - `zip_code` (string)
      - `country` (string)
    - `file` (object)
      The document file.
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `bank_statement` (object)
    Bank statement details. Provide when `type` is `BANK_STATEMENT`.
    - `bank_name` (string)
      The bank name.
    - `account_number_last_4` (string)
      Last 4 digits of the account number.
    - `statement_period_start` (string)
      The statement period start date (YYYY-MM-DD).
    - `statement_period_end` (string)
      The statement period end date (YYYY-MM-DD).
    - `file` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `business_document` (object)
    Business document details. Provide when `type` is `BUSINESS_DOCUMENT`.
    - `subtype` ("ARTICLES_OF_INCORPORATION" | "BUSINESS_LICENSE" | "EIN_CONFIRMATION" | "OPERATING_AGREEMENT" | "CERTIFICATE_OF_GOOD_STANDING")
    - `registration_number` (string)
      The business registration number.
    - `registered_at` (string)
      The registration date (YYYY-MM-DD).
    - `issuing_state` (string)
      The issuing state.
    - `issuing_authority` (string)
      The issuing authority.
    - `file` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `tax_information` (object)
    Tax information details. Provide when `type` is `TAX_INFORMATION`.
    - `tax_records` (object[])
      Tax identification records.
      - `country` (string)
      - `tax_id` (string)
      - `tax_id_type` ("SSN" | "EIN" | "ITIN" | "VAT" | "ABN" | "NIF" | "TIN" | "OTHER")
      - `is_primary` (boolean)
    - `tax_document_type` ("W9" | "1099" | "TAX_RETURN" | "SSN_CARD" | "ITIN_LETTER" | "EIN_CONFIRMATION" | "VAT_CERTIFICATE")
      The type of tax document.
    - `tax_year` (string)
      The tax year.
    - `issuing_authority` (string)
      The tax authority.
    - `file` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `financial_document` (object)
    Financial document details. Provide when `type` is `FINANCIAL_DOCUMENT`.
    - `subtype` ("BALANCE_SHEET" | "PROFIT_LOSS_STATEMENT" | "CASH_FLOW_STATEMENT" | "FINANCIAL_AUDIT")
    - `period_start` (string)
      Period start date (YYYY-MM-DD).
    - `period_end` (string)
      Period end date (YYYY-MM-DD).
    - `fiscal_year` (string)
    - `audited` (boolean)
      Whether the document has been audited.
    - `auditor_name` (string)
      The auditor name, if audited.
    - `file` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `biometric_verification` (object)
    Biometric verification details. Provide when `type` is `BIOMETRIC_VERIFICATION`.
    - `verification_method` ("FACIAL_RECOGNITION" | "FINGERPRINT" | "VOICE" | "IRIS_SCAN")
    - `capture_method` ("LIVE_CAPTURE" | "UPLOADED")
    - `capture_timestamp` (string)
      When the biometric was captured (ISO 8601).
    - `liveness_check_passed` (boolean)
      Whether the liveness check passed.
    - `confidence_score` (number)
      The verification confidence score (0-1).
    - `verification_provider` (string)
      The biometric verification provider.
    - `live_image` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
    - `reference_image` (object)
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.
  - `employment_information` (object)
    Employment information details. Provide when `type` is `EMPLOYMENT_INFORMATION`.
    - `status` ("EMPLOYED" | "SELF_EMPLOYED" | "UNEMPLOYED" | "RETIRED" | "STUDENT")
      The employment status.
    - `employer_name` (string)
      The employer name.
    - `occupation` (string)
      The job title or occupation.
    - `industry` (string)
      The industry sector.
    - `started_at` (string)
      The employment start date (YYYY-MM-DD).
    - `annual_income` (object)
      The annual income from this employment.
      - `amount` (number)
      - `currency` (string)
    - `verification_document` (object)
      Employment verification document.
      - `file_name` (string)
      - `content_type` (string)
      - `content` (string)
        Base64-encoded file content.

Example:

```json
{
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "yuno_connection_id": "conn_550e8400-e29b-41d4-a716-446655440001",
  "onboarding_type": "ONE_STEP",
  "compliance_declaration": {
    "terms_of_service": {
      "accepted": true,
      "version": "1.2.0",
      "accepted_at": "2026-02-01T10:00:00Z",
      "accepted_ip": "192.168.1.1"
    },
    "privacy_policy": {
      "accepted": true,
      "version": "2.1.0",
      "accepted_at": "2026-02-01T10:00:00Z",
      "accepted_ip": "192.168.1.1"
    }
  },
  "risk_assessment": {
    "assessed_at": "2026-02-01T10:00:00Z",
    "pep_status": {
      "is_pep": false,
      "pep_level": null,
      "position": null,
      "country": null
    },
    "rca_status": {
      "risk_level": "LOW",
      "classified_at": "2026-02-01T10:00:00Z",
      "assessed_by": "Merchant Compliance Team"
    },
    "sanctions_screening": {
      "appears_on_sanctions_list": false,
      "sanctions_list_name": null,
      "screened_at": "2026-02-01T09:00:00Z"
    }
  },
  "source_of_funds": {
    "primary_source": "EMPLOYMENT_SALARY",
    "secondary_sources": [
      "INVESTMENTS"
    ],
    "description": "Primary income from full-time employment as software engineer, supplemented by stock portfolio dividends",
    "estimated_annual_income": {
      "amount": 175000,
      "currency": "USD"
    }
  },
  "documentation": [
    {
      "type": "IDENTITY_DOCUMENT",
      "identity_document": {
        "subtype": "DRIVERS_LICENSE",
        "document_number": "D1234567",
        "issuing_country": "US",
        "issuing_state": "CA",
        "issued_at": "2020-01-15",
        "expires_at": "2028-01-15",
        "front_image": {
          "file_name": "license_front.jpg",
          "content_type": "image/jpeg",
          "content": "base64_encoded_content"
        },
        "back_image": {
          "file_name": "license_back.jpg",
          "content_type": "image/jpeg",
          "content": "base64_encoded_content"
        }
      },
      "proof_of_address": {
        "subtype": "UTILITY_BILL",
        "provider_name": "PG&E",
        "bill_type": "ELECTRICITY",
        "issued_at": "2026-01-01",
        "account_number": "ACC-123456",
        "verified_address": {
          "address_line_1": "123 Main St",
          "city": "San Francisco",
          "state": "CA",
          "zip_code": "94102",
          "country": "US"
        },
        "file": {
          "file_name": "utility_bill.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      },
      "bank_statement": {
        "bank_name": "Chase Bank",
        "account_number_last_4": "1234",
        "statement_period_start": "2025-12-01",
        "statement_period_end": "2025-12-31",
        "file": {
          "file_name": "bank_statement_dec_2025.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      },
      "business_document": {
        "subtype": "ARTICLES_OF_INCORPORATION",
        "registration_number": "REG-2020-12345",
        "registered_at": "2020-01-15",
        "issuing_state": "CA",
        "issuing_authority": "California Secretary of State",
        "file": {
          "file_name": "articles_of_incorporation.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      },
      "tax_information": {
        "tax_records": [
          {
            "country": "US",
            "tax_id": "123-45-6789",
            "tax_id_type": "SSN",
            "is_primary": true
          }
        ],
        "tax_document_type": "W9",
        "tax_year": "2025",
        "issuing_authority": "IRS",
        "file": {
          "file_name": "w9_form.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      },
      "financial_document": {
        "subtype": "BALANCE_SHEET",
        "period_start": "2025-01-01",
        "period_end": "2025-12-31",
        "fiscal_year": "2025",
        "audited": false,
        "auditor_name": null,
        "file": {
          "file_name": "balance_sheet_2025.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      },
      "biometric_verification": {
        "verification_method": "FACIAL_RECOGNITION",
        "capture_method": "LIVE_CAPTURE",
        "capture_timestamp": "2026-02-01T10:00:00Z",
        "liveness_check_passed": true,
        "confidence_score": 0.98,
        "verification_provider": "Onfido",
        "live_image": {
          "file_name": "live_capture.jpg",
          "content_type": "image/jpeg",
          "content": "base64_encoded_content"
        },
        "reference_image": {
          "file_name": "id_photo_reference.jpg",
          "content_type": "image/jpeg",
          "content": "base64_encoded_content"
        }
      },
      "employment_information": {
        "status": "EMPLOYED",
        "employer_name": "Tech Corp Inc",
        "occupation": "Senior Software Engineer",
        "industry": "TECHNOLOGY",
        "started_at": "2020-03-15",
        "annual_income": {
          "amount": 150000,
          "currency": "USD"
        },
        "verification_document": {
          "file_name": "employment_letter.pdf",
          "content_type": "application/pdf",
          "content": "base64_encoded_content"
        }
      }
    }
  ]
}
```

## Responses

### 200

### 201

Created

- `id` (string)
- `entity_id` (string)
- `yuno_account_id` (string)
- `provider` (object)
  - `entity_id` (string)
  - `status` (string)
- `onboarding_type` (string)
- `status` (string)
- `requirements` (object[])
- `created_at` (string)
- `updated_at` (string)
- `expires_at` (string)

Example:

```json
{
  "id": "onb_990e8400-e29b-41d4-a716-446655440000",
  "entity_id": "ent_660e8400-e29b-41d4-a716-446655440000",
  "yuno_account_id": "550e8400-e29b-41d4-a716-446655440000",
  "provider": {
    "entity_id": "col_entity_onboarded_123",
    "status": "verification_pending"
  },
  "onboarding_type": "ONE_STEP",
  "status": "PENDING",
  "requirements": [
    {}
  ],
  "created_at": "2026-02-01T10:00:00Z",
  "updated_at": "2026-02-01T10:00:00Z",
  "expires_at": "2026-02-08T10:00:00Z"
}
```

### 400

Bad Request

- `code` (string)
- `messages` (string[])
- `http_code` (integer)

Example:

```json
{
  "code": "VALIDATION_ERROR",
  "messages": [
    "compliance_declaration is required for ONE_STEP onboarding"
  ],
  "http_code": 400
}
```

### 404

Not Found

- `code` (string)
- `messages` (string[])
- `http_code` (integer)

Example:

```json
{
  "code": "ENTITY_NOT_FOUND",
  "messages": [
    "Entity not found"
  ],
  "http_code": 404
}
```