Created
August 25, 2020 23:58
-
-
Save navmed/4f6f82e4cea46042a16e243d414ffd77 to your computer and use it in GitHub Desktop.
Typescript enumeration for stripe events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export enum StripeEvents | |
{ | |
account__updated = 'account.updated', | |
account__application__authorized = 'account.application.authorized', | |
account__application__deauthorized = 'account.application.deauthorized', | |
account__external_account__created = 'account.external_account.created', | |
account__external_account__deleted = 'account.external_account.deleted', | |
account__external_account__updated = 'account.external_account.updated', | |
application_fee__created = 'application_fee.created', | |
application_fee__refunded = 'application_fee.refunded', | |
application_fee__refund__updated = 'application_fee.refund.updated', | |
balance__available = 'balance.available', | |
capability__updated = 'capability.updated', | |
charge__captured = 'charge.captured', | |
charge__expired = 'charge.expired', | |
charge__failed = 'charge.failed', | |
charge__pending = 'charge.pending', | |
charge__refunded = 'charge.refunded', | |
charge__succeeded = 'charge.succeeded', | |
charge__updated = 'charge.updated', | |
charge__dispute__closed = 'charge.dispute.closed', | |
charge__dispute__created = 'charge.dispute.created', | |
charge__dispute__funds_reinstated = 'charge.dispute.funds_reinstated', | |
charge__dispute__funds_withdrawn = 'charge.dispute.funds_withdrawn', | |
charge__dispute__updated = 'charge.dispute.updated', | |
charge__refund__updated = 'charge.refund.updated', | |
checkout__session__async_payment_failed = 'checkout.session.async_payment_failed', | |
checkout__session__async_payment_succeeded = 'checkout.session.async_payment_succeeded', | |
checkout__session__completed = 'checkout.session.completed', | |
coupon__created = 'coupon.created', | |
coupon__deleted = 'coupon.deleted', | |
coupon__updated = 'coupon.updated', | |
credit_note__created = 'credit_note.created', | |
credit_note__updated = 'credit_note.updated', | |
credit_note__voided = 'credit_note.voided', | |
customer__created = 'customer.created', | |
customer__deleted = 'customer.deleted', | |
customer__updated = 'customer.updated', | |
customer__discount__created = 'customer.discount.created', | |
customer__discount__deleted = 'customer.discount.deleted', | |
customer__discount__updated = 'customer.discount.updated', | |
customer__source__created = 'customer.source.created', | |
customer__source__deleted = 'customer.source.deleted', | |
customer__source__expiring = 'customer.source.expiring', | |
customer__source__updated = 'customer.source.updated', | |
customer__subscription__created = 'customer.subscription.created', | |
customer__subscription__deleted = 'customer.subscription.deleted', | |
customer__subscription__pending_update_applied = 'customer.subscription.pending_update_applied', | |
customer__subscription__pending_update_expired = 'customer.subscription.pending_update_expired', | |
customer__subscription__trial_will_end = 'customer.subscription.trial_will_end', | |
customer__subscription__updated = 'customer.subscription.updated', | |
customer__tax_id__created = 'customer.tax_id.created', | |
customer__tax_id__deleted = 'customer.tax_id.deleted', | |
customer__tax_id__updated = 'customer.tax_id.updated', | |
file__created = 'file.created', | |
invoice__created = 'invoice.created', | |
invoice__deleted = 'invoice.deleted', | |
invoice__finalized = 'invoice.finalized', | |
invoice__marked_uncollectible = 'invoice.marked_uncollectible', | |
invoice__paid = 'invoice.paid', | |
invoice__payment_action_required = 'invoice.payment_action_required', | |
invoice__payment_failed = 'invoice.payment_failed', | |
invoice__payment_succeeded = 'invoice.payment_succeeded', | |
invoice__sent = 'invoice.sent', | |
invoice__upcoming = 'invoice.upcoming', | |
invoice__updated = 'invoice.updated', | |
invoice__voided = 'invoice.voided', | |
invoiceitem__created = 'invoiceitem.created', | |
invoiceitem__deleted = 'invoiceitem.deleted', | |
invoiceitem__updated = 'invoiceitem.updated', | |
issuing_authorization__created = 'issuing_authorization.created', | |
issuing_authorization__request = 'issuing_authorization.request', | |
issuing_authorization__updated = 'issuing_authorization.updated', | |
issuing_card__created = 'issuing_card.created', | |
issuing_card__updated = 'issuing_card.updated', | |
issuing_cardholder__created = 'issuing_cardholder.created', | |
issuing_cardholder__updated = 'issuing_cardholder.updated', | |
issuing_dispute__created = 'issuing_dispute.created', | |
issuing_dispute__funds_reinstated = 'issuing_dispute.funds_reinstated', | |
issuing_dispute__updated = 'issuing_dispute.updated', | |
issuing_transaction__created = 'issuing_transaction.created', | |
issuing_transaction__updated = 'issuing_transaction.updated', | |
mandate__updated = 'mandate.updated', | |
order__created = 'order.created', | |
order__payment_failed = 'order.payment_failed', | |
order__payment_succeeded = 'order.payment_succeeded', | |
order__updated = 'order.updated', | |
order_return__created = 'order_return.created', | |
payment_intent__amount_capturable_updated = 'payment_intent.amount_capturable_updated', | |
payment_intent__canceled = 'payment_intent.canceled', | |
payment_intent__created = 'payment_intent.created', | |
payment_intent__payment_failed = 'payment_intent.payment_failed', | |
payment_intent__processing = 'payment_intent.processing', | |
payment_intent__requires_action = 'payment_intent.requires_action', | |
payment_intent__succeeded = 'payment_intent.succeeded', | |
payment_method__attached = 'payment_method.attached', | |
payment_method__card_automatically_updated = 'payment_method.card_automatically_updated', | |
payment_method__detached = 'payment_method.detached', | |
payment_method__updated = 'payment_method.updated', | |
payout__canceled = 'payout.canceled', | |
payout__created = 'payout.created', | |
payout__failed = 'payout.failed', | |
payout__paid = 'payout.paid', | |
payout__updated = 'payout.updated', | |
person__created = 'person.created', | |
person__deleted = 'person.deleted', | |
person__updated = 'person.updated', | |
plan__created = 'plan.created', | |
plan__deleted = 'plan.deleted', | |
plan__updated = 'plan.updated', | |
price__created = 'price.created', | |
price__deleted = 'price.deleted', | |
price__updated = 'price.updated', | |
product__created = 'product.created', | |
product__deleted = 'product.deleted', | |
product__updated = 'product.updated', | |
radar__early_fraud_warning__created = 'radar.early_fraud_warning.created', | |
radar__early_fraud_warning__updated = 'radar.early_fraud_warning.updated', | |
recipient__created = 'recipient.created', | |
recipient__deleted = 'recipient.deleted', | |
recipient__updated = 'recipient.updated', | |
reporting__report_run__failed = 'reporting.report_run.failed', | |
reporting__report_run__succeeded = 'reporting.report_run.succeeded', | |
reporting__report_type__updated = 'reporting.report_type.updated', | |
review__closed = 'review.closed', | |
review__opened = 'review.opened', | |
setup_intent__canceled = 'setup_intent.canceled', | |
setup_intent__created = 'setup_intent.created', | |
setup_intent__setup_failed = 'setup_intent.setup_failed', | |
setup_intent__succeeded = 'setup_intent.succeeded', | |
sigma__scheduled_query_run__created = 'sigma.scheduled_query_run.created', | |
sku__created = 'sku.created', | |
sku__deleted = 'sku.deleted', | |
sku__updated = 'sku.updated', | |
source__canceled = 'source.canceled', | |
source__chargeable = 'source.chargeable', | |
source__failed = 'source.failed', | |
source__mandate_notification = 'source.mandate_notification', | |
source__refund_attributes_required = 'source.refund_attributes_required', | |
source__transaction__created = 'source.transaction.created', | |
source__transaction__updated = 'source.transaction.updated', | |
subscription_schedule__aborted = 'subscription_schedule.aborted', | |
subscription_schedule__canceled = 'subscription_schedule.canceled', | |
subscription_schedule__completed = 'subscription_schedule.completed', | |
subscription_schedule__created = 'subscription_schedule.created', | |
subscription_schedule__expiring = 'subscription_schedule.expiring', | |
subscription_schedule__released = 'subscription_schedule.released', | |
subscription_schedule__updated = 'subscription_schedule.updated', | |
tax_rate__created = 'tax_rate.created', | |
tax_rate__updated = 'tax_rate.updated', | |
topup__canceled = 'topup.canceled', | |
topup__created = 'topup.created', | |
topup__failed = 'topup.failed', | |
topup__reversed = 'topup.reversed', | |
topup__succeeded = 'topup.succeeded', | |
transfer__created = 'transfer.created', | |
transfer__failed = 'transfer.failed', | |
transfer__paid = 'transfer.paid', | |
transfer__reversed = 'transfer.reversed', | |
transfer__updated = 'transfer.updated', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment