#zeekhuge

1 messages ยท Page 1 of 1 (latest)

small pebbleBOT
mossy grove
#

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,

  1. When we tried to create a payout - It says that the account balance is insufficient.
  2. 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 ?

stone gate
#

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

mossy grove
#

And that "some-time" is not something we (as developers) control. Right ? so, we just have to wait ?

stone gate
#

Yup, that's correct

mossy grove
#

Is it anyhow related to the delay_days parameter ?

stone gate
#

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

mossy grove
#

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 )

stone gate
#

Unfortunately, no ๐Ÿ˜ฆ

mossy grove
#

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 ?

mossy grove
stone gate
#

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.

mossy grove
#

We are creating "custom accounts" as of now.

stone gate
#

Ah okay! we highly recommend using standard accounts for direct charges

mossy grove
#

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 ?

stone gate
#

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

mossy grove
#

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 ?

stone gate
#

I don't think connected account can create a payout for themselves, let me double check

mossy grove
#

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 ?

stone gate
#

all of the above ๐Ÿ˜„

mossy grove
#

would be blown away if he gets to know that even developers are required to provide support N number of days every month.

mossy grove
#

would do anything to know if any of the Collison brothers secretly join support sometime, and the secret schedule to it

stone gate
#

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

mossy grove
#

really ? what about custom-accounts ?

#

Also, can we setup the payment etc such that it also sends invoice automatically ?

stone gate
#

Custom accounts give platforms granular control so you as a platform can do whatever you want

mossy grove
#

Is there a solution to automate invoicing ?

stone gate
#

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?

mossy grove
#

From the 1st message :

How we are thinking to implement this using stripe-connect is follows:
(lets call this flow-2)

  1. 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.
  2. The connected-account will have manual-payouts
  3. When the seller adds funds, we will use direct-charge and transfer the funds to the seller's connected account.
  4. 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.
stone gate
#

Who do you want the send the invoice to? The buyer or the (seller) connected account?

mossy grove
#

The buyer.

#

And also, show them the transaction history.

stone gate
mossy grove
#

is going through the doc