#umairasif7-payouts-transfers
1 messages · Page 1 of 1 (latest)
Hello!
Yes, that's definitely possible as long as the funds you are transferring are available (we allow you transfer funds that aren't available by setting source_transaction when you create the transfer)
There are some funds present in the customer's credit balance and he wants to take them out of his bank account, in our system we are hiding the information about how the transfer works. When the user wants to transfer some funds, the funds will travel to his stripe connect account first and then travels to his bank account. is that possible?
Yes, that is possible (again, as long as you're transferring available funds)
What if due to some errors, payouts->create does not work, is that possible the funds could roll back to the customer's credit balance?
If payout creation doesn't work you can reverse the transfer (https://stripe.com/docs/api/transfer_reversals/create) - but can you clarify, you keep referring to a customer's credit balance which is a completely separate concept and not related to connect. How are you using customer credit balance?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
First I am using transfer->create by providing customer's destination account which will be stripe connect account. And then I will use payouts->create by providing destination bank account and customer connect account.
If payouts->create fails, would that be possible for the funds to get reversed to the customer's credit balance from the customer's connect account?
Sorry, but can you be really clear - what are you referring to when you say the "customer credit balance"? There's no way to create a transfer from a Customer credit balance to a connect account, so I'm worried you're a bit confused or we're talking about different things
I am talking about this
Yeah that is completely separate from connect - is your expectation that a transfer will move funds from the customer credit balance to the connected account? Because that is not how credit balance works
I was using this to transfer these funds to connect account
That will pull from the balance in your Platform account. It will not pull from your customer credit balance
Oh, I got it, I was totally wrong here.
Could you please tell me the way to withdraw the funds (which is being credited to customer via platform account) to local bank account.
There isn't a way to directly send the customer credit balance to your user's bank account - you'd have to transfer them funds from your own platform balance and then create a new customer credit balance transaction to zero out what you transferred them (https://stripe.com/docs/api/customer_balance_transactions/create)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.