mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
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:
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user