https://b-api.lbkrs.com/v2/forex/support_currency_updateProduction: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission below, or the call will be rejected.
Request body application/json
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.
The ID of an existing target-currency record; empty when creating (action=1).
Candidate values come from the ref tenant_currencies_for_exchange. This field is required.
Candidate values come from the ref tenant_currencies_for_exchange. This field is required.
Action type. See the options below.
1 · Add.2 · Modify / Set as Default3 · Delete.
Only passed as true in the "Set as Default" scenario.
Sent only in the edit scenario; contains before/after target-currency arrays, used for back-office audit trails.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureHTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields