diff --git a/README.md b/README.md index 101a056..da82758 100644 --- a/README.md +++ b/README.md @@ -327,6 +327,20 @@ $webhook = [ $webhook = $client->webhooks->create($webhook); ``` +## Errors +Currently the following errors are defined in the Revolut Business API. + +| Error | Description | +| --------------------------- |--------------------------------------------------------------------| +| 400 Bad request | Your request is invalid. | +| 401 Unauthorized | Your API key is wrong. | +| 403 Forbidden | Access to the requested resource or action is forbidden. | +| 404 Not Found | The requested resource could not be found. | +| 405 Method Not Allowed | You tried to access an endpoint with an invalid method. | +| 406 Not Acceptable | You requested a format that isn't JSON. | +| 429 Too Many Requests | You're sending too many requests. | +| 500 Internal Server Error | We had a problem with our server. Try again later. | +| 503 Service Unavailable | We're temporarily offline for maintenance. Please try again later. | ## About