mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(router): add mandates incoming webhooks flow (#2464)
This commit is contained in:
committed by
GitHub
parent
3f0d927cb8
commit
1cf8b6cf53
@ -19,7 +19,7 @@ pub struct MandateRevokedResponse {
|
||||
pub status: api_enums::MandateStatus,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, Deserialize, Serialize, ToSchema)]
|
||||
#[derive(Default, Debug, Deserialize, Serialize, ToSchema, Clone)]
|
||||
pub struct MandateResponse {
|
||||
/// The identifier for mandate
|
||||
pub mandate_id: String,
|
||||
@ -37,7 +37,7 @@ pub struct MandateResponse {
|
||||
pub customer_acceptance: Option<payments::CustomerAcceptance>,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, Deserialize, Serialize, ToSchema)]
|
||||
#[derive(Default, Debug, Deserialize, Serialize, ToSchema, Clone)]
|
||||
pub struct MandateCardDetails {
|
||||
/// The last 4 digits of card
|
||||
pub last4_digits: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user