Skip to main content
POST
/
v0
/
user
/
strategies
Enable Strategy
curl --request POST \
  --url https://api.example.com/v0/user/strategies/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "strategy_id": 123,
  "connector_id": 123,
  "configuration": {}
}
'
{
  "_links": {
    "kyc": {
      "description": "Submit KYC information",
      "href": "/v0/user/me/kyc",
      "method": "PUT"
    },
    "self": {
      "href": "/v0/user/me",
      "method": "GET"
    },
    "wallets": {
      "href": "/v0/wallets",
      "method": "GET"
    }
  }
}

Headers

x-sumvin-token
string | null
x-juno-jwt
string | null

Body

application/json
strategy_id
integer
required

ID of strategy to enable

connector_id
integer | null

Specific connector to use for this strategy

configuration
Configuration · object

User-specific configuration

Response

Strategy enabled successfully

HAL-style hypermedia links for navigation and available actions.

user_strategy
UserStrategyData · object
required