#Vincent-fees

1 messages · Page 1 of 1 (latest)

west plume
hollow dust
#

Great thank you

west plume
#

@hollow dust you can do the same thing(passing expand )when listing

#

$stripe->paymentIntents->all(['limit' => 100, 'expand' => ['charges.data.balance_transaction']]); I think

hollow dust
#

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']]);

west plume
#

oh yeah sorry

#

it's data.charges.data.balance_transaction

hollow dust
#

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',
[]
);

west plume
#

it's at the first link I shared