AuthenticationSend your key in the
X-API-Key header. Keys are created, scoped and rotated in Admin → API Keys. Base URL: https://api.yourbrand.com/partner/v1Accounts / Create account
Create a trading account
POST/accounts
Open a trading account for a client registered in your CRM. It starts with a zero balance. The response carries its master and investor passwords, this once only.
Request
curl -X POST "https://api.yourbrand.com/partner/v1/accounts" \
-H "X-API-Key: $FIDUCUBE_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Alex Morgan","email":"[email protected]","group":"real-ecn","leverage":500}'201 CreatedResponse
{
"success": true,
"data": {
"login": 100482,
"name": "Alex Morgan",
"group": "real-ecn",
"leverage": 500,
"currency": "USD",
"balance": 0,
"password": "••••••••",
"investorPassword": "••••••••"
}
}Book a demo →Full API reference is provided to licensed partners.