feat(core): add new payments webhook events (#3212)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: hrithikeshvm <vmhrithikesh@gmail.com>
This commit is contained in:
Hrithikesh
2024-01-10 18:58:22 +05:30
committed by GitHub
parent fe3cf54781
commit e0e28b87c0
11 changed files with 65 additions and 16 deletions

View File

@ -921,10 +921,14 @@ impl Currency {
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
pub enum EventType {
/// Authorize + Capture success
PaymentSucceeded,
/// Authorize + Capture failed
PaymentFailed,
PaymentProcessing,
PaymentCancelled,
PaymentAuthorized,
PaymentCaptured,
ActionRequired,
RefundSucceeded,
RefundFailed,