fix(webhooks): do not send duplicate webhooks (#1850)

This commit is contained in:
Narayan Bhat
2023-08-03 13:24:00 +05:30
committed by GitHub
parent 0f0919963f
commit 0d996b8960
4 changed files with 24 additions and 8 deletions

View File

@ -2503,7 +2503,7 @@ pub struct PaymentsCancelRequest {
pub merchant_connector_details: Option<admin::MerchantConnectorDetailsWrap>,
}
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, ToSchema, Clone)]
pub struct PaymentsStartRequest {
/// Unique identifier for the payment. This ensures idempotency for multiple payments
/// that have been done by a single merchant. This field is auto generated and is returned in the API response.