#jarek_connect-sct
1 messages ¡ Page 1 of 1 (latest)
đ 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/1230981311502483458
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jarek_code, 1 day ago, 7 messages
- jarek_code, 2 days ago, 16 messages
Hello
Yes you control setting transfer_group unless you are creating destination charges in which case it is set for you
so if i were to do this it would be pre set for me const charge = await stripe.charges.create({
amount: 1000,
currency: 'usd',
source: 'tok_visa',
transfer_data: {
destination: '{{CONNECTED_ACCOUNT_ID}}',
},
});
Yes
we want to create 2 charges for the same transfer_group, one is destination, other is separate charges, is it possible?
Yeah you can specify the transfer_group to whatever you want if you create a Charge without destination so you could always just set it to the same thing generated by the destination charge
what is transfer_group for destination charge?
jarek_connect-sct
what is transfer_group for destination charge?
Not sure I understand your question. You don't really need it if you use Destination Charges
how do we connect destination and separate charges and transfers for the same order?
After the Destination Charge is created you will get a transfer_group set and then you use it for the second one for example
but what is it for example?
just a random string?
yes