mMoney Docs

Getting started

Amounts and errors

Amounts

All monetary amounts in the API are integers in cents (BBD minor units). For example, 1000 is $10.00 BBD.

HTTP status codes

Code Meaning
200 Success
400 Bad request. A parameter is invalid.
404 Not found. The resource does not exist.
422 Validation failed. The body explains which field.
511 The API key is missing or invalid.

Note: existing endpoints return 511 for a bad API key. This is a legacy behavior. It stays for compatibility. New endpoints return 401.

Error body

{
  "error": "Error message"
}