#cnguyen-transfer-pi

1 messages · Page 1 of 1 (latest)

thorn flume
#

you fetch the Transfer and pass expand: ['source_transaction.payment_intent']

a Transfer's source_transaction is the original Charge
and that Charge object has a payment_intent field on it

meager anchor
#

Sorry I forgot to indicate you that I have only the pi_XXX

#

I want to find the transfer id according to my pi_XXX

thorn flume
#

oh yeah you can still do that, fetch the PaymentIntent and pass expand: ['data.charges.transfer']

the link is:
PaymentIntent -> results in Charge -> which has a Transfer