Skip to content
Add Rate Configuration

Update User Rate

Update User Rate.

Request parameters

  • Required: id (Config ID), end_time (End Time), start_time (Start Time), from_currency (From Currency), to_currency (To Currency), default_effective (Default Effective)
  • Optional: action_user (Action User), channel_name (Channel Name), is_default (Is Default), rate_source (Rate Source), rate_use_in (Rate Use In), reference_rate (Reference Rate), service_strategy (Service Strategy), spread_mode (Spread Mode), spread_value (Spread Value), audit_frontend_resource (Audit Context)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.longbridge.xyz/forex/user_rate_update

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idstringrequired

Config ID associated with this request.

action_userstring

Specifies Action User.

channel_namestring

Removed before submission (not sent) when service_strategy=BATCH (batch strategy).

end_timestringrequired

For a custom effective period, pass the range picker's end_time as a Unix timestamp in seconds. For the default period, pass 0.

start_timestringrequired

Same logic as end_time.

from_currencystringrequired

Specifies From Currency. This field is required.

to_currencystringrequired

Specifies To Currency. This field is required.

is_defaultstring

Specifies Is Default.

rate_sourcestring

Specifies Rate Source.

rate_use_instring

Specifies Rate Use In.

reference_ratestring

Specifies Reference Rate.

service_strategystring

Specifies Service Strategy.

spread_modestring

Specifies Spread Mode.

spread_valuearray<string>

Array elements {start_value, end_value}, split from the request field range_value interval.

default_effectivestringrequired

Specifies Default Effective. This field is required.

audit_frontend_resourceobject

Provides audit context for this operation.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs