plaid2.model.transfer_failure module

class plaid2.model.transfer_failure.TransferFailure(*, ach_return_code: Optional[str] = None, description: Optional[str] = None)[source]

Bases: BaseModel

ach_return_code: Optional[str]

//plaid.com/docs/errors/transfer/#ach-return-codes).

Type

The ACH return code, e.g. R01. A return code will be provided if and only if the transfer status is returned. For a full listing of ACH return codes, see [Transfer errors](https

description: Optional[str]

A human-readable description of the reason for the failure or reversal.

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

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

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