---
title: "Activate Deposit Target Currency"
method: PATCH
path: "/deposit-targets/{depositTargetId}"
tags: ["deposit-targets"]
---

# Activate Deposit Target Currency

`PATCH /deposit-targets/{depositTargetId}`

## Request

- Base URL: `https://api.copper.co/platform`
- URL: `https://api.copper.co/platform/deposit-targets/{depositTargetId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/copper-co/apis/copper-platform-api/docs/deposit-targets/:depositTargetId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update deposit target

## Path parameters

- `depositTargetId` string, required

## Headers

- `Content-Type` string

## Request body

- ActivateCurrency
  - `currency` string, required
  - `mainCurrency` string

## Response `200`

OK

- DepositTarget
  - `acceptAllTokens` boolean, required: This parameter defines if this target is able to accept all tokens
  - `activatedTokens` ActivatedToken[]: If tokens of a blockchain should be activated prior to any operation, this parameter includes a list of currencies to be activated with corresponding status - otherwise, the field is set as null
  - `address` string
  - `createdAt` string, required
  - `createdBy` string, required
  - `currency` string
  - `depositTargetId` string, required
  - `externalId` string, required
  - `mainCurrency` string, required
  - `memo` string
  - `metadata` object: Additional metadata you want to store with a new Deposit Target
  - `name` string
  - `organizationId` string
  - `portfolioId` string
  - `portfolioType` 'custody' | 'trading-vault' | 'trading' | 'external' | 'clearloop', required
  - `requireTokensActivation` boolean, required: This parameter defines if this target is able to accept all tokens
  - `status` 'new' | 'pending' | 'approval-pending' | 'enabled' | 'disabled' | 'error' | 'portfolio-archived', required
  - `targetType` 'proxy' | 'direct' | 'external-wallet', required
  - `updatedAt` string, required
  - `updatedBy` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict

---

[API](https://skmtc.dev/copper-co/apis/copper-platform-api.md) - [All operations](https://skmtc.dev/copper-co/apis/copper-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/copper-co/apis/copper-platform-api/revisions/44296120fc7d?raw)
