https://b-api.longbridge.xyz/v2/forex/support_currency_updateAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Support Currency Update List. Each item contains id/from_currency/to_currency/action/default_currency; newly added items use action=1, items with a changed to_currency use action=2, and removed old items use action=3; in one case a single item is always passed with action=2 and default_currency=true to set the default target currency.
Currency Pair Item ID. The ID of an existing target-currency record; empty when creating (action=1).
From Currency. Three-letter currency code.
To Currency. Three-letter currency code.
Action Type. Enum: 1 = add, 2 = modify / set as default, 3 = delete (inferred from front-end hardcoded logic).
Is Default Currency. Only passed as true in the "Set as Default" scenario.
Audit Frontend Resource (Before/After). Sent only in the edit scenario; contains before/after target-currency arrays, used for back-office audit trails.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields