#zeekhuge
1 messages ยท Page 1 of 1 (latest)
Now when, we were successful in making some payments - from the buyers end, and now the funds show up in the seller's connected-account. But,
- When we tried to create a payout - It says that the account balance is insufficient.
- Then we tried to retrieve the balance info using :
-u sk_test_51MC3zlIlsm.....QlGl4aw: \
-H "Stripe-Account: CONNECTED_STRIPE_ACCOUNT_ID"```
and we got the following response :
``` {
"object": "balance",
"available": [
{
"amount": 0,
"currency": "usd",
"source_types": {
"card": 0
}
}
],
"instant_available": [
{
"amount": 0,
"currency": "usd",
"source_types": {
"card": 0
}
}
],
"livemode": false,
"pending": [
{
"amount": 4198,
"currency": "usd",
"source_types": {
"card": 4198
}
}
]
}
So, I am not sure what's happening here. Why is the payout not working ?
Hello ๐
Give me a moment to catch up here ๐
If you take a look at the hash, the balance is still pending. The funds would take some time to settle and once that's done then you will be able to pay it out
I'd recommend reading through the doc
And that "some-time" is not something we (as developers) control. Right ? so, we just have to wait ?
Yup, that's correct
Is it anyhow related to the delay_days parameter ?
As far as I know that only matters if you use automatic payouts. It shouldn't have an effect with manual payouts. However, I haven't tested it myself really
Ooh ! I see -
The charged amount, less any Stripe fees, is initially reflected on the pending balance, and becomes available on a 2-day rolling basis.
Is there anyway for us to fast-forward this for test purposes ? ( we are totally in test-mode as of now )
Unfortunately, no ๐ฆ
Also, in case of connected-accounts can the connected-account holders access their stripe dashboard ? And if so, they cannot create a manual payout for themselves, through it, right ?
๐ข ok
It depends on the type of the connected account, if you're using Direct charges then I assume you're creating Standard accounts. In which case they can access the dashboard.
We are creating "custom accounts" as of now.
Ah okay! we highly recommend using standard accounts for direct charges
Well. We want to support as many countries and as many payment methods as possible, therefore - custom-account. But, once they have the access to the dashboard, will they be able to create manual-payouts without platform's knowledge ?
While you can use express & custom accounts for direct charges, it affects a lot of areas such as handling disputes, covering for negative balance, radar etc...
Well. We want to support as many countries and as many payment methods as possible, therefore - custom-account. But, once they have the access to the dashboard, will they be able to create manual-payouts without platform's knowledge ?
Custom accounts can't access dashboards
Ok. But lets say they are able to access dashboard (if we change to other account type or whatever), my ultimate worry is, they should not be able to withdraw the amount without platform triggering a manual payout. So, can a connected-account holder create a payout without platforms's knowledge ?
I don't think connected account can create a payout for themselves, let me double check
is super curious - how do people at stripe "double check" it - 1. do they try it themselves ? 2. do they go through the documentation or 3. do they ask someone from the development team about it ?
all of the above ๐
would be blown away if he gets to know that even developers are required to provide support N number of days every month.
super cool.
would do anything to know if any of the Collison brothers secretly join support sometime, and the secret schedule to it
LOL don't know if they do ๐
So I checked with a colleague and it seems like standard accounts can create payouts on their own
really ? what about custom-accounts ?
Also, can we setup the payment etc such that it also sends invoice automatically ?
Custom accounts give platforms granular control so you as a platform can do whatever you want
Got it.
Is there a solution to automate invoicing ?
Also, can we setup the payment etc such that it also sends invoice automatically ?
What kind of payments are these exactly? Can you elaborate on the use case?
From the 1st message :
How we are thinking to implement this using stripe-connect is follows:
(lets call this flow-2)
- As soon as a seller registers on the platform, we will create a connected-account for them, and ask them to onboard themselves onto it.
- The connected-account will have manual-payouts
- When the seller adds funds, we will use direct-charge and transfer the funds to the seller's connected account.
- When the buyer marks the contract as completed, we will create a manual-payout link for the seller, for the exact amount (minus charges etc) of the contract.
Who do you want the send the invoice to? The buyer or the (seller) connected account?
Don't think we currently support sending an invoice for a payment that has already occurred. You could create a one-off invoice and then mark it as paid manually.
An alternative is that you can specify an email for the receipt
https://stripe.com/docs/api/payment_intents/create?lang=node#create_payment_intent-receipt_email
is going through the doc