Reputation: 2587
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
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.
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