plaid2.model.initial_update_webhook module

class plaid2.model.initial_update_webhook.InitialUpdateWebhook(*, webhook_type: str, webhook_code: str, error: Optional[str] = None, new_transactions: float, item_id: str)[source]

Bases: BaseModel

dict(**kwargs: Any) Dict[str, Any][source]

Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict

error: Optional[str]

The error code associated with the webhook.

item_id: str

The item_id of the Item associated with this webhook, warning, or error

json(**kwargs: Any) str[source]

Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json

new_transactions: float

The number of new, unfetched transactions available.

classmethod parse_obj(data: Any) InitialUpdateWebhook[source]

Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj

classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) InitialUpdateWebhook[source]

Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw

webhook_code: str

INITIAL_UPDATE

webhook_type: str

TRANSACTIONS