#ajit-customer-balance
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you elaborate? I am not sure if there's an account_balance field on the customer
There is a pipeline set up where we pull data from Stripe using Twillio Segment tool and there we have a field called Account_balance. I am trying to replicate the same pipeline using Stripe API but while fetching data from API I am not getting account_balance field in the Customer object.
Are you using Stripe Datapipeline or do you use our reporting APIs?
I am using REST API to pull data from Stripe
Hi ๐
I'm stepping in as @manic field needs to go soon
Can you share with me the doc you are using for reference here?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I don't see any property called account_balance in the Customer object. What API version are you using?
Okay, looking at the API change log we do see the current balance property used to be named account_balance
Yeah, In API doc it is not there but There is another tool Twilio Segment which gets this data from Stripe not sure how?
So I think the Customer.balance property is the one you want to use
Ok.. This really helps.
Great ๐ I'm glad we could figure it out ๐