#deepakkumar_wizniche - expand payout charges
1 messages · Page 1 of 1 (latest)
Do you have an example request ID?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ah, apologies. I misunderstood the initial question. The payout retrieval doesn't include any charges associated with it
So I was wondering if you had a request that showed how you were associating charges with payouts
What's the best way to send description attached with card payment made through our Platform?
Like how can I fetch that payment history and the description later
$list = \Stripe\Payout::all(['destination' => $external->id, 'limit' => 100], ['stripe_account' => $account_token]);
That's how we fetch the payout list
Is there way to do a call so I can walk you through?
Unfortunately no we cannot do calls
Do you not have any example requests you can share?
Alright sure
To make sure I understand, you're trying to list the charges associated with a given payout to see their details?
Are you using automatic payouts?
So the example here shows how you can use API expansion to get the charges related to a specific payout:
https://stripe.com/docs/expand/use-cases#charges-in-payout
That would let you inspect their description/metadata etc
Thanks
So using balancetransaction can help me get the description from charge object?
Yes, the balance transaction is how you can map payouts to charges
So it's an intermediary
the expanded charge object (the data.source ) is the information you want
Sounds good!
deepakkumar_wizniche - expand payout charges