---
title: "Create wallet"
method: POST
path: "/api/v1/wallets/generate"
tags: ["wallets"]
---

# Create wallet

`POST /api/v1/wallets/generate`

Generate a new wallet for the given reference and network. Requires wallet/address policy.

## Headers

- `x-sdk-version` string, required

## Request body

- CreateWalletRequestBodyDTO
  - `reference` string, required
  - `networkId` string, required

## Response `201`

Wallet created

- CreateWalletResponseBodyDTO
  - `data` CreateWalletDataDTO, required
    - `id` string, uuid, required — Wallet UUID
    - `reference` string, required — Profile reference that owns this wallet
    - `networkId` string, uuid, required — Network UUID
    - `type` string, required — Profile type (User | Department | Merchant)
    - `date` string, date-time — Wallet creation timestamp

## Other responses

- `400` — Bad request or validation failed. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-010 | The request could not be processed. |
- `401` — Unauthorized – invalid or missing token. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-008 | You need to sign in to continue. | | ERR-011 | Your session is invalid or expired. Please sign in again. |
- `403` — Forbidden – insufficient permissions. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-009 | You don't have permission to do that. | | ERR-410 | Error occurred |
- `500` — Internal server error. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-019 | Something went wrong on our side. | | ERR-999 | An unexpected error occurred. Please try again. |

---

[API](https://skmtc.net/oumla/apis/oumla-core-server.md) · [All operations](https://skmtc.net/oumla/apis/oumla-core-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oumla/oumla-core-server/revisions/2154835230b5/schema)
