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>"
}
Update deposit target
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>"
}
application/vnd.activate-deposit-target-currency+json
OK
The response is of type object
.