#Durrell-issuing

1 messages · Page 1 of 1 (latest)

granite island
#

Hello! Give us a few minutes and someone will be able to help

hexed pier
#

@spark ibex you want to split them in 2 separate hashes Stripe::Payout.create( { source_balance: 'issuing', amount: 100, currency: 'usd', }, { stripe_account: 'acct_1LF4NjBfbean4BPI', } )

spark ibex
#

ahh ok, thank you. I thought those were named arguments.

#

When I retrieve the balance for that account I see this:

"issuing": {"available":[{"amount":351700,"currency":"usd"}]}

But when I make the call to create the Payout now I get this error:
Stripe::InvalidRequestError: Sorry, you don't have any external accounts in that currency (usd).

#

The balance seems to indicate it is in "usd" so I'm not sure why the error says otherwise.

hexed pier
#

You can have a balance in USD and still no bank account in USD so that's the problem here

spark ibex
#

There is a Source connected to that account. I used the source to Topup the account. The source says the currency is "usd". You can view my request to retrieve the Source here:
req_m5jbbezWQXYqbhest_id

hexed pier
#

that doesn't work

#

Can you share the exact request id without typos?

spark ibex
#

my apologies. Does this work: req_dexgJ1w4b78DRu

hexed pier
#

kind of but that's completely irrelevant, it's a call to retrieve a Source

spark ibex
#

I thought the source represented the connected bank because of this:

 "ach_debit": {"country":"US","type":"company","routing_number":"110000000","last4":"6789","fingerprint":"WpeCQAXqv0OY2nOF","bank_name":"STRIPE TEST BANK"}

So how do I connect a bank in USD to this connected account so it can send money back into the bank that it used to Topup it's Stripe account? I thought the bank was connected because that's where the money came from to get into the Stripe account.

hexed pier
#

I am totally lost right now

spark ibex
#

sorry

hexed pier
#

a Topup is used to debit someone's bank account to fund their Stripe account balance

#

A Payout is used to send money from your Stripe account balance to your own bank account

#

which one are you trying to do?

spark ibex
#

I already got the Topup working so they can fund their Stripe account from their bank account. Now I'm trying to let them put the money back into their bank account.

hexed pier
#

Then this is done via a Payout, and you would need to add a bank account to their Stripe account. Completely unrelated and separate from the Topup and the Source

spark ibex
#

ok. I'll read through those docs. Thanks for the help. Sorry for all the confusion.

hexed pier
#

Totally fine, Issuing + Connect can be really tricky

#

Let me know if you have any other specific question and I can try to help!

spark ibex
#

Thank you @hexed pier I am able to create a Payout now for that connected account 🙏