feat(connector): Add Revoke mandate flow (#3261)

Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com>
Co-authored-by: Arjun Karthik <m.arjunkarthik@gmail.com>
This commit is contained in:
SamraatBansal
2024-01-08 19:11:16 +05:30
committed by GitHub
parent de7a607e66
commit 90ac26a92f
11 changed files with 472 additions and 21 deletions

View File

@ -17,6 +17,12 @@ pub struct MandateRevokedResponse {
/// The status for mandates
#[schema(value_type = MandateStatus)]
pub status: api_enums::MandateStatus,
/// If there was an error while calling the connectors the code is received here
#[schema(example = "E0001")]
pub error_code: Option<String>,
/// If there was an error while calling the connector the error message is received here
#[schema(example = "Failed while verifying the card")]
pub error_message: Option<String>,
}
#[derive(Default, Debug, Deserialize, Serialize, ToSchema, Clone)]