This is the recommended generic finance payload for a broker or partner workflow evaluating a CFD order request.
curl -X POST https://api.decionis.com/v1/protocol/evaluate-decision -H "Authorization: Bearer dcy_org_xxx" -H "Idempotency-Key: cfd-order-001" -H "Content-Type: application/json" -d '{
"org_id": "11111111-1111-4111-8111-111111111111",
"decision_type": "CFD_TRADE_EXECUTION",
"amount": 18000,
"risk_score": 0.74,
"objective_profile": "risk_conservative",
"mode": "ENFORCEMENT",
"workflow_key": "cfd_trade_execution",
"vertical_pack": "cfd_trade_execution",
"context": {
"broker": "Geminix Capital",
"instrument": "EURUSD",
"side": "BUY",
"order_type": "MARKET",
"notional": 18000,
"leverage": 12,
"margin_available": 5400,
"stop_loss": 1.0715,
"take_profit": 1.094,
"time_in_force": "GTC",
"approval_path": ["desk_risk", "finance_control"],
"policy_version": "cfd_trade_execution-v1",
"override_reason_code": null
}
}'
Required CFD evidence
Supply instrument, side, order_type, leverage, margin_available, approval_path, and policy_version. Provide either size or notional so the workflow pack can satisfy the size_or_notional requirement.
Recommended controls
Include stop_loss, take_profit, time_in_force, and any broker order controls so the finance engine can distinguish bounded orders from trades that require escalation or tighter review.