Currency
UnionCurrency code used by balance, deposit, withdrawal and betting payloads. The union lists the codes the platform ships with, but it also accepts any string so partner-specific currencies keep type-checking.
Possible values
Every literal this type accepts.
| Value | Description |
|---|---|
'USD' | United States dollar. |
'HNL' | Honduran lempira. |
'FTN' | Fasttoken. |
'TUS' | TetherUS. |
'BTC' | Bitcoin. |
'LTC' | Litecoin. |
'ETH' | Ethereum. |
string | Any other currency code configured for your partner. |
Notes
The string member widens the typeBecause the union ends in string, TypeScript will not narrow it and you get no autocomplete on the listed codes. Compare against a constant rather than relying on the compiler to catch typos. In the future SDK will narrow the type to the listed codes.
Was this page helpful?