> For the complete documentation index, see [llms.txt](https://docs.calypso.money/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.calypso.money/acquiring/customers/how-to-create-a-customer.md).

# How to create a Customer

### Customers

* Create a customer - POST **customer**
* Update or add details to a client - POST **update**

<br>

#### Create customer request example

**Example of the create customer request**:

Pass your account ID as a parameter - "**account**".

#### **Example of the create customer response**:

```json
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "email": "string",
  "description": "string",
  "externalId": "string",
  "blocked": true
}
```

The following options are also available to you:

* Block customer - POST **block**\
  Allows you to transfer the client to the "blocked" status.\
  The client's addresses remain active for receipts.\
  The merchant can receive funds to blocked addresses, but receives a notification via webhook that these are receipts from a blocked user. - **CUSTOMER\_PURSE\_FUNDS\_RECEIVED\_FOR\_PURSE** ("blocked": true)

  **Funds received at the blocked client's addresses:**

  * Are credited to the merchant's account.
  * The merchant is notified by webhook with transaction details and the client's status ("blocked").
  * The decision on further distribution of funds remains with the merchant and his agreement with the client.
* Unblock customer - POST **unblock**\
  Allows the merchant to restore the client to an active state.\
  Once unblocked, the client can continue to use their addresses without restrictions.

### **Block/unblock customer request example**

#### **Example of the block customer request**:

Pass your account ID as a parameter - "**account**","**customerId**".

**Example of the block customer response**:

```json
{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "email": "string",
  "description": "string",
  "externalId": "string",
  "blocked": true
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.calypso.money/acquiring/customers/how-to-create-a-customer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
