#ajit-customer-balance

1 messages ยท Page 1 of 1 (latest)

ivory axleBOT
manic field
#

Hello ๐Ÿ‘‹
Can you elaborate? I am not sure if there's an account_balance field on the customer

void meadow
#

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.

ivory axleBOT
manic field
#

Are you using Stripe Datapipeline or do you use our reporting APIs?

void meadow
#

I am using REST API to pull data from Stripe

stable portal
#

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?

void meadow
stable portal
#

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

void meadow
#

Yeah, In API doc it is not there but There is another tool Twilio Segment which gets this data from Stripe not sure how?

stable portal
#

So I think the Customer.balance property is the one you want to use

stable portal
#

Great ๐ŸŽ‰ I'm glad we could figure it out ๐Ÿ™‚