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

# Create Closed Wallet

> The endpoint is designed to create a new wallet for a customer(that belongs to a closed organization). This endpoint allows you to fast track the wallet creation process by skipping the create customer step. ONLY closed organizations can use this endpoint.

## Request Body

**firstName** `string` *required*

**Example:** "John"

**lastName** `string` *required*

**Example:** "Doe"

**mobileNumber** `string`

**Example:** "08012345678" `Optional. However, when passed, must be unique`

**emailAddress** `string`

**Example:** "[john.doe@abc.com](mailto:john.doe@abc.com)" `Optional. However, when passed, must be
    unique`

**currencyId** `string`

ID of the currency for this wallet. *(Must be a UUID)* **Example:**
"3fa85f64-5717-4562-b3fc-2c963f66afa6" `The value should be gotten from the
    get currency endpoint in the wallet utils section`

**alias** `string`

**Example:** "Johny Boy" `This is an optional field`

```json 200 Success theme={null}
{
    "code": "00",
    "success": true,
    "message": "Created Successfully",
    "data": {
        "customerId": "42636ee5-6a35-11f1-869b-02789e000022",
        "firstName": "Tari",
        "lastName": "Hilson",
        "alias": "Tari-Hilson-Fix",
        "accountNumber": "9710050460",
        "walletName": "Tari Hilson",
        "walletId": "42643503-6a35-11f1-869b-02789e000022",
        "currencyId": "fd5e474d-bb42-4db1-ab74-e8d2a01047e9"
    }
}
```

```json 404 Not Found theme={null}
{
  "code": "404",
  "success": false,
  "message": "Customer not found",
  "data": null
}
```

```json 500 Internal Server Error theme={null}
{
  "code": "500",
  "success": false,
  "message": "An unexpected error occurred",
  "data": null
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.