Wallet Model
The Wallet Model is a model that displays the wallet balance and currency of a specific account. Its fields are presented in the table (Table 4.5), with an example below (Listing 4.4).
Table 4.5 – Fields of Wallet Model
№
Key
Type
Exists
Description
1
remaining_balance
float
required
Remaining founds, 2 decimals
2
currency_code
string
required
Balance currency. “EUR”, “USD”, etc.
Listing 4.4 – Example of Wallet Model (JSON)
Last updated