PATCH
/
deposit-targets
/
{depositTargetId}
curl --request PATCH \
  --url https://api.copper.co/platform/deposit-targets/{depositTargetId} \
  --header 'Content-Type: application/vnd.activate-deposit-target-currency+json' \
  --data '{
  "currency": "<string>",
  "mainCurrency": "<string>"
}'
{
  "acceptAllTokens": true,
  "activatedTokens": [
    {}
  ],
  "address": "<string>",
  "createdAt": "<string>",
  "createdBy": "<string>",
  "currency": "<string>",
  "depositTargetId": "<string>",
  "externalId": "<string>",
  "mainCurrency": "<string>",
  "memo": "<string>",
  "metadata": {},
  "name": "<string>",
  "organizationId": "<string>",
  "portfolioId": "<string>",
  "portfolioType": "custody",
  "requireTokensActivation": true,
  "status": "new",
  "targetType": "proxy",
  "updatedAt": "<string>",
  "updatedBy": "<string>"
}

Headers

Content-Type
string

application/vnd.activate-deposit-target-currency+json

Path Parameters

depositTargetId
string
required

Body

application/vnd.activate-deposit-target-currency+json

Response

200
application/vnd.activate-deposit-target-currency+json

OK

The response is of type object.