Developer Guide

Errors

If an error occurs on BillAgain’s side then an appropriate HTTP Status Code will be returned together with an error message in the body. Error messages will either be returned in XML or JSON format (It will be JSON unless the accept header specifically requests XML).

Errors that occur external to BillAgain or prevent access to BillAgain services might not be according to the above format and will be handled in their own way or in the way of the relay provider and are out of BillAgain’s control.

Example of Error Response


HTTP CODE: 410 Gone
BODY:
{
 "Errors":
  [
    {
      "Message": "Cannot find Customer for this Account"
    }
  ]
}