Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 825 Bytes

5_webhooks.md

File metadata and controls

43 lines (29 loc) · 825 Bytes

Stripe Webhooks

Development

You can use the Stripe CLI to test and forward webhooks in development.

stripe listen --forward-to localhost:3000/pay/webhooks/stripe

Events

Pay requires the following webhooks to properly sync charges and subscriptions as they happen.

charge.succeeded
charge.refunded

payment_intent.succeeded

invoice.upcoming
invoice.payment_action_required

customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
customer.updated
customer.deleted

payment_method.attached
payment_method.updated
payment_method.automatically_updated
payment_method.detached

account.updated

checkout.session.completed
checkout.session.async_payment_succeeded

Next

See Metered Billing