List/reference of errors

Is there some place where I can look up a reference with the full list of possible errors that may be returned for each api request?

The documentation refers to an example (invalid_request) but I’m sure there are more (e.g. bad_request, authentication_error, charge_not_found, too_many_requests, etc).

Also, would any of these errors use an http status code other than 400?

I’m mainly interested in the Charges API, but it would be helpful to know for other APIs as well.

Hi @Brinca! Thank you for sharing this with us. We have shared the same with our internal teams. We will soon let you know if this is possible or not. Please keep in touch. Thank you!