plaid2.model.payment_initiation_consent module
- class plaid2.model.payment_initiation_consent.PaymentInitiationConsent(*, created_at: str, recipient_id: str, consent_id: str, status: str, reference: str, constraints: PaymentInitiationConsentConstraints, scopes: List[str])[source]
Bases:
BaseModel
- consent_id: str
The consent ID.
- constraints: PaymentInitiationConsentConstraints
Limitations that will be applied to payments initiated using the payment consent.
- created_at: str
//wikipedia.org/wiki/ISO_8601) format.
- Type
Consent creation timestamp, in [ISO 8601](https
- 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) PaymentInitiationConsent [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) PaymentInitiationConsent [source]
Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw
- recipient_id: str
The ID of the recipient the payment consent is for.
- reference: str
A reference for the payment consent.
- scopes: List[str]
An array of payment consent scopes.
- status: str
The status of the payment consent.
UNAUTHORISED: Consent created, but requires user authorisation.
REJECTED: Consent authorisation was rejected by the user and/or the bank.
AUTHORISED: Consent is active and ready to be used.
REVOKED: Consent has been revoked and can no longer be used.
EXPIRED: Consent is no longer valid.