---
title: "Create a deposit"
method: POST
path: "/accounts/{account_id}/deposits"
tags: ["payments"]
---

# Create a deposit

`POST /accounts/{account_id}/deposits`

## Request

- Base URL: `https://api.engine.usesophic.com`
- URL: `https://api.engine.usesophic.com/accounts/{account_id}/deposits`
- Auth: HTTP bearer

Create a deposit, funded by bank transfer. The deposit amount can be optionally advanced, to increase the account's buying power before the deposit is funded.

## Path parameters

- `account_id` string, required

## Request body

- CreateDepositRequest
  - `amount` union, required: Positive deposit amount with up to two decimal places.
    - number
    - string
  - `currency` 'EUR' | 'USD' | 'GBP', required
  - `payment_reference` string: Reference used to match the inbound payment; generated when omitted and unique per funding batch when provided.
  - `request_advance` boolean: Request that the deposit amount is credited in advance as unsettled cash, which will settle once the deposit is funded.

## Response `201`

Created

- Deposit
  - `account` string, required: The ID of the parent account.
  - `advanced_at` string, date-time, nullable: The time the deposit was advanced as unsettled cash.
  - `amount` string, required: The amount of the deposit.
  - `completed_at` string, date-time, nullable: The time the deposit was completed.
  - `created_at` string, date-time, required: The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was created.
  - `currency` 'EUR' | 'USD' | 'GBP', required
  - `id` string, required: Unique resource identifier.
  - `modified_at` string, date-time, required: The timestamp (in [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html) format) of when the resource was last modified.
  - `payment_reference` string, required: The reference used to identify the inbound payment.
  - `status` 'open' | 'pending' | 'held' | 'returning' | 'completed' | 'returned' | 'cancelled', required
  - `was_advanced` boolean, required: Whether the deposit was advanced as unsettled cash.

## Other responses

- `400`: Bad Request

## Changes

- **2026-10-29** `6a63920239d8`: 4 breaking, 11 warning, 5 info
  - request property `currency` was restricted to a list of enum values
  - the `currency` request property type changed from no type to `string`
  - the `currency` response's property type changed from no type to `string` for status `201`
  - the `status` response's property type changed from no type to `string` for status `201`
  - …16 more
- **2026-10-06** `aa43bab6253c`: 1 breaking
  - response property `context/additionalProperties/` list-of-types was widened by adding types `array` to media type `application/json` of response `400`
- **2026-09-29** `8371b27e56c7`: 1 warning
  - added the new `pending` enum value to the `status/allOf[subschema #1: DepositStatus]/` response property for the response status `201`
- **2026-09-22** `3c2573a59705`: 4 warning
  - added the new `cancelled` enum value to the `status/allOf[subschema #1: DepositStatus]/` response property for the response status `201`
  - added the new `held` enum value to the `status/allOf[subschema #1: DepositStatus]/` response property for the response status `201`
  - added the new `returned` enum value to the `status/allOf[subschema #1: DepositStatus]/` response property for the response status `201`
  - added the new `returning` enum value to the `status/allOf[subschema #1: DepositStatus]/` response property for the response status `201`
- **2026-07-13** `03da9bc8e86b`: 1 info
  - api tag `payments` added

[Operation history](https://skmtc.dev/joinsophic/apis/sophic-engine-api/changes/accounts/:account_id/deposits/post.md)

---

[API](https://skmtc.dev/joinsophic/apis/sophic-engine-api.md) - [All operations](https://skmtc.dev/joinsophic/apis/sophic-engine-api/llms.txt) - [OpenAPI document](https://skmtc.dev/joinsophic/apis/sophic-engine-api/revisions/1afda7d8d185?raw)
