> ## Documentation Index
> Fetch the complete documentation index at: https://docs.engine.usesophic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a deposit

> 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.



## OpenAPI

````yaml /openapi.json post /accounts/{account_id}/deposits
openapi: 3.1.0
info:
  title: Sophic Engine API
  version: 0.1.0
servers:
  - url: https://api.engine.usesophic.com
security: []
tags:
  - description: Retrieve accounts, statements, and account documents.
    name: accounts
    x-group: Accounts
  - description: Read the audit trail of platform activity.
    name: activity
    x-group: Activity
  - description: Obtain OAuth access tokens for the Engine API.
    name: auth
    x-group: Authentication
  - description: Inspect the authenticated user or service actor.
    name: identity
    x-group: Identity
  - description: Retrieve fee schedules and billing information.
    name: billing
    x-group: Billing
  - description: Browse instruments and tradable products.
    name: catalog
    x-group: Catalog
  - description: Track onboarding applications through completion.
    name: onboarding
    x-group: Onboarding
  - description: Manage customer records and related person data.
    name: customers
    x-group: Customers
  - description: List platform events and inspect individual occurrences.
    name: events
    x-group: Events
  - description: Read positions, transactions, and account holdings.
    name: holdings
    x-group: Holdings
  - description: Retrieve legal agreements and required disclosures.
    name: legal-documents
    x-group: Legal Documents
  - description: Access prices and market data for instruments.
    name: market-data
    x-group: Market Data
  - description: Manage deposits, withdrawals, and funding accounts.
    name: payments
    x-group: Payments
  - description: Retrieve returns, earnings, and performance metrics.
    name: performance
    x-group: Performance
  - description: Place and manage orders, quotes, and trades.
    name: trading
    x-group: Trading
  - description: Read position and account valuations over time.
    name: valuation
    x-group: Valuation
  - description: Configure webhook endpoints and inspect deliveries.
    name: webhooks
    x-group: Webhooks
  - description: Upload files and retrieve stored documents.
    name: files
    x-group: Files
paths:
  /accounts/{account_id}/deposits:
    post:
      tags:
        - payments
      summary: Create a deposit
      description: >-
        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.
      operationId: create_deposit_accounts__account_id__deposits_post
      parameters:
        - in: path
          name: account_id
          required: true
          schema:
            title: Account Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDepositRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deposit'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
      security:
        - HTTPBearer: []
components:
  schemas:
    CreateDepositRequest:
      properties:
        amount:
          anyOf:
            - exclusiveMinimum: 0
              type: number
            - type: string
          description: Positive deposit amount with up to two decimal places.
          examples:
            - '100.00'
          title: Amount
        currency:
          allOf:
            - $ref: '#/components/schemas/Currency'
          description: Supported account currency to credit.
        payment_reference:
          description: >-
            Reference used to match the inbound payment; generated when omitted
            and unique per funding batch when provided.
          title: Payment Reference
          type: string
          x-remove-null-from-type-union: true
        request_advance:
          default: false
          description: >-
            Request that the deposit amount is credited in advance as unsettled
            cash, which will settle once the deposit is funded.
          title: Request Advance
          type: boolean
      required:
        - amount
        - currency
      title: CreateDepositRequest
      type: object
    Deposit:
      properties:
        account:
          description: The ID of the parent account.
          title: Account
          type: string
        advanced_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The time the deposit was advanced as unsettled cash.
          examples:
            - '2026-07-14T09:32:00Z'
          title: Advanced At
        amount:
          description: The amount of the deposit.
          examples:
            - '100.00'
            - '50.12'
          title: Amount
          type: string
        completed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The time the deposit was completed.
          examples:
            - '2026-07-14T09:34:12Z'
          title: Completed At
        created_at:
          description: >-
            The timestamp (in
            [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html)
            format) of when the resource was created.
          format: date-time
          title: Created At
          type: string
        currency:
          allOf:
            - $ref: '#/components/schemas/Currency'
          description: The currency of the deposit.
        id:
          description: Unique resource identifier.
          title: Id
          type: string
        modified_at:
          description: >-
            The timestamp (in
            [ISO-8601](https://www.iso.org/iso-8601-date-and-time-format.html)
            format) of when the resource was last modified.
          format: date-time
          title: Modified At
          type: string
        payment_reference:
          description: The reference used to identify the inbound payment.
          examples:
            - '202512161234'
          title: Payment Reference
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/DepositStatus'
          description: The status of the deposit.
        was_advanced:
          description: Whether the deposit was advanced as unsettled cash.
          title: Was Advanced
          type: boolean
      required:
        - created_at
        - modified_at
        - id
        - account
        - amount
        - currency
        - payment_reference
        - was_advanced
        - status
      title: Deposit
      type: object
    Error:
      properties:
        code:
          description: A machine-readable error code.
          title: Code
          type: string
        context:
          additionalProperties:
            anyOf:
              - type: string
              - type: integer
          description: An optional object for adding extra context to the error.
          title: Context
          type: object
          x-remove-null-from-type-union: true
        detail:
          description: A human-readable description of the error.
          title: Detail
          type: string
        docs:
          description: A URL to documentation about this error code.
          title: Docs
          type: string
          x-remove-null-from-type-union: true
        params:
          description: An optional list of params that failed validation.
          items:
            $ref: '#/components/schemas/InvalidParam'
          title: Params
          type: array
          x-remove-null-from-type-union: true
      required:
        - detail
        - code
      title: Error
      type: object
    Currency:
      enum:
        - EUR
        - USD
        - GBP
      properties: {}
      title: Currency
      type: string
    DepositStatus:
      enum:
        - open
        - completed
      properties: {}
      title: DepositStatus
      type: string
    InvalidParam:
      properties:
        code:
          description: A machine-readable error code.
          title: Code
          type: string
        detail:
          description: Human-readable detail for error.
          title: Detail
          type: string
        path:
          description: Path to the field name (or index if a list) that errored.
          items:
            anyOf:
              - type: integer
              - type: string
          title: Path
          type: array
      required:
        - path
        - detail
        - code
      title: InvalidParam
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````