#Empress Brosephine
1 messages ยท Page 1 of 1 (latest)
As far as I know, yes. Some of those object types can be related to a charge but on the balance transaction the source will always be the object it is directly related to
Are you seeing somewhere where that doesn't seem to be true?
Nah, just wasn't sure if there was something out there that had a example of each one without having to physically try them. No worries. Thanks Pompey ๐
Oh last question, not sure if you're able to help Pompey. In the charge API, when retrieving a charge, (https://stripe.com/docs/api/charges/retrieve) how do you tell if a payment "failed'? Would paid = false essentially mean a stripe payment failure?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hello ๐ jumping in as Pompey needs to step away soon
You'd look at the charge's status parameter to see if it failed or not
https://stripe.com/docs/api/charges/object#charge_object-status
Excellent, thank you
NP! ๐ Happy to help