---
title: "Cancel deposit order"
method: PUT
path: "/v0/deposit-orders/{id}/cancel"
tags: ["Deposit orders"]
---

# Cancel deposit order

`PUT /v0/deposit-orders/{id}/cancel`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/deposit-orders/{id}/cancel`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/deposit-orders/:id/cancel/put.ts> (a function with typed inputs; its response is checked against the schema)

**Cancel a deposit order.** Order must be in created or pending-collection status.

> **Distribute-with-Spiko's-license distributors** cannot cancel this order from their backend. The investor must do it directly from the browser with a short-lived [Investor JWT](/developers/distributor_api/technical_guides/investor_jwt), targeting the investor-scoped path **`PUT /v0/investor/deposit-orders/{id}/cancel`** (identical payload and response, but authenticated with the investor JWT as bearer token instead of your API credentials).

## Path parameters

- `id` string, uuid, required: a Universally Unique Identifier

## Response `200`

Success

- union
  - object
    - `id` string, uuid, required: a Universally Unique Identifier
    - `investorId` string, uuid, required: a Universally Unique Identifier
    - `accountId` string, uuid, required: a Universally Unique Identifier
    - `shareClassId` string, uuid, required: a Universally Unique Identifier
    - `amount` NonNegativeAmount, required
      - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
      - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `createdAt` string, required
    - `settlement` object, nullable, required
      - `amount` NonNegativeAmount, required
        - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
        - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
      - `shares` string, required
      - `appliedNAV` object, required
        - `day` string, required: a day in ISO format "YYYY-MM-DD"
        - `amount` NonNegativeAmount, required
          - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
          - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `status` 'created', required
  - object
    - `id` string, uuid, required: a Universally Unique Identifier
    - `investorId` string, uuid, required: a Universally Unique Identifier
    - `accountId` string, uuid, required: a Universally Unique Identifier
    - `shareClassId` string, uuid, required: a Universally Unique Identifier
    - `amount` NonNegativeAmount, required
      - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
      - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `createdAt` string, required
    - `settlement` object, nullable, required
      - `amount` NonNegativeAmount, required
        - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
        - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
      - `shares` string, required
      - `appliedNAV` object, required
        - `day` string, required: a day in ISO format "YYYY-MM-DD"
        - `amount` NonNegativeAmount, required
          - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
          - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `status` 'pending-collection', required
  - object
    - `id` string, uuid, required: a Universally Unique Identifier
    - `investorId` string, uuid, required: a Universally Unique Identifier
    - `accountId` string, uuid, required: a Universally Unique Identifier
    - `shareClassId` string, uuid, required: a Universally Unique Identifier
    - `amount` NonNegativeAmount, required
      - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
      - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `createdAt` string, required
    - `settlement` object, nullable, required
      - `amount` NonNegativeAmount, required
        - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
        - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
      - `shares` string, required
      - `appliedNAV` object, required
        - `day` string, required: a day in ISO format "YYYY-MM-DD"
        - `amount` NonNegativeAmount, required
          - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
          - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `status` 'funded', required
    - `fundedAt` string, required
  - object
    - `id` string, uuid, required: a Universally Unique Identifier
    - `investorId` string, uuid, required: a Universally Unique Identifier
    - `accountId` string, uuid, required: a Universally Unique Identifier
    - `shareClassId` string, uuid, required: a Universally Unique Identifier
    - `amount` NonNegativeAmount, required
      - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
      - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `createdAt` string, required
    - `settlement` object, nullable, required
      - `amount` NonNegativeAmount, required
        - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
        - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
      - `shares` string, required
      - `appliedNAV` object, required
        - `day` string, required: a day in ISO format "YYYY-MM-DD"
        - `amount` NonNegativeAmount, required
          - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
          - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `status` 'executed', required
    - `fundedAt` string, required
    - `executedAt` string, required
  - object
    - `id` string, uuid, required: a Universally Unique Identifier
    - `investorId` string, uuid, required: a Universally Unique Identifier
    - `accountId` string, uuid, required: a Universally Unique Identifier
    - `shareClassId` string, uuid, required: a Universally Unique Identifier
    - `amount` NonNegativeAmount, required
      - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
      - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `createdAt` string, required
    - `settlement` object, nullable, required
      - `amount` NonNegativeAmount, required
        - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
        - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
      - `shares` string, required
      - `appliedNAV` object, required
        - `day` string, required: a day in ISO format "YYYY-MM-DD"
        - `amount` NonNegativeAmount, required
          - `value` string, required: a string representation of a non-negative decimal number e.g. "10000", "0.00" or "3420.92"
          - `currency` 'EUR' | 'USD' | 'GBP' | 'CHF' | 'JPY' | 'SGD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'HUF' | 'CZK', required: a currency code among "EUR", "USD", "GBP", "CHF", "JPY", "SGD", "SEK", "NOK", "DKK", "PLN", "HUF", "CZK"
    - `status` 'canceled', required
    - `canceledAt` string, required

## Other responses

- `400`: Bad Request | The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `500`: InternalServerError
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

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