What this page does
This detail page edits one saved currency record at /currencies/[currencyId].
What operators can change
Currency NameCurrency SymbolExchange RateMRKTG Ratio to EURLoyalty PointCurrency Icon
Currency Type is displayed through the shared selector but is disabled in the verified UI, so operators can review it but not change it from this page.
The saved Currency Code is shown but locked in read-only mode.
Important behavior
Currency Code cannot be changed here
The edit form keeps Currency Code disabled. Operators can review it, but not overwrite it from this screen.
Currency Type is also review-only here
The form passes the saved type into the shared type selector, but the selector is disabled. Operators cannot manually switch a saved currency between Crypto and Fiat from this page.
Icon management is local until save
The page shows three related icon controls:
- current icon preview
Upload iconSelect from Assets
Uploading or choosing an asset updates the local icon state immediately. The currency record is only updated after Save.
Upload accepts PNG and SVG only
The upload button rejects other file types. The FE also generates a currencyicons/<code>-<timestamp> asset key before calling the core upload endpoint.
Empty icon values are not sent on save
The FE only includes iconUrl in the update payload when the current local icon field is non-empty after trimming.
This means selecting an empty asset value locally does not clear the saved icon through this form. To persist a new icon, upload or choose a non-empty asset and then press Save.
Save updates only the saved currency record
Save updates the selected currency after backend validation. It does not recalculate existing bonus currency JSON by itself. If marketing-ratio changes must be propagated into bonus configuration, use the separate Auto Calculation Bonuses Currencies action from the Currencies list after reviewing the saved value.