#Sangeeta
1 messages · Page 1 of 1 (latest)
Hi there, what API are you using?
const paymentIntents = await stripe.paymentIntents.list({
limit: 100,
customer:customerId
});
I have useing
this api
but in paymentIntent having no card details
Ok, so you want to expand the payment_method of the payment_intent, which you can do by expand param.
const paymentIntents = await stripe.paymentIntents.list({
limit: 100,
customer:customerId
},{expand:['payment_method`]});```
OKay i'll check then i'll response you