Developer Guide

Authentication

Authentication will take place using Basic Authentication over a secure connection. All requests will have to include an authorisation header which includes the relevant credentials. The username will be the account identifier of the relevant account that needs to be accessed (a number). The password will be the API Key of the account, which can be generated and set by logging into the BillAgain Application, navigating to the settings page under setup section in left menu and generating new key or using existing API Key that appears there as the password.

Example of Basic Auth header


Authorization: Basic base64(<username> + ':' + <password>)

Where base64() is a function that converts the colon separated username and password into a base 64 string