#dinesh_transfer-availability

1 messages ยท Page 1 of 1 (latest)

wild treeBOT
#

๐Ÿ‘‹ 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/1384670514697736192

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

solid vine
#

dinesh_transfer-availability

molten venture
#

so does there always have to be stripe balance to make the transfer to a connected account?

#

we usually flush our stripe balance into our bank account every day, could I do a transfer from our bank acc to the connected account instead?

solid vine
#

No you should build up a balance in your Stripe account really

molten venture
#

so I can do that by doing a charge?

solid vine
#

yes

molten venture
#

I'm confused on hwo to write the code for this, any chance you could write a charge request so I can see

solid vine
#

you do a PaymentIntent for example. Sorry I'm not really clear on what you are trying to do. Usually as a Connect platform you already know how to accept payments and have funds in your account

molten venture
#

I want to send money to a connected account as a payout

#

so I need to be able to have money in my balance to do that

#

so how do I do the charge to add money to my balance in code

solid vine
#

How do you collect funds in your Stripe account? Like where would that money even come from

molten venture
#

we have customers on our product, they use IP we list on there, then we pay out the people who own the IP

#

so we have funds coming in that we continually flush to the bank account

solid vine
#

what does that mean "They use IP we list on there"? I'm sorry but I need you to be a bit more descriptive.

Do you already accept payments from customers who pay you before you send funds to other third-party?

molten venture
#

no no, we only accept payment from the customers

#

customers pay us then we pay the owners

solid vine
#

Cool so you already know how to accept a payment right? You wrote code to accept those payments

molten venture
#

yeah we accept payments, what does that have to do with what I'm asking u

solid vine
#

so instead of using a customer card, you already are using 4242424242424242 or similar. And the Test card I shared work exactly the same

molten venture
#

hmm

#

one second, let me look back on our existing code

solid vine
#

sure!

molten venture
#

I'm still confused how to write the command to do a stripe charge that brings funds from my bank account to the stripe balance, could you give me an example of that?

solid vine
#

Not really that part doesn't make sense to me sorry

molten venture
#

you said I have to do a charge to add to my stripe balance?

solid vine
#

You started with "I don't have enough balance to do a Transfer". I explained how to use specific Test cards to increase your balance in Test mode instantly. I also explained that usually people in flow like yours use source_transaction to link a given/existing PaymentIntent/Charge to the Transfer.

#

Then you got confused about "creating a payment" so I had you explain what you do. You confirm you already accept payments from end customers. So what you do there would work the same. Instead of using 42424242 card in Test mode to simulate a customer paying you you can use the test card(s) I linked you to

molten venture
#

I'm just confused how to do this:

Updates test mode transfers to require sufficient funds in your available test mode balance (for consistency with live mode transfers). Add funds directly to your available test mode balance, bypassing the pending balance, by creating a charge using the special test card number 4000 0000 0000 0077.

solid vine
#

Ignore that "this". You seem toquote a doc from 10 years ago that isn't really relevant

molten venture
#

but that's the exact error I'm getting

#

ok I understand I have to use the test card, but how do I make a charge that can add money to my balance in test mode?

solid vine
#

In the dashboard create a manual payment with that Test card

molten venture
#

I can't do this programatically?

solid vine
#

๐Ÿ˜“

#

I'm really sorry, I'm so confused because based on what you lready said twice you already know how to collect a payment so I don't understand what you don't understand

#

But sure, you use the Create PaymentIntent API https://docs.stripe.com/api/payment_intents/create and you pass the right parameters (amount, currency, payment_method, etc.) to confirm and move money into your balance
But really it's exactly what you already said you do for payments

molten venture
#

does paymentintent let me add money to my balance?

#

please stop talking about what I do already for payments, just help me with this particular task, we're going in circles because of that

#

beyond that, could you also answer this:

I'm also confused if I have to set manual payout schedules to use stripe connect?

solid vine
#

PaymentIntent is the API to accept payments from end customers. So yes you use the PaymentIntents API to accept payments and simulate money moving into your balance.

And yes you should be on manual payout schedule if you want to build a balance in your Stripe account and transfer funds to connected accounts over time

molten venture
#

ok, that's not what I'm trying to do right now, I'm trying to take money from my bank account, move it to stripe balance, then do the transfer to the connected account

#

I understand how to do the transfer, could you tell me how to do the first step (our bank account -> to our stripe balance)

#

how do I do this programatically

solid vine
molten venture
#

and how do I do that in test mode?

#

and beyond that, how do I do this:

Error: You can only create a top-up if your account is on a manual payout schedule.

solid vine
#

It works the same in Test mode. And you need to switch your account to manual payouts in the settings (which affect both your Test and Live environments).

molten venture
#

so that means I can't automatically flush the money in our balance to our bank account?

solid vine
#

correct

molten venture
#

does stripe connect usually require this? or do people just transfer from balance to connected accounts always?

#

more specifically, does stripe connect always require manual payout schedules?

wild treeBOT
dry cloak
#

Hi there, yes you need manual payout to be enabled, then use the Top up feature. Do you have difficult on turning manual payout on?

wanton jewel
#

Hi @dry cloak @solid vine. Working with Dinesh on this, looking for some clarity here.

Currently our platform functions under a credit subscription model, where users pay us at a recurring cadence for credit grants. We're introducing a User Generated Content (UGC) product that will allow folks to receive a monthly payment related to usage of any UGC they made through their account.

If we are using Stripe Connect payouts to pay out these users out on a monthly cadence, would we have to disable automatic payouts? (Currently it seems that our Stripe balance is flushed to our bank account on a daily cadence, would we have to stop doing that?)

dry cloak
#

Hi there, I am taking over from my colleague and will continue to assist here

#

Automatic Payout on your business model sounds good, but here I think the goal is to purely test in Test mode, that's why we suggested Manual Payout and Topup

wanton jewel
#

No worries, and appreciate the support here @dry cloak. I think we're good on test mode for now.

We're going to leave automatic mode for payouts on for now and proceed with our implementation, as our current volume of inbound payments is significantly higher than our outbound payments for the UGC, even though inbound is daily and outbound is monthly.

In the edge case scenario where we don't have a sufficient amount in the balance, would the recommended guidance be to check the balance before attempting payout and "top-up" if there isn't enough? Or is there an alternative you'd recommend?

dry cloak
#

Yes. I am curious on how you will deal with such scenario though. Is it expected to happen frequently? Like you need to pay your user more than what they paid you and available on your Stripe balance?

#

Because you will hit the insufficient funds error everytime that happens