Execute an earn action (stake or unstake)
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Body Params application/jsonRequired
{
"config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
"wallet_id": "d9a8fbfc-848f-43a2-9168-911ed3a04a48",
"asset_amount": 0
}
Request Code Samples
curl --location 'https://api.public.bitpanda.com/v1/earn/actions/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"config_id": "d1d31429-d888-4f1c-b9c1-4e842f9bce5b",
"wallet_id": "d9a8fbfc-848f-43a2-9168-911ed3a04a48",
"asset_amount": 0
}'
Responses
Earn action initiated successfully
{
"data": {
"status": "string"
}
}
Modified at 2026-08-03 13:07:26