#stripeisawesome_api

1 messages ¡ Page 1 of 1 (latest)

raw spindleBOT
misty meteorBOT
#

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.

raw spindleBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1259978128043016193

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

toxic cove
#

Hi there!

wild hearth
#

Hello!

toxic cove
wild hearth
#

thanks! I will verify this is what I'm looking for!

#

so in the case of a wire transfer, I am seeing a type in the payment_method of 'customer_balance'. However, my understanding is that a customer_balance transaction will get categorized in the 'card' category for payouts. Is that correct?

#

so my question is whether I have to have the logic on our side that looks at the payment method type and then maps them to the payout source balance type.

#

The object types listed in the link you sent is a much larger list. We also do manual payouts so we are determining the payout source type on our end before creating the payout in stripe.

toxic cove
#

customer_balance transaction will get categorized in the 'card' category for payouts. Is that correct?
That is not correct

#

so my question is whether I have to have the logic on our side that looks at the payment method type and then maps them to the payout source balance type.
I don't quite follow this. A customer can pay using Klarna for example but the payout (the funds you receive for that payment) will be paid to you either via a bank account or a card, depending on how you want to be paid out

#

Let me know if that makes sense

wild hearth
#

ok, I need to revamp my understanding here and if I have more questions I will ask them.

toxic cove
#

Sounds good!

wild hearth
#

ok, the balance object tells me how much is available for each source_type. This is before a payout even happens. The available source types are 'bank_account', 'card', and 'fpx'.

We manually create one payout per available source type. With payment intents, how does one use the api to determine that a 'customer_balance' payment method should map to a 'card' balance in stripe?

toxic cove
#

Okay, let's take a step back for a second

#

If you currently use PaymentIntents and PaymentMethods only and a customer pays with the us_bank_account payment method type, these funds will all get routed to your card balance

wild hearth
#

ok

#

currently we are using the sources api, in production.

#

is it the same in that case?

toxic cove
#

No

#

So if you're using Sources, you'll see that funds that come from ACH debit payments will be funneled to your bank_account sub balance, while funds that use all other payment method types will go to your card sub balance

wild hearth
#

when using payment intents, will everything funnel to 'card' for payouts? Including funds that came through the bank transfer api and are identified as customer balance payment methods?

toxic cove
#

Yes

wild hearth
#

oh, this is super helpful!

#

so once we are cut over fully to payment intents, we will only ever have a 'card' sub balance?

toxic cove
#

Only the card sub balance will have a non-zero amount, yes

wild hearth
#

alright, so it makes total sense now that I can't find that information anymore via the api because it would always be card. Thanks for your help and extra work to make sure I understand.

toxic cove
#

No worries, happy to help!