#Durrell-issuing
1 messages · Page 1 of 1 (latest)
@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', } )
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.
You can have a balance in USD and still no bank account in USD so that's the problem here
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
my apologies. Does this work: req_dexgJ1w4b78DRu
kind of but that's completely irrelevant, it's a call to retrieve a Source
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.
I am totally lost right now
sorry
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?
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.
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
ok. I'll read through those docs. Thanks for the help. Sorry for all the confusion.
Totally fine, Issuing + Connect can be really tricky
Let me know if you have any other specific question and I can try to help!
Thank you @hexed pier I am able to create a Payout now for that connected account 🙏