plaid2.model.deposit_switch_create_request module
- class plaid2.model.deposit_switch_create_request.DepositSwitchCreateRequest(*, target_account_id: str, options: Optional[DepositSwitchCreateRequestOptions] = None, country_code: Optional[str] = None, target_access_token: str)[source]
Bases:
BaseModel
- country_code: Optional[str]
ISO-3166-1 alpha-2 country code standard.
- dict(**kwargs: Any) Dict[str, Any] [source]
Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict
- json(**kwargs: Any) str [source]
Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json
- options: Optional[DepositSwitchCreateRequestOptions]
Options to configure the /deposit_switch/create request. If provided, cannot be null.
- classmethod parse_obj(data: Any) DepositSwitchCreateRequest [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) DepositSwitchCreateRequest [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw
- target_access_token: str
Access token for the target Item, typically provided in the Import Item response.
- target_account_id: str
Plaid Account ID that specifies the target bank account. This account will become the recipient for a user’s direct deposit.