#jay-s

1 messages · Page 1 of 1 (latest)

rigid troutBOT
runic dagger
#

hey again

#

If you have a source transaction, you can supply that

#

otherwise you'll need some accrued available balance in your platform account

thick prism
#

hi again, I'm using source_transaction for the transfer in step #4 from the payment intent created in step #2. But the issue is that sometimes the source_transaction amount would be less than the transfer to connected account. But it would be the same as sum of the transfer amount from step #4 and transfer reversal from step #3.

#

could I provide the transfer reversal as another source_transaction?

#

Also interestingly in my test account I have more than the amount I'm trying to transfer in step #4 and it is still throwing the "Insufficient funds error".

Actual stats:

  1. Balance as shown on dashboard: ~$11k
  2. Transfer amount I'm trying to make to connected account $20.
runic dagger
#

sometimes the source_transaction amount would be less than the transfer
then you can't use this approach. The total of trasnfers for a give source transaction must be less than the source amount

#

So you likely need to switch your platform to manual payouts and maintain a positive available balance to funds these transfers

thick prism
#

hmm, okay. But in my current case the balance on dashboard seems to be greater than the transfer amount and even then it's showing insufficient funds, is there a way for me to take a look at the actual available balance?

I'm using this endpoint to check my balance: https://dashboard.stripe.com/test/balance/overview

runic dagger
#

You should remove the source transaction parameter in that case

#

Is that balance available or pending?

thick prism
#

I tried to remove the source_transaction and tried it but still got the same error.

#

sorry I'm not uber familiar with the dashboard, how can i verify if the balance is "pending"?

runic dagger
#

"available to pay out" vs "will be available soon"

thick prism
#

oh under "available instantly" it says
Total: 10,000

runic dagger
#

Are you using manual payouts already?

thick prism
#

no it looks like we're using automatic payout as on homepage it shows the current balance to be same as payout expected tomorrow.

runic dagger
#

Gotcha, so, yea, to have available balance for transfers like this, you need to use manual payouts

#

Otherwise the available balance gets immediately "locked up" for those future auto payouts

#

source_transaction solves for this, but only where the amount is covered by the source

thick prism
#

would there be a way to collect payment and not have it locked up? just while we process the final transfer?

#

or potentially use another api to achieve the same end result?

runic dagger
#

No, with automatic payouts that will always happen if you don't use source transaction while the payment is pending

#

You need either available balance (manual payouts) or you need a source transaction with enough unallocated amount remaining to cover the transfer

thick prism
#

okay, gotcha. Thank you for your help, really appreciate it 🙂

runic dagger
#

NP!

thick prism
#

Hi @runic dagger , I had a question about automatic payouts. Could we have it setup so it maintains a certain amount lets say ~$5k in balance but pays out everything else?

devout solar
#

Hey synthrider had to step away but I can help. As far as I know automatic payouts cannot do that but I will double check and see if we have anything else that can help you here

thick prism
#

okay, thanks

devout solar
#

Unfortunately I am not seeing a way to do this with automatic payouts. I think that is what synthrider was getting at, because automatic payouts can't hold some funds like that, you would need to switch to manual payouts and specify to only pay out some portion of your funds when creating them.