Skip to content

MngApproveFinanceRequest

Moves a pending finance request from TS_FINANCE_OPEN_PENDING to TS_FINANCE_OPEN_REQUEST.

After this transition the request enters the standard finance execution flow and can change account balance or credit.

Approval does not bypass finance policy. OP_BALANCE_OUT and OP_CREDIT_OUT are checked again against the latest account snapshot when the trading runtime applies them. A request can therefore be approved successfully but later finish as TS_FINANCE_OPEN_DECLINE when credit, equity, or margin conditions changed while it was pending.

The transition is valid only from TS_FINANCE_OPEN_PENDING.

Access Control

Requires approve_finance for manager/CRM sessions. The pending finance request account and linked customer, when present, must match the manager brand and desks scope loaded from the cached manager record. Token payload is used only for manager id and session type.

Request

{
  "command": "MngApproveFinanceRequest",
  "extID": "1",
  "data": {
    "order": 1242300
  }
}

Response Data

{
  "accepted": true,
  "order": 1242300,
  "state": 10,
  "login": 100001,
  "cmd": 6,
  "amount": 250
}