#jackmullinkosson_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253326672648732726
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
You have to make an API call on behalf of your connected account: https://stripe.com/docs/connect/authentication
Got it
so using that logic I can also make a call on behalf of the connected account to return products they have created?
You can just add {
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
}
to any API request and it will return the data for that connected account
Okay thanks.
Is there a checkout page where the user can choose the products from that page? So a checkout page that would show all the products a connected account has created?
Or do you have to choose the product before you create the checkout session
There's a Pricing Table that redirects to Checkout, but it just shows a few selected Products: https://docs.stripe.com/payments/checkout/pricing-table
Okay. I want to receive the payments before paying out the connected accounts. So I think the best way would be to get the connected accounts products, allow customer to choose on my marketplace which they want to buy, then create a checkout link for that amount of money to go directly to my account. Then I will setup a transfer to go to the connected account for the date after fulfilmment has occured. Does that sound right?
No. If you use the Products from the Connected account you mean that funds go directly to the Connected account. This is called a Direct charge. If you want to control the flow of funds, you might want to do Destination charges, where funds first go to your Platform account, before you transfer them to the Connected account.
But for that, the Products/Prices and Payment Links need to "live" on your Platform.
Got it. I can make the products/prices live on my platform and create destination charges. When I create the destination charge can I set the date that the connected account will get paid?
Now, if you want to Transfer not immediately, the flow is slightly more complicated and is called Separate Charges and Transfers: https://stripe.com/docs/connect/charges-transfers
This way, you need to make a call yourself to Transfer the funds to the Connected account.
But you can't set a date for that, unfortunately.
Please go through the docs carefully, and let me know if you have any questions
Got it. One question about the transfer_group. It's a number that I set that should be a unique string, correct? So perhaps use a random number generator, send it when I create the session and then use it again when I create the transfer?
Is it necessary?
๐ stepping in here as vanya needs to step away
transfer_group is optional and basically just metadata to help you link charges and transfers together
You can omit it if you want
Otherwise, yes, you would use some sort of unique string
Got it, thanks for clarifying