#jakel
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Hi soma - req_XUX2HrxZjyxNr8
Thanks! Give me a few minutes to look into this.
Thank you very much
In the transfer, you set transfer_group: "1de0a4ea-bc80-4932-8fcc-2bb20114ec63"
But on the related PaymentIntent, you set transfer_group: "b2c584b8-31ba-49a0-ac4c-1e0e1748bb91"
If you want to use transfer_group, then the strings have to be the same on the PaymentIntent and on the Transfer.
But note that transfer_group is completely optional, so you could simply omit it.
Got it - thank you. And using transfer_group would simply allow us to more easily track which transfers are associated with which charges?
👋 taking over for my colleague. Let me catch up.
yes that's correct, but even if you don't use it Stripe will automatically create one for every transfer
so feel free to ignore it if it's not something you want to worry about
source_transaction is enough to "bind" a transfer to a Charge/Payment Intent
I see - thank you very much for the explanation. Overall, if we do not create a transfer_group ourselves, as long as we know the source_transction then we can use that to find all associated transfers if we wanted to?
Unfortunately that's not quite possible, today we don't have the direct ability to list transfers by source_transaction, what you need to do instead is to retrieve the source_transaction (Payment Intent in this case) and get the transfer_group that was created by Stripe for you, and then list the transfers by group
it's a hassle I agree, but that's the best we can do now
Got it - OK, thank you very much. What Soma provided gave us a hint into what we were doing incorrectly so we should be able to use the transfer_group once we make the adjustment on our end. Thank you again for your help!
yes I agree, what you're doing is much easier for the retrieval since you already have the transfer_group id and no longer need the extra step to get it