How to find reason for a failed charge

Is it possible to get the reason for a failed charge through the APIs? The docs list a couple of reasons such as multiple payments, delayed payments, underpayments etc. But how can we obtain the reason for the failure through the api or a web hook event? This is such an important and basic feature.

Thanks for your time.

Hey @StephenOkeleke, Sincere apologies for delayed reponse.

You may refer the documentation here for available webhook events. For example, the event charge:failed is meant for Charge failed to complete. Also, you may use the endpoint List events | Coinbase Cloud to List all the events.

We hope this helps. We’d be happy to answer anymore questions.

Thank you and have a nice day!