#arrowcircle
1 messages · Page 1 of 1 (latest)
Hello
Webhooks will contain their relevant object
So you can look at https://stripe.com/docs/api/events/types and see what the corresponding object for each Event type will be
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, but where I can find example jsons?
Then look at that object's properties
so I can use them in tests
For the actual JSON you would trigger the Event yourself
so no examples?
Either through hitting the API or you can use the CLI and use trigger: https://stripe.com/docs/cli/trigger
You can also see an example JSON response for each object in the API reference as well
For instance Paymentintent: https://stripe.com/docs/api/payment_intents/object
On the right side is the JSON response for a basic PaymentIntent creation
these example api references are present only for single webhook event 😦
I don't know what you mean by that