Page body
What this form does
This page creates one new currency record. It is the create-only entry point mounted at /currencies/create.
Visible fields
Currency NameCurrency CodeCurrency SymbolExchange RateMRKTG Ratio to EURLoyalty PointCurrency Type
Important behavior
Currency Code is uppercased in the form
The FE forces uppercase while the operator types. The backend also uppercases the saved code, so the create flow is normalized on both sides.
Currency Type is suggested from the loaded currency lookup
The create page loads the full currencies list and reads isCurrenciesCrypto from GET /api/admin/get-currencies. When the entered code matches a known lookup key, the FE switches the type to Crypto or Fiat automatically.
The selector is still visible, so operators can review or override the value before save. Any later code change can re-apply the lookup result.
MRKTG Ratio to EUR has an operator-facing meaning
The helper caption in the form says this value affects bonus and bet-limit amounts. It is not just a duplicate of exchange rate.
There is no icon workflow on create
Icon upload and asset selection exist only on the saved-record detail screen. The create page is limited to the core identity, rate, and type fields.
Save flow
Create posts to POST /api/admin/create-currency. Before submit, the FE stringifies exchangeRate, marketingRatio, and loyaltyPoint. On success, the form resets, shows a success toast, and returns to the previous page.
Verification status
- status:
verified_backend - FE create flow verified in
CreateCurrencyForm - backend create route verified in
AdminController.createCurrency->CreateCurrencyService