POST
/
v1
/
portfolios
/
{portfolio_id}
/
staking
/
initiate
Request to stake currency in a portfolio
curl --request POST \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/staking/initiate \
  --header 'Content-Type: application/json' \
  --data '{
  "idempotency_key": "<string>",
  "currency_symbol": "<string>",
  "amount": "<string>",
  "metadata": {
    "external_id": "<string>"
  }
}'
{
  "activity_id": "<string>",
  "transaction_id": "<string>"
}

Path Parameters

portfolio_id
string
required

The portfolio ID

Body

application/json

Response

200 - application/json

A successful response.

The response is of type object.