Skip to content

reecerussell/monzo-plus-plus

Repository files navigation

Monzo++

API

Status Codes

To ensure a client system knows whats going on, the APIs make use of a number of status codes

Code Description
200 Successful request
201 Created
400 Validation error
401 Unauthorised
403 Insufficient permissions

Errors

Across each API, if an error occurs, whether it be an server error or just a validation error, it will be returned in a standardised JSON format (as below).

{
	"error": "error message"
}

However, if the environment variable HTTP_ERROR is set to DEBUG, a detailed stack trace will be returned as well - which looks like this:

{
	"error": "error message",
	"stackTrace": "probably quite a long trace"
}

This is ideal for debugging and development but probably not for production. When in production mode either don't set the HTTP_ERROR variable or set it to something other than DEBUG.

About

Monzo++ is a standalone system that integrates with Monzo through webhooks and their API, to provide users with more, or enhanced, features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published