--- title: "Manage existing Retail Customers" metaTitle: "Manage existing Retail Customers" order: 2 showPageMenu: true --- import EndpointBlock from "src/components/endpoint-block"; import WebhookPlaceholder from 'src/components/webhook-placeholder' import Callout from "src/components/callout"; import ExternalLink from 'src/components/external-link'; ## Retail customers V2

Retail customers V2 is coming soon

All information in this section describes a solution that is not yet live in production and therefore could change. This includes any endpoint and webhook details. The information is being provided early to aid you in integrating with our API in our UK simulation environment.

**Retail customers** are individual consumers of financial services in a personal capacity. You can manage your retail customer data with ClearBank directly as an embedded banking partner. Creating a retail customer is necessary before you can create a bank account for them. To create a retail customer, refer to our Onboard new Retail Customers page. You can onboard with ClearBank's Know Your Customer (KYC) checks included, or create a customer directly if you conduct your own checks. Retail customers V1 documentation can be found at [the bottom of this page](#retail-customers-v-1). ### Compatible account types Retail customers are compatible with several account types: * [Savings accounts](/uk/docs/embedded-banking/accounts/savings-accounts) - For earning interest on saved deposits. * [Flexible cash ISAs](/uk/docs/embedded-banking/accounts/flexible-cash-isa) - For earning tax-free interest on saved deposits. * [Hub accounts](/uk/docs/embedded-banking/accounts/hub-accounts) - For specific innovative use cases. * [Payment accounts](/uk/docs/embedded-banking/accounts/payment-accounts) - Including Current accounts and Transaction accounts. ## Update and retrieve a retail customer To create a retail customer, refer to our [Onboard new Retail Customers](/uk/docs/embedded-banking/retail/onboard-retail-customers) page. If you have new Know Your Customer (KYC) or Anti-Money Laundering (AML) outcomes for a customer, you can record them in the `kycAml` object using the [**PATCH /customers/v2/retail/{customerId}**](#update-a-retail-customer) endpoint. Guidance on the object's properties is in the [create guidance](/uk/docs/embedded-banking/retail/onboard-retail-customers#kyc-and-aml-fields). ## Retail customer addresses You can update a customer's address using the [**POST /customers/v2/customers/{customerId}/current-addresses**](#update-a-retail-customers-address) endpoint. When you do this, the customer's last address will be automatically moved to the `previousAddresses` array, and will have a `validTo` date set to the new address' `validFrom` date. If you do not specify a `validFrom` date for the new address, it will default to today's date. It is not currently possible to delete a previous address. ## Retail customer ID documents You can optionally provide identity document information for your retail customers. For example, you can provide a customer's passport number `idNumber` and its date of expiry `idExpiryDate` in the `identityDocuments` array in the [**POST /customers/v2/retail**](/uk/docs/embedded-banking/retail/onboard-retail-customers#create-a-retail-customer) endpoint. If you provide customer identity information, you must always include its `idCountryOfIssue`, `idType`, `idNumber`, and `idExpiryDate`. The combination of `idCountryOfIssue` and `idType` uniquely identifies a customer's identity documents in our APIs. You can therefore only provide one `idCountryOfIssue` and `idType` combination per customer. To update or delete an existing customer's identity information, use the [**PUT /customers/v2/customers/{customerId}/identity-documents/{idCountryOfIssue}-{idType}**](#update-a-retail-customers-id-document) or [**DELETE /customers/v2/customers/{customerId}/identity-documents/{idCountryOfIssue}-{idType}**](#delete-a-retail-customers-id-document) endpoint accordingly. There is no functionality to upload images or scans of customer ID. ## Tax residency endpoints When you create a retail customer, you must specify at least one tax residency for them. A customer can have dual tax residency in certain situations, such as if they live in one country but earn income in another. You should specify all currently active tax residencies for a customer when you create them. US citizens are generally considered to be US tax residents regardless of where they live. To change a customer's tax residency from one country to another, follow the below steps: 1. Add the new tax residency first. You can do this using the [**PUT /customers/v2/customers/{customerId}/tax-residencies/{countryOfTaxResidence}**](#update-a-retail-customers-tax-residency) endpoint. 2. Delete the old tax residency. You can do this using the [**DELETE /customers/v2/customers/{customerId}/tax-residencies/{countryOfTaxResidence}**](#delete-a-customers-tax-residency) endpoint. If a customer has only one tax residency, you have to must add a new tax residency before you can delete the current one. If you attempt to delete a retail customer's only tax residency you will receive a 422 - Unprocessable Entity error. ## Customer relation endpoints The [**POST /customers/v2/customers/{customerId}/related-parties**](#relate-a-retail-customer-and-another-customer) endpoint allows you to link two parties by providing their `customerId` and specifying the nature of the relation. **Note:** The arrangement of `customerId` in the path parameter and the `relatedCustomerId` request field matters when creating a customer relation. The `customerId` in the path refers to the primary customer, while the `relatedCustomerId` refers to the customer which will have the specified relation (`relatedPartyType`) toward the primary customer. For example, when defining a UBO relationship, the customer referred to in the `relatedCustomerId` will become the Ultimate Beneficial Owner of the `customerId` specified in the path. To retrieve all existing relations to a customer, you can call the [**GET /customers/v2/customers/{customerId}/related-parties**](#get-all-relations-of-a-retail-customer). To remove a relation between two parties, you can use the [**DELETE /customers/v2/customers/{customerId}/related-parties/{relatedCustomerId}**](#delete-a-relation-between-two-customers) using the `customerId` of each party. ## Retail customers V1 FSCS-protected deposits are a part of our embedded banking proposition. An FSCS-protected deposit is a physical account held with ClearBank and is only available to our embedded banking customers for the purpose of sending and/or receiving payments. The balance of an FSCS-protected deposit is held by ClearBank and can be viewed via the ClearBank Portal and the API. Additionally, FSCS-protected deposits are reconciled for you by ClearBank. To close an embedded banking account, call the [PATCH /v1/accounts/{accountId}](#amend-or-update-an-embedded-banking-account) endpoint and set the **Status** field to **Closed**. Embedded banking accounts created using the [POST /v4/Accounts](#create-an-embedded-banking-account) endpoint cannot be reopened once they've been closed. Note: Deposits held in retail current accounts may be eligible for FSCS protection. FSCS protection insures deposits of up to £120,000 per person or legal entity per authorised firm (ClearBank) in the event of insolvency. Customers should review the specific terms and conditions of their account to confirm whether FSCS protection applies.