Skip to content

Commit

Permalink
added setup intent webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
smailbarkouch committed Feb 17, 2022
1 parent ccf4c7e commit c9b82b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/resources/webhook_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ pub enum EventType {
SkuDeleted,
#[serde(rename = "sku.updated")]
SkuUpdated,
#[serde(rename = "setup_intent.created")]
SetupIntentCreated,
#[serde(rename = "setup_intent.requires_action")]
SetupIntentRequiresAction,
#[serde(rename = "setup_intent.setup_failed")]
SetupIntentSetupFailed,
#[serde(rename = "setup_intent.succeeded")]
SetupIntentSucceeded,
#[serde(rename = "source.canceled")]
SourceCanceled,
#[serde(rename = "source.chargeable")]
Expand Down Expand Up @@ -236,6 +244,7 @@ pub enum EventObject {
Review(Review),
Sku(Sku),
Subscription(Subscription),
SetupIntent(SetupIntent),
Transfer(Transfer),
}

Expand Down

0 comments on commit c9b82b8

Please sign in to comment.