Adds a field explaining why refunds are pending
What’s new
Adds the pending_ field to the Refunds API. The new field describes why the refund is pending, returning possible values of:
processing: The refund is processing.insufficient_: The balance of the Stripe account is insufficient to cover the refund.funds charge_: The payment being refunded hasn’t settled yet.pending
Impact
If the status of a refund is pending, you can inspect the pending_ field to understand why and take necessary actions to resolve it.