feat(payments): add api locking for payments core (#1898)

This commit is contained in:
Abhishek Marrivagu
2023-09-25 15:55:39 +05:30
committed by GitHub
parent a48f9865bc
commit 5d66156132
44 changed files with 802 additions and 158 deletions

View File

@ -1512,7 +1512,8 @@ pub struct PhoneDetails {
#[derive(Debug, Clone, Default, Eq, PartialEq, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct PaymentsCaptureRequest {
/// The unique identifier for the payment
pub payment_id: Option<String>,
#[serde(skip_deserializing)]
pub payment_id: String,
/// The unique identifier for the merchant
pub merchant_id: Option<String>,
/// The Amount to be captured/ debited from the user's payment method.