---
title: "Create new allocations"
method: POST
path: "/subaccounts/transactions/allocations"
tags: ["Subaccounts"]
---

# Create new allocations

`POST /subaccounts/transactions/allocations`

Permissions required: **Subaccount**


Create new allocation of pre-funded values between the Funding and Program Customers' subaccounts. This is a transactional operation, all transactions will be created successfully or none will.

## Headers

- `Api-Signature` string, required
- `Api-Timestamp` integer, required

## Request body

- CreateFundingAllocationsRequest — Details of the allocations to create
  - `allocations` CreateFundingAllocation[], required
    - `amount` string, required — The amount to allocate
    - `assetType` string, required — A string representing a type of asset. At the moment, only USD is supported.
    - `subaccountId` string, required — Unique Identifier for the subaccount
    - `transactionType` 'DEPOSIT' | 'WITHDRAWAL', required — A string describing the type of the given allocation * DEPOSIT - Deposit allocation (Client to Program Customer) * WITHDRAWAL - Withdrawal allocation (Program Customer to Client)
  - `idempotentId` string, required — A client-provided unique ID for idempotent requests

## Response `200`

Successfully created the transactions

- CreateFundingAllocationsResponse
  - `idempotentId` string, required — A client-provided unique ID for idempotent requests
  - `transactionIds` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference.md) · [All operations](https://skmtc.net/anchorage/apis/anchorage-digital-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anchorage/anchorage-digital-api-reference/versions/166864b1ec6d/schema)
