---
title: "Create a Subaccount"
method: POST
path: "/api/service/subaccount/create"
tags: ["Subaccount"]
---

# Create a Subaccount

`POST /api/service/subaccount/create`

Create a Subaccount which can be used to reconcile orders, refunds and payouts more easily.

## Headers

- `Idempotency-Key` string

## Request body

- CreateSubaccountInputDto
  - `legalName` string, required — The legal name of the Subaccount
  - `mcc` string, required — The merchant category code of the Subaccount. See [here](https://www.citibank.com/tts/solutions/commercial-cards/assets/docs/govt/Merchant-Category-Codes.pdf) for more information.
  - `websiteUrl` string — The website url of the Subaccount

## Response `200`

Returns a new Subaccount

- CreateSubaccountOutputDto
  - `id` string, required
  - `legalName` string, required
  - `status` 'active' | 'inactive', required
  - `mcc` string, required
  - `ownerId` unknown, required
  - `websiteUrl` string
  - `createdAt` unknown, required
  - `updatedAt` unknown, required

---

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