#juiceman-refund-paymentintent

1 messages · Page 1 of 1 (latest)

vital sedgeBOT
idle delta
#

that's a PaymentIntent id not a Charge id, so that's expected

#

A Charge id is ch_123

#

juiceman-refund-paymentintent

lunar holly
#

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

idle delta
#

yep

lunar holly
#

is there a way to see if there has been a refund associated witht that payment intended id?

idle delta
#

see my response above yours

lunar holly
#

oh my bad, thank u

idle delta
#

all good, we talked at the same time

#

mostly make sure you don't mixup PaymentIntent and Charge are conceptually different