#juiceman

1 messages · Page 1 of 1 (latest)

crimson basaltBOT
tiny thunder
#

I don't understand. If a Charge is pending there won't be a refund as far as I know.

fringe fiber
#

this is the code that i used to "cancell" a payment::
refund = await stripe.refunds.create({ payment_intent: chargeId });

#

chargeId => paymentIntentId

#

so thats like a refund

frail dune
#

From experience, you can't refund unless the charge is 100% paid, then you refund.

#

Once the bank gets the request, you can't do anything until the payment fails or succeeds, two-shoes can correct me if it's wrong.

fringe fiber
#

r u sure?

#

there is no api to oull the refund payment intent?