https://b-api.longbridge.xyz/v1/risk_monitoring/exchange_v2Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Account ID. Programmatically derived by the front end from the selected record's record.aaid_val; not a form-editable field.
Exchange Books. Array of dynamic FX rows; multiple exchange records can be added. See the sub-fields of exchange_books (from_currency, etc.) for each row's structure.
From Currency. A dropdown whose options are the currencies held in the client's cash books (cash_books).
To Currency. A dropdown; options come from global_currency_which_support_exchange.
From Amount. Submit either from_amount or to_amount: the field the user edited last is kept, while the other is computed from the exchange rate and dropped by the front end.
To Amount. Same as from_amount; the two are mutually exclusive and only one is submitted.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields