#Vincent-fees
1 messages · Page 1 of 1 (latest)
@hollow dust sure, see https://stripe.com/docs/expand/use-cases#stripe-fee-for-payment
Great thank you
@hollow dust you can do the same thing(passing expand )when listing
$stripe->paymentIntents->all(['limit' => 100, 'expand' => ['charges.data.balance_transaction']]); I think
Thanks Im gonna try
got this error
This property cannot be expanded (charges). You may want to try expanding 'data.charges' instead.
code is : $pi = $stripe->paymentIntents->all(['expand' => ['charges.data.balance_transaction']]);
Great, working now, thanks 🙂
got last question
do you think it is possible to expand payout ? to have access of the détail ( description )
via api
my code for now :
$po = $stripe->payouts->retrieve(
'po_1Je9KQLpthC0ShbPB3EaI7qD',
[]
);
it's at the first link I shared
the other example on that page is https://stripe.com/docs/expand/use-cases#charges-in-payout