feat(payments): add support for manual retries in payments confirm call (#1170)

This commit is contained in:
Abhishek Marrivagu
2023-05-18 13:46:38 +05:30
committed by GitHub
parent 5e51b6b16d
commit 1f52a66452
5 changed files with 273 additions and 28 deletions

View File

@ -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)]