---
title: "Create an account"
method: POST
path: "/ledger/accounts"
tags: ["Accounts"]
---

# Create an account

`POST /ledger/accounts`

Create an account.

## Request body

- object
  - `description` string, required — Description of the Account.
  - `type` string, required — Type of the Account in Payrails.
  - `holderId` string, uuid, required — Unique identifier of the Holder in Payrails.

## Response `201`

Created.

- object
  - `id` string, uuid, required — Unique identifier of the Account in Payrails.
  - `createdAt` string, date-time — Exact date and time when the Account was created in Payrails.
  - `description` string — Description of the Account.
  - `type` string, required — Type of the Account in Payrails.
  - `holderId` string, required — Unique identifier of the Holder in Payrails.
  - `holderReference` string — Merchant-specific identifier of the Holder in the merchant's system.
  - `balance` object — Current balance of the Account in Payrails.
    - `value` string, required — Decimal amount of the major currency unit. Can be any precision.
    - `currency` string, required — ISO 3-letter currency code.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Insufficient Scope.
- `404` — Not Found.

---

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