#pdeki
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0] where you're getting that error? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Of course. It is : req_osRWTp5yxzlMwe
to explain a bit more - your account balance is divided into two types : card, and bank_account
you passed in source_type=bank_account which means that transfer is trying to pull money from the bank_account balance type
for most users, you wouldn't have any funds in that specific balance. I won't go into which kinds of payments go into that balance type
but what you would want to do is to omit that source_type
Tnx for the update.
and pass in the source_transaction id instead
which would be a charge id i.e. starting with ch_
Here we are speaking about the destination account in the transferAPI.
you're transferring money from your platform account, to the destination account. Your platform account does not have the funds.
Could you point me to where the platform account is explained? I'm confused since always I find explanations of Connected and External accounts.
As far as I understand Stripe is a PSP.
a platform account is the parent account which connected accounts are connected to
This means that Stripe has one account and all transactions are on the one Stripe merchant account. When we make a Charge API we get the ChargeID and then via transfer, we claim on which account we want to lend this money. Is this correct simplification of a flow?
external accounts : https://stripe.com/docs/api/external_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Tnx. this is the documentation for the connected and external accounts. This is ok. Still, I have an issue understanding where is the platform account and how it is connected to the flow.
When we do Payout we are sending money to the external account - this is understandable.
I'm looking more into the "income" flow. The customer made a transaction via credit card and steps afterward. Could you help me with that?
yes, this is correct
i think what you'd want is to take a look at the flows listed here : https://stripe.com/docs/connect#route-payments-and-pay-out
I'm looking into: https://stripe.com/docs/connect/collect-then-transfer-guide
Let me know if you have any specific Qs
Yes. Is this considered as one transaction which is done under the hood of transfer API:
And since the platform account doesn't have money (balance=0) Application fee and Stripe fee can't be collected ?
No, that screenshot illustrates the flow of funds of a destination charge: https://stripe.com/docs/connect/destination-charges
In my setup, I'm controlling the transfer. So, the charge is disconnected from the transfer money and my scenario doesn't fall under the "*Destination charges are created on the platform, but as part of the charge operation, funds are transferred to the connected account specified in the transfer_data[destination] parameter of the charge. ". I still struggle to understand what is happening behind the scenes when I perform transfers and why balance on the platform account is important.
Then that guide and screenshot is irrelevant
I still struggle to understand what is happening behind the scenes when I perform transfers and why balance on the platform account is important.
What specifically?
That's the flow of funds for separate charges and transfers, which you're describing