# Functions
New event handler with secret.
# Constants
Occurs whenever a user deauthorizes an application.
Occurs whenever an external account is created.
Occurs whenever an external account is deleted.
Occurs whenever an external account is updated.
Occurs whenever an account status or property has changed.
Occurs whenever an application fee is created on a charge.
Occurs whenever an application fee is refunded, whether from refunding a charge or from refunding the application fee directly, including partial refunds.
Occurs whenever an application fee refund is updated.
Occurs whenever your Stripe balance has been updated (e.g.
Occurs whenever a receiver has been created.
Occurs whenever a receiver is filled (that is, when it has received enough bitcoin to process a payment of the same amount).
Occurs whenever bitcoin is pushed to a receiver.
Occurs whenever a receiver is updated.
Occurs whenever a previously uncaptured charge is captured.
Occurs when the dispute is closed and the dispute status changes to charge_refunded, lost, warning_closed, or won.
Occurs whenever a customer disputes a charge with their bank (chargeback).
Occurs when funds are reinstated to your account after a dispute is won.
Occurs when funds are removed from your account due to a dispute.
Occurs when the dispute is updated (usually with evidence).
Occurs whenever a failed charge attempt occurs.
Occurs whenever a charge is refunded, including partial refunds.
Occurs whenever a new charge is created and is successful.
Occurs whenever a charge description or metadata is updated.
Occurs whenever a coupon is created.
Occurs whenever a coupon is deleted.
Occurs whenever a coupon is updated.
Occurs whenever a new customer is created.
Occurs whenever a customer is deleted.
Occurs whenever a coupon is attached to a customer.
Occurs whenever a customer's discount is removed.
Occurs whenever a customer is switched from one coupon to another.
Occurs whenever a new source is created for the customer.
Occurs whenever a source is removed from a customer.
Occurs whenever a source's details are changed.
Occurs whenever a customer with no subscription is signed up for a plan.
Occurs whenever a customer ends their subscription.
Occurs three days before the trial period of a subscription is scheduled to end.
Occurs whenever a subscription changes.
Occurs whenever any property of a customer changes.
Occurs whenever a new invoice is created.
Occurs whenever an invoice item is created.
Occurs whenever an invoice item is deleted.
Occurs whenever an invoice item is updated.
Occurs whenever an invoice attempts to be paid, and the payment fails.
Occurs whenever an invoice attempts to be paid, and the payment succeeds.
Occurs whenever an invoice changes (for example, the amount could change).
Occurs whenever an order is created.
Occurs whenever payment is attempted on an order, and the payment fails.
Occurs whenever payment is attempted on an order, and the payment succeeds.
Occurs whenever an order return created.
Occurs whenever an order is updated.
May be sent by Stripe at any time to see if a provided webhook URL is working.
Occurs whenever a plan is created.
Occurs whenever a plan is deleted.
Occurs whenever a plan is updated.
Occurs whenever a product is created.
Occurs whenever a product is deleted.
Occurs whenever a product is updated.
Occurs whenever a recipient is created.
Occurs whenever a recipient is deleted.
Occurs whenever a recipient is updated.
Occurs whenever a SKU is created.
Occurs whenever a SKU is deleted.
Occurs whenever a SKU is updated.
Occurs whenever a new transfer is created.
Occurs whenever Stripe attempts to send a transfer and that transfer fails.
Occurs whenever a sent transfer is expected to be available in the destination bank account.
Occurs whenever a transfer is reversed, including partial reversals.
Occurs whenever the description or metadata of a transfer is updated.