module StripeMock::Webhooks

Public Class Methods

event_list() click to toggle source
# File lib/stripe_mock/api/webhooks.rb, line 38
def self.event_list
  @__list = [
    'account.updated',
    'account.application.deauthorized',
    'account.external_account.created',
    'account.external_account.updated',
    'account.external_account.deleted',
    'balance.available',
    'charge.succeeded',
    'charge.updated',
    'charge.failed',
    'charge.refunded',
    'charge.dispute.created',
    'charge.dispute.updated',
    'charge.dispute.closed',
    'charge.dispute.funds_reinstated',
    'charge.dispute.funds_withdrawn',
    'customer.source.created',
    'customer.source.deleted',
    'customer.source.updated',
    'customer.created',
    'customer.updated',
    'customer.deleted',
    'customer.subscription.created',
    'customer.subscription.updated',
    'customer.subscription.deleted',
    'customer.subscription.trial_will_end',
    'customer.discount.created',
    'customer.discount.updated',
    'customer.discount.deleted',
    'invoice.created',
    'invoice.updated',
    'invoice.payment_succeeded',
    'invoice.payment_failed',
    'invoiceitem.created',
    'invoiceitem.updated',
    'invoiceitem.deleted',
    'plan.created',
    'plan.updated',
    'plan.deleted',
    'product.created',
    'product.updated',
    'product.deleted',
    'coupon.created',
    'coupon.deleted',
    'transfer.created',
    'transfer.paid',
    'transfer.updated',
    'transfer.failed'
  ]
end