#juiceman-refund-paymentintent
1 messages · Page 1 of 1 (latest)
that's a PaymentIntent id not a Charge id, so that's expected
A Charge id is ch_123
you want https://stripe.com/docs/api/refunds/list#list_refunds-payment_intent instead
juiceman-refund-paymentintent
so given a PaymentIntent, can i see if there is a refund for that?
this is how i am creating the refund: refund = await stripe.refunds.create({ payment_intent: chargeId });
but that charge id is the PaymentIntent id i guess
yep
is there a way to see if there has been a refund associated witht that payment intended id?
see my response above yours
koopajah: you want https://stripe.com/docs/api/refunds/list#list_refunds-payment_intent instead
oh my bad, thank u