feat(connector): [payload] add webhook support (#8558)

This commit is contained in:
Pa1NarK
2025-07-11 17:55:18 +05:30
committed by GitHub
parent 8a7590cf60
commit 2fe3132da8
8 changed files with 262 additions and 110 deletions

View File

@ -10,9 +10,9 @@ use crate::{disputes, enums as api_enums, mandates, payments, refunds};
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Copy)]
#[serde(rename_all = "snake_case")]
pub enum IncomingWebhookEvent {
/// Authorization + Capture success
PaymentIntentFailure,
/// Authorization + Capture failure
PaymentIntentFailure,
/// Authorization + Capture success
PaymentIntentSuccess,
PaymentIntentProcessing,
PaymentIntentPartiallyFunded,