---
title: "Create Deposit"
method: POST
path: "/admin/users/{user_id}/deposits"
tags: ["admin"]
---

# Create Deposit

`POST /admin/users/{user_id}/deposits`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/admin/users/{user_id}/deposits`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create a deposit for a user.

## Path parameters

- `user_id` string, uuid, required

## Request body

- DepositRecordCreate
  - `amount` union, required
    - number
    - string
  - `currency` string
  - `description` string, nullable
  - `reference_id` string, nullable
  - `transaction_type` string
  - `status` string

## Response `200`

Successful Response

- DepositRecordResponse
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `balance_id` string, uuid, required
  - `transaction_type` string, required
  - `amount` string, required
  - `currency` string, required
  - `balance_before` string, required
  - `balance_after` string, required
  - `description` string, nullable
  - `reference_id` string, nullable
  - `created_by` string, uuid, nullable
  - `status` string, required
  - `transaction_metadata` object
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `c683584f6060`: 4 info
  - removed the pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` from the request property `amount/anyOf[subschema #2]/`
  - the `amount` response's property pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` was removed for the status `200`
  - the `balance_after` response's property pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` was removed for the status `200`
  - the `balance_before` response's property pattern `^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$` was removed for the status `200`

[Operation history](https://skmtc.dev/meganova/apis/meganova-api/changes/admin/users/:user_id/deposits/post.md)

---

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