schemas
Monzo API 'balance' related schemas.
MonzoBalance
Bases: BaseModel
API schema for a 'balance' object.
Note
Monzo API docs: https://docs.monzo.com/#balance
Attributes:
| Name | Type | Description |
|---|---|---|
balance |
int
|
The currently available balance of the account, as a 64bit integer in minor units of the currency, eg. pennies for GBP, or cents for EUR and USD. |
total_balance |
int
|
The sum of the currently available balance of the account and the combined total of all the user's pots. |
currency |
str
|
The ISO 4217 currency code. |
spend_today |
int
|
The amount spent from this account today (considered from approx 4am onwards), as a 64bit integer in minor units of the currency. |
balance_including_flexible_savings |
Optional[int]
|
Whether balance includes flexible savings pots. |
local_currency |
Optional[str]
|
Local currency. |
local_exchange_rate |
Optional[float]
|
Local exchange rate. |
local_spend |
Optional[list]
|
Local spend. |
Source code in pymonzo/balance/schemas.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |
__rich__()
Pretty printing support for rich.
Source code in pymonzo/balance/schemas.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |