Taichi
Taichi

Reputation: 2587

How to send dummy webhook in Stripe?

I'm developing app using Stripe, and wanna test using Stripe webhook. Is there any way to generate dummy JSON data and send it using webhook?

Because I wanna test webhook of event customer.subscription.updated, I must mock it somehow.

Upvotes: 0

Views: 2011

Answers (1)

karllekko
karllekko

Reputation: 7198

There are two options here:

From the dashboard you can select your webhook endpoint and use the 'Send test webhook' button to send dummy data to the endpoint. You can select which event type to use.

webhook dashboard settings view

The other option is to use the API in test mode and create and update a subscription. This will generate events that will then be delivered to your endpoint.

Upvotes: 3

Related Questions