Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sverraest committed Apr 8, 2018
1 parent 4cff7e1 commit dc56421
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dc56421

Please sign in to comment.