plaid2.model.payment_initiation_payment_reverse_response module

class plaid2.model.payment_initiation_payment_reverse_response.PaymentInitiationPaymentReverseResponse(*, request_id: str, refund_id: str, status: 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

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) PaymentInitiationPaymentReverseResponse[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) PaymentInitiationPaymentReverseResponse[source]

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

refund_id: str

A unique ID identifying the refund

request_id: str

A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.

status: str

The status of the refund.

PROCESSING: The refund is currently being processed. The refund will automatically exit this state when processing is complete.

INITIATED: The refund has been successfully initiated.

EXECUTED: Indicates that the refund has been successfully executed.

FAILED: The refund has failed to be executed. This error is retryable once the root cause is resolved.