schemas
Monzo API 'pots' related schemas.
MonzoPot
Bases: BaseModel
API schema for a 'pot' object.
Note
Monzo API docs: https://docs.monzo.com/#pots
Attributes:
| Name | Type | Description |
|---|---|---|
id |
str
|
The ID of the pot. |
name |
str
|
Pot name. |
style |
str
|
The pot background image. |
balance |
int
|
Pot balance. |
currency |
str
|
Pot currency. |
created |
datetime
|
When this pot was created. |
updated |
datetime
|
When this pot was last updated. |
deleted |
bool
|
Whether this pot is deleted. The API will be updated soon to not return deleted pots. |
goal_amount |
Optional[int]
|
Pot goal account. |
type |
Optional[str]
|
Pot type. |
product_id |
Optional[str]
|
Product ID |
current_account_id |
Optional[str]
|
Current account ID. |
cover_image_url |
Optional[str]
|
Cover image URL. |
isa_wrapper |
Optional[str]
|
ISA wrapper. |
round_up |
Optional[bool]
|
Whether to use transfer money from rounding up transactions to the pot. You can only switch on round ups for one pot at a time. |
round_up_multiplier |
Optional[int]
|
Rounding up multiplier. |
is_tax_pot |
Optional[bool]
|
Whether the pot is taxed. |
locked |
Optional[bool]
|
Whether the pot is locked. |
available_for_bills |
Optional[bool]
|
Whether the pot is available for bills. |
has_virtual_cards |
Optional[bool]
|
Whether the pot has linked virtual cards. |
Source code in pymonzo/pots/schemas.py
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
__rich__()
Pretty printing support for rich.
Source code in pymonzo/pots/schemas.py
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |