#fatima_api

1 messages ยท Page 1 of 1 (latest)

sterile mantleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1400201877353795827

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

languid rose
#

Hi there

#

Yes, all attached PaymentMethods would show up. The Customer's Cash Balance (the customer_balance payment method type) is not actually represented by a PaymentMethod so that wouldn't be returned.

indigo meteor
#

what is it represented by?

languid rose
#

It is a balance directly associated to the Customer

#

What are you really trying to do here?

indigo meteor
#

ok so we have a bunch of customers, for the most part they have a default payment set (usually credit card). but we have cases where a stripe customer is created and the payment method is "USD Cash Balance". Previously, we also had customers created with an ACH Credit Transfer as their default payment, but thats now deprecated.

in our app, when a customer looks at their page, if they have a linked Stripe customer, we display their billing profile. The billing profile only counts as "activated" or "real" if it has a payment method attached.

The issue i am facing is that customers with USD Cash Balance are showing as they dont have a billing profile, becuase its not listed as a payment type. So its assuming the customer didnt choose a payment method

#

I am looking for a way to still display these customers as having a billing profile. But a customer who in Stripe has nothing selected under Payment Methods, should behave as it does now and not show any billing profile

indigo meteor
languid rose
#

Yeah any new Customer though will have a Cash Balance.

#

So it really depends on how you want to handle it on your end.

indigo meteor
languid rose
#

Ah actually I think available would be null if they have never used the Cash Balance.

#

So that could serve the same purpose

indigo meteor
#

yea that would work

#

thank you

languid rose
#

๐Ÿ‘

indigo meteor
#

when using the retrieve customer api, could I expand it to include cash balances? or would that have to be a seperate request

indigo meteor
#

oh nice, thank you so much