#Tailor

1 messages ยท Page 1 of 1 (latest)

tribal rootBOT
inner star
#

Hi there

#

Yes anytime a non-$0 invoice is paid there would be a charge.succeeded event.

mint kelp
#

awesome, that's all I needed. Thank you very much ๐Ÿ™‚

inner star
#

Sure thing!

mint kelp
#

maybe one more thing, if I handle the webhook endpoint with NodeJS, the request.body.data.object contains the information if the charge succeeded or not right? whats the name of the field in the object that indicates if the charge succeeded?
or where can I find such information in the docs?

inner star
#

Yep so each Event will correspond to an object. So charge.succeeded will contain a Charge object. You can look at the properties for a Charge object in the API Ref to see what will be available: https://stripe.com/docs/api/charges/object

mint kelp
#

ah.. I see ๐Ÿ˜… thanks once again