mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(mandates): allow off-session payments using payment_method_id (#4132)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -113,3 +113,10 @@ pub struct MandateListConstraints {
|
||||
#[serde(rename = "created_time.gte")]
|
||||
pub created_time_gte: Option<PrimitiveDateTime>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
#[serde(tag = "type", content = "data", rename_all = "snake_case")]
|
||||
pub enum RecurringDetails {
|
||||
MandateId(String),
|
||||
PaymentMethodId(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user