---
title: "Create a new currency"
method: POST
path: "/settings/currencies"
tags: ["Admin Settings: Currencies"]
---

# Create a new currency

`POST /settings/currencies`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/settings/currencies`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/settings/currencies/post.ts> (a function with typed inputs; its response is checked against the schema)

Mirrors Bagisto admin Settings → Currencies → Create. Validates code (required, alpha, exactly 3 chars, unique), name (required). Code is uppercased by the model mutator.

## Request body

- object
  - `code` string, required
  - `name` string, required
  - `symbol` string
  - `decimal` integer
  - `group_separator` string
  - `decimal_separator` string
  - `currency_position` string

## Response `201`

Currency created.

## Other responses

- `400`: Invalid input
- `422`: Validation failure.

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
