mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(payments): add support for manual retries in payments confirm call (#1170)
This commit is contained in:
committed by
GitHub
parent
5e51b6b16d
commit
1f52a66452
@ -219,6 +219,10 @@ pub struct PaymentsRequest {
|
||||
|
||||
/// Business sub label for the payment
|
||||
pub business_sub_label: Option<String>,
|
||||
|
||||
/// If enabled payment can be retried from the client side until the payment is successful or payment expires or the attempts(configured by the merchant) for payment are exhausted.
|
||||
#[serde(default)]
|
||||
pub manual_retry: bool,
|
||||
}
|
||||
|
||||
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, Clone, Copy, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user