#divya.shalini.ics
1 messages · Page 1 of 1 (latest)
Hello divya.shalini.ics, we'll be with you shortly! 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.
• divya.shalini.ics, 0 days ago, 31 messages
• divya.shalini.ics, 1 days ago, 16 messages
Because you didn't respond for almost an hour
About payout.paid
We close threads
Yeah I was checking on data
transfer_group has nothing to do with what we talked about
OK no problem
Yeah I agree but, I thought have one some solution in the expansion of properties in 1 object
Means
I observed that transfer_group is something which is just having prefix with payment intent id
What's your question exactly? I'm very confused
Let me explain. My requirement is to get pi_ in same object of payout balance transaction
Because we are storing pi_ that is payment intent id associated with our orders
So
While listening payout.paid we need to generate summary pdf
Of payout which ever order's payout is getting paid
Yes that I checked and will do that way also
Just want to ask
Yeah the way I shared is the only way
The issue is you use destination charges
Payout exists on the connect account while payment intent exists on your platform
You can't have reference to payment intent on connect account payout
If I use this transfer_group for payment intent id by removing prefix would that be same?
Example, In this screenshot "transfer_group"
If I use it by removing group_ then it would become
Be the same as what?
pi_3NzH4KHdtz9jEBQS1s5A5jIX
This would be same right?
The same as what?
Same for payment intent id
Where is that transfer_group?
What object are you looking at?
cc @rustic ginkgo
I have to head out
Ok
Hi 👋
I'm taking over and catching up.
Can you provide a clear description of what you are trying to achieve?
Yeah sure
I have to listen payout.paid
And as per the payout id, I need to get transactions
So I am getting it from
https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And It is linked connected account
So I am passing StripeAccount as header
In my cURL
And my requirement is to get pi_ in same object of payout balance transaction
I am using expansion till data.source.source_transfer.transfer
By using this I am getting transfer object
Into that there is a property named transfer_group
Which is having group_pi_3NzH6EHdtz9jEBQS0K74SWJa
So I want to know if use this transfer_group in my code
By removing prefix i.e., group_ from value
Will it be same everytime to its payment intent id?
Which is something like this: pi_3NzH6EHdtz9jEBQS0K74SWJa?
And my requirement is to get pi_ in same object of payout balance transaction
My colleague has already explained how to do this. I would not rely on the transfer_group parameter because that is something that is set when the Payment Intent is created by whoever creates it and could change