#haroon
1 messages · Page 1 of 1 (latest)
Ah so you're using our legacy Charges API?
yes
I have created a charge with capture field set to false
Now, I wanted to cancel all of them because customers are getting notifications due to this
Not possible with Charges
Recommend you switch to PaymentIntents
We have a cancellation endpoint for PaymentIntents
so what should we do now as I want to cancel all uncaptured charges
I have charge id I just want to cancel charges
You can't
You'd need to switch to PaymentIntents to get that functionality
Currently you'll just need to wait for the authorization to expire
Is there any way to expire authorization?
Expiring authorization and cancelling the payment are the same thing
So no
That's why it's recommended to use payment intents
Charges are a legacy flow, and our integration guides haven't used them for quite some time
Ok Thanks for your help here.
No problem
Is there a way to delete a charge?
No