Throughout all GoMoney services, we implement the JSend specification for serving API responses. More detail can be found on the omniti-labs/jsend github repo. But in a nutshell, this middleware attaches a JSend object to each request with success
, fail
, and error
methods that can then be invoked later on. This means our responses usually follow the same general formats.
Successes
{
"status" : "success",
"data" : {