---
title: "Create account"
method: POST
path: "/v1/customers/{customer_id}/accounts"
tags: ["Accounts"]
---

# Create account

`POST /v1/customers/{customer_id}/accounts`

Create account

## Path parameters

- `customer_id` string, uuid, required

## Headers

- `Idempotency-Key` string, uuid, required

## Request body

- CreateAccountRequest
  - `account_name` string, string, required — Friendly label set by the client
  - `account_type` 'payment' | 'virtual', required — The type of account to be created. Note: 'Payment' is deprecated and not supported for new accounts. Account type will always be 'Virtual'.
  - `currency` 'AED' | 'USD' | 'JOD' | 'EGP' | 'SAR' | 'GBP' | 'EUR' | 'HKD' | 'CNH' | 'SGD', required
  - `external_id` string, string, required — Id to be set by the client

## Response `202`

The request to create an account has been accepted

- CreateAccountResponse
  - `account_id` string, uuid, required

## Other responses

- `400` — Unable to complete request with data provided
- `404` — Customer not found
- `409` — Idempotency-Key concurrency conflict
- `422` — Idempotency-Key reuse for a different request

---

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