#salmanaliawann_api

1 messages ¡ Page 1 of 1 (latest)

pearl stirrupBOT
#

👋 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/1224851654151766180

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

hollow radishBOT
swift mesa
#

HI there! Do you have a request ID for your request to retrieve a balance?

#

Alternatively, please share your Stripe account ID

native sluice
#

I don't possess the stripe account and client has not provided additional information than the keys.

swift mesa
#

I see. Please don't share the keys here

native sluice
#

how can I fetch stripe account ID by API?

swift mesa
#

That's not possible, unfortunately.

native sluice
#

Alright, how can we move forward with the issue then?

swift mesa
#

So a platform may have a USD balance of zero if the platform account's settlement currency is not USD.

#

Do you know which country the platform account is based in?

native sluice
#

USA, the client made a purchase as a user already that was later transferred to platform's bank account because automatic payouts were enabled. Later he created a top-up that he can see in his dashboard but we haven't fetched successful balance yet. It is always returned zero.
$stripe->balance->retrieve([])->available

#

Even the pending and connect_reserved balances are zero as well.

swift mesa
native sluice
#

Top-up created before 27/03 should have shown up by now.

swift mesa
#

I can't really help without an ID, either the account ID or a request ID. If the client hasn't shared these with you, I recommend asking them to join this Discord channel and ask for help or asking them to reach out to our Support team about this: https://support.stripe.com/contact/

native sluice
#

Apart from this, is there a way that I can send the request to stripe to transfer the funds to connected account's bank account when the funds are available in the platform's connected account? Instead of returning insufficient funds to user. I read about the transaction_source field or something similar but the issue is that we have multiple transcations that make up to amount of one payout transfers.

swift mesa
#

Just to be clear, in this case the platform is creating one-off Transfers instead of using destination charges?

native sluice
#

Yes
$stripe->transfers->create([
'amount' => $stripeWithdrawalAmount,
'currency' => 'usd',
'destination' => $user["stripe_connect_account_id"]
]);

swift mesa
native sluice
#

but we have multiple payments that make up to one transfer amount
Let's say 10 different tickets were sold for a single event, now we have 10 transactions/payments incoming but we have to make one single payout transaction at the end of the day. How will it work?

swift mesa
#

Terminology will be critical here, I think you're referring to a single transfer and not a single payout

#

Is there a specific reason why your client is using separate charges & transfers instead of destination charges?

native sluice
#

No the reason is not specific. Is there a better approach to this?

#

We just need to overcome the issue of insufficient funds error and automatic transfer to connected user's account upon funds availability

swift mesa
#

Got it. In this case you'll want to create 10 transfers, one per source transaction/charge. This way the funds will be transferred to the connected account before hitting the platform's available balance

native sluice
#

I got your point but in order to make a single transfer, how can we make sure regarding the availability of the sufficient funds?

hollow radishBOT
light hornet
#

Hi @native sluice I'm taking over this thread