#mkoenke - Refund
1 messages · Page 1 of 1 (latest)
hello!
So you are looking to understand what error is thrown when you attempt to refund a charge that is already in a pending state.
?
yes, exactly!
Hmmm okay let me double check this. But i'm not sure how to test it.
Actually you should be able to test this yourself and simulate it using the first of the card numbers we show here:
https://stripe.com/docs/testing#refunds
The first card number we provide here triggers a delay where the refund is in a pending state. At that point you could call the Refund API again and review the error that is returned.