#Murtaza Shah
1 messages · Page 1 of 1 (latest)
hello! to clarify, are you trying to transfer funds to the connected account's Stripe balance, or are you trying to payout to the connected account's real life bank account?
yes real life . am building a Ecommerce System . So if customer buy a product of registered seller on mysite and that seller card is also connected to stripe for my site membership so how can i tranfer that product(price) to that seller card
??
so is your confusion over a) transferring funds to the connected account's Stripe balance, or b) about how to payout to the connected account's real life bank account? Or both?
reallife bank account
like am a seller i bought a membership from my webapp which is using stripe for payments right
so when my products get sold on system e.g for 20usd then those 20usd will come to my attached credit/debit card (which also connects to real bank)
kindly help
you can manually create a payout on the connected account by specifying the Stripe-Account header and the connected account : https://stripe.com/docs/connect/authentication
Just as a reminder, you should never share your secret API keys over an insecure medium such as email, regardless of whether it's a test or live mode key. I strongly suggest you roll your test mode key immediately as the one you sent is now considered compromised: https://dashboard.stripe.com/test/apikeys
ok thanks actually i just copied it from the DOcs api its not mine
one thing more is that e.g i have list of customers who has bought my subscriptions right i have their customerIDs and all have connected their Debit/credit card so how can i create a payout to any one of them using some ID or someting else ?
you can't payout to a customer. Can you explain more about why you're trying to payout to a customer?
as am building a Ecommerce APP ok so sellers has to buy my subscription to be able to sell their products and basically i have use subscription for that
so in simple words how can i pay to my registered sellers
you would want to look at either one of these flows : https://stripe.com/docs/connect#route-payments-and-pay-out
To payout to a connected account, you can rely on automatic payouts or create a manual payout. If you're creating a manual payout, then you would need to include the Stripe-Account header. I think it would be like this
amount: 1100,
currency: 'usd',
},{
stripeAccount: acct_...
});```
stripeAccount: acct_... how can i get accountid as currently i have this in my dashboard
that's a customer
you can't payout to a customer
you can only payout to a connected account
and how can i do that for connected account
have you created any connected accounts?
Nope i just did 2 things
- subscription for registerd user for my platform
- One time payment to pay for something
Moreover if i create a connected account right and then can i send my payment froms stripe to the connected user debit/credit card ?
you would want to go through the guide(s) here : https://stripe.com/docs/connect
For your specific use case, you'll likely want to look at one of these options : https://stripe.com/docs/connect#route-payments-and-pay-out. It'll guide you through creating a connected account, accepting a payment
To payout to a connected account, you can rely on automatic payouts or create a manual payout. If you're creating a manual payout, then you would need to include the Stripe-Account header. I think it would be like this
const payout = await stripe.payouts.create({
amount: 1100,
currency: 'usd',
},{
stripeAccount: acct_...
});
??
Moreover if i create a connected account right and then can i send my payment froms stripe to the connected user debit/credit card ?
yes - so what would happen is that you can collect the payment, send the funds to the connected account's Stripe balance, then payout the funds in the connected account's Stripe balance to the user's (supported card) or bank account
to clarify, a Customer and a Connected account are two separate objects in Stripe
for your use case, you would need to create a Customer object to represent the sellers, so that you can create Subscriptions. You would also need to create a Connected account for the seller to sign up / register so that you can transfer the payment / funds to their bank account
ok