mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user