#Pravin-paymentIntents
1 messages · Page 1 of 1 (latest)
Hi there, you can use the PaymentIntent list API https://stripe.com/docs/api/payment_intents/list?lang=node#list_payment_intents-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks let me check
i want to fetch all PIs of XYZ account
i dont think above solution will for the same
please suggest
e.g i have customer
"acct_1JhSiZPLcN4OVDiG"
and i want fetch all PIs for above mentioned customer id
Is acct_1JhSiZPLcN4OVDiG one of your connected accounts?
yes
You can make API calls for connected account by passing a Stripe Account header, refer to this doc for more info https://stripe.com/docs/connect/authentication