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

# Create an account

`POST /v1/accounts`

## Request

- Base URL: `https://hyperscale0.ai`
- URL: `https://hyperscale0.ai/v1/accounts`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Provisions a public ledger-backed account for the company, a customer, or a Product owner with a fixed currency and role. Escrow that an instrument owns is not a public account role; Hyperscale opens those accounts for the instrument. A product's credit/revenue treasury pair is provisioned separately during product setup. The currency, role, and normal balance are set at creation and cannot be changed afterward.

## Headers

- `X-Hyperscale-Environment` 'sandbox' | 'live'
- `Idempotency-Key` string, required

## Request body

- object
  - `owner` AccountOwner, required (unresolved $ref)
  - `productId` string: Hyperscale product ID
  - `role` 'tenant_billing' | 'tenant_credit' | 'tenant_settlement' | 'customer_balance' | 'customer_investment' | 'product_pool' | 'product_credit' | 'product_revenue', required
  - `currency` 'SAR', required
  - `metadata` Metadata (unresolved $ref)

## Response `201`

Success

- AccountCreateOutput
  - `accountId` string, required: Hyperscale account ID
  - `tenantId` string, required: Organization tenant ID
  - `owner` AccountOwner, required (unresolved $ref)
  - `productId` string: Hyperscale product ID
  - `role` 'tenant_billing' | 'tenant_credit' | 'tenant_settlement' | 'customer_balance' | 'customer_investment' | 'product_pool' | 'product_credit' | 'product_revenue', required
  - `currency` 'SAR', required
  - `normalBalance` 'debit' | 'credit', required
  - `status` 'open', required

## Other responses

- `default`: ErrorResponse. See x-error-codes and x-errors for codes, HTTP statuses and retry guidance.

---

[API](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api.md) · [All operations](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/revisions/e9e8faa044d5?raw)
