---
title: "Create Customer"
method: POST
path: "/customers/v1/"
tags: ["Customer"]
---

# Create Customer

`POST /customers/v1/`

Create a customer object on Lean given the app_user_id which is the identifier (or a hash of the identifier) you use to refer to a user in your own database. The customer object in Lean should map one to one with the user object in your database.

## Request body

- object
  - `app_user_id` string, required — A unique value from your database, can be the corresponding User ID in your system, or any other string.
  - `government_identifiers` GovernmentIdentifierRequest[] — A government‑issued identifier for the debtor (the account holder making the payment). This is **required by the UAE Open Finance specification** to uniquely identify the customer in any long lived consent authorization journey.
    - `value` string, required — The identifier value
    - `type` 'EMIRATES_ID' | 'TRADE_LICENSE_NUMBER', required — The type of Government ID

## Response `200`

- Customer
  - `customer_id` string, uuid, required — Customer ID
  - `app_user_id` string, required
  - `government_identifiers` GovernmentIdentifierRequest[] — A government‑issued identifier for the debtor (the account holder making the payment). This is **required by the UAE Open Finance specification** to uniquely identify the customer.
    - `value` string, required — The identifier value
    - `type` 'EMIRATES_ID' | 'TRADE_LICENSE_NUMBER', required — The type of Government ID

---

[API](https://skmtc.net/leantech/apis/auth.md) · [All operations](https://skmtc.net/leantech/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/leantech/auth/revisions/c2e46d54d886/schema)
