plaid2.model.institutions_get_by_id_request module

class plaid2.model.institutions_get_by_id_request.InstitutionsGetByIdRequest(*, country_codes: List[str], options: Optional[InstitutionsGetByIdRequestOptions] = None, institution_id: str)[source]

Bases: BaseModel

country_codes: List[str]

Specify an array of Plaid-supported country codes this institution supports, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the country_codes parameter is an optional parameter within the options object and will default to [US] if it is not supplied.

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

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

institution_id: str

The ID of the institution to get details about

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

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

options: Optional[InstitutionsGetByIdRequestOptions]

Specifies optional parameters for /institutions/get_by_id. If provided, must not be null.

classmethod parse_obj(data: Any) InstitutionsGetByIdRequest[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) InstitutionsGetByIdRequest[source]

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