Overview

Errors

Errors & Status Codes

Our API follows standard HTTP status codes to indicate the success or failure of requests.

Status CodeMeaning
200 OKThe request was successful
201 CreatedResource successfully created (e.g., fraud report)
400 Bad RequestThe request is invalid (e.g., missing or malformed data)
401 UnauthorizedAuthentication failed or missing token
403 ForbiddenYou do not have permission to access this resource
404 Not FoundThe requested account or resource could not be found
500 Internal Server ErrorSomething went wrong on our end. This shouldn't happen, please reach out to us via our support lines

Example Error Response

{
  "error": "Invalid BVN format"
}
json

🔐 Security

All traffic must be sent over HTTPS. In production, requests require an API key and should be protected using secure storage practices.


📞 Support

Need help? Contact our support team:

  • Email: support@usescrub.io
  • Phone: +234-800-SCRUB-10