Skip to content
Longport Whale
Currency Setup

Add Currency Config

Submitted from the "Add" sub-page of the Currency Setup page.

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

currency_isostringrequired

Currency ISO. A dropdown with enum sourced from ref atm_ref_currency_iso.

currencystringrequired

Currency

iconstringrequired

Icon

logostringrequired

Logo. The return value of the image-upload component.

cash_amountstring

Min Cash Amount. Required only when support_deposit=yes; otherwise left empty by the front end.

support_withdrawstringrequired

Support Withdraw. Before submission it is moved from a top-level form field into json_config and no longer appears separately in the final body (listed here as the pre-submission form field).

yesno

support_exchangestringrequired

Support Exchange. Same as above; ultimately merged into json_config.

yesno

min_withdrawal_amountstringrequired

Min Withdrawal Amount

min_exchange_amountstringrequired

Min Exchange Amount

exchange_rate_precisionnumberrequired

Exchange Rate Precision. An integer from 1 to 10.

amount_precisionstringrequired

Amount Precision

012

amount_round_modestringrequired

Amount Round Mode. A dropdown whose enum comes from ref atm_ref_amount_round_mode.

standard_moneystringrequired

Standard Money

yesno

remarksstring

Remarks

abbreviation_multi_namestringrequired

Abbreviation Multi Name. A JSON string {zh-CN, zh-HK, en} assembled from the form's abbrev_name_cn/abbrev_name_hk/currency fields.

multi_namestringrequired

Multi Name. A JSON string {zh-CN, zh-HK, en}, assembled from the form fields name_cn/name_hk/currency.

json_configstringrequired

JSON Config. A JSON string {app_show, support_withdraw, support_exchange, support_deposit}, assembled from the form fields of the same names.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs