Preferences
User preferences - notifications, trading defaults, and UI settings
Get Preferences
Authorization
HTTPBearer In: header
Response Body
application/json
curl -X GET "https://loading/api/v1/preferences"{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}Patch Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/preferences" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update All Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
Notification preference settings.
Trading default settings.
UI preference settings.
Referral payout preference settings.
Response Body
application/json
application/json
curl -X PUT "https://loading/api/v1/preferences" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Notification Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
Alert on trade execution
trueAlert on price thresholds
trueAlert on news events
falseAlert on portfolio changes
trueSend email notifications
trueSend push notifications
falsePrice change threshold (%)
50.1 <= value <= 50Per-alert-type channel configuration (alert_type -> [channels])
Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/preferences/notifications" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Trading Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
Default exchange for trading
"binance"Default trading pair
"BTC/USDT"Risk tolerance level
"moderate""conservative" | "moderate" | "aggressive"Response Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/preferences/trading" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Ui Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
UI theme
"dark""dark" | "light" | "system"Use compact UI layout
falseShow balance amounts
trueResponse Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/preferences/ui" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Update Payout Preferences
Authorization
HTTPBearer In: header
Request Body
application/json
Preferred payout schedule
"weekly""weekly" | "monthly" | "manual"Preferred payment method
"bank_transfer"Minimum payout threshold (USD)
"50.00"Email notifications for payouts
trueResponse Body
application/json
application/json
curl -X PATCH "https://loading/api/v1/preferences/payouts" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Reset Preferences
Authorization
HTTPBearer In: header
Response Body
application/json
curl -X POST "https://loading/api/v1/preferences/reset"{
"success": true,
"preferences": {
"notifications": {
"trade_alerts": true,
"price_alerts": true,
"news_alerts": false,
"portfolio_alerts": true,
"email_notifications": true,
"push_notifications": false,
"alert_threshold": 5,
"channel_config": {
"property1": [
"string"
],
"property2": [
"string"
]
}
},
"trading": {
"default_exchange": "binance",
"default_pair": "BTC/USDT",
"risk_level": "conservative"
},
"ui": {
"theme": "dark",
"compact_mode": false,
"show_balances": true
},
"payouts": {
"payout_schedule": "weekly",
"payment_method": "bank_transfer",
"min_payout_threshold": "50.00",
"email_notifications": true
}
},
"message": "string"
}