Skip to content
Currency Setup

Edit Currency Config

Edit Currency Config.

Request parameters

  • Required: id (Config ID), currency_iso (Currency ISO), currency (Currency), icon (Icon), logo (Logo), support_withdraw (Support Withdraw), support_exchange (Support Exchange), min_withdrawal_amount (Min Withdrawal Amount), min_exchange_amount (Min Exchange Amount), exchange_rate_precision (Exchange Rate Precision), amount_precision (Amount Precision), amount_round_mode (Amount Round Mode), standard_money (Standard Money), abbreviation_multi_name (Abbreviation Multi Name), multi_name (Multi Name), json_config (JSON Config)
  • Optional: cash_amount (Min Cash Amount), remarks (Remarks), 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.

PUThttps://b-api.longbridge.xyz/atm/currency/config

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Config ID associated with this request.

currency_isostringrequired

Specifies Currency ISO. This field is required.

currencystringrequired

Currency code used for this request. This field is required.

iconstringrequired

Specifies Icon. This field is required.

logostringrequired

Specifies Logo. This field is required.

cash_amountstring

Specifies Min Cash Amount.

support_withdrawstringrequired

Ultimately merged into json_config.

Allowed values:

  • yes - Yes
  • no - No

yes · Yesno · No

support_exchangestringrequired

Ultimately merged into json_config.

Allowed values:

  • yes - Yes
  • no - No

yes · Yesno · No

min_withdrawal_amountstringrequired

Specifies Min Withdrawal Amount. This field is required.

min_exchange_amountstringrequired

Specifies Min Exchange Amount. This field is required.

exchange_rate_precisionnumberrequired

Specifies Exchange Rate Precision. This field is required.

amount_precisionstringrequired

Number of decimal places retained for monetary amounts. This field is required.

Allowed values:

  • 0 - No decimal places
  • 1 - One decimal place
  • 2 - Two decimal places

012

amount_round_modestringrequired

Specifies Amount Round Mode. This field is required.

standard_moneystringrequired

Specifies Standard Money. This field is required.

Allowed values:

  • yes - Yes
  • no - No

yes · Yesno · No

remarksstring

Remarks saved with this operation.

abbreviation_multi_namestringrequired

A JSON string {zh-CN, zh-HK, en}.

multi_namestringrequired

A JSON string {zh-CN, zh-HK, en}.

json_configstringrequired

JSON string {app_show, support_withdraw, support_exchange, support_deposit}.

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