Hi both,
To clarify, the stripe.customer.charge
function returns a dictionary similar to the Stripe Charge
Object.
The reason this dict differs slightly from the documentation here is that we use the stripe-java
client library behind the scenes. This means that the Charge
object only contains the attributes implemented explicitly in this library. This is the version we use right now, hence why receipt_url
is not available (it was added more recently).
As Ian mentioned in response to your previous post, @p.colbert, we’ll be upgrading this very soon as part of a wider Stripe update.
I agree it would be useful to have access to the full list of attributes of the Charge
object - moving this to feature requests.