#Alexandru Pruteanu

1 messages · Page 1 of 1 (latest)

gleaming zodiacBOT
devout phoenix
#

What kind of IDs do you have? Could you share an example?

river pawn
#

pi_*********** like this

#

the payout report has ch_***, that is connected to payment intent, so to do a connetion in my report for the client I need to get charge ids, but only way I found to request each intent, one by one

#

through stripeSDK.paymentIntents.retrieve

#

is there a .list method?

gentle hound
#

Sure, each resource has a corresponding list endpoint

river pawn
#

yeah, but as I see in documentation I can specify customer, or limit, but no ids param

gentle hound
#

What exactly are you trying to do/achieve?

#

But its not really clear what you're trying to do or what data is missing

river pawn
#

I have payment intents, I dont have the charge ids related to those payments. I need to fetch payment intents ids objects to pick the charge ids and save them aswell.

#

I can do this by requesting each payment intent one by one, and get charge id, but thats thousand of intents. I need to know is there a request where I can send a list of intents ids to get the objects back

gentle hound
#

How are you retrieving the original list of Payment Intents?

river pawn
#

through stripeSDK.paymentIntents.retrieve(pi_***)