#jackmullinkosson_api

1 messages ยท Page 1 of 1 (latest)

echo saddleBOT
#

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

lunar violet
#

Hi, let me help you with this.

rose ember
#

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

lunar violet
#

Correct.

#

The exact format depends on your programming langauge of choice.

rose ember
#

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

lunar violet
rose ember
#

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?

eternal sageBOT
lunar violet
#

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.

rose ember
#

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?

lunar violet
#

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

rose ember
#

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?

last narwhal
#

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

rose ember
#

Got it, thanks for clarifying