anchor.diff:  	{true | halt(), ReqData :: rd(), Context :: state()}.
   %% @doc POST processing function.
   add_subscriber(ReqData, #state{subscriber = Subscriber,
  -		current_password = Password, attributes = ArrayAttributes} = Context) ->
  +		current_password = Password, attributes = ArrayAttributes,
  +		balance = Balance} = Context) ->
   	try
  -	case catch ocs:add_subscriber(Subscriber, Password, []) of
  +	case catch ocs:add_subscriber(Subscriber, Password,
  +			ArrayAttributes, Balance) of
   		ok ->
   			{true, ReqData, Context};
   		{error, Reason} ->
  
positive.code: 		{subscriber :: string(),
  		current_password :: string(),
  		new_password :: string(),
  		attributes :: radius_attributes:attributes()}).
  
  %%----------------------------------------------------------------------
  %%  webmachine callbacks
  
negative.code: content_types_accepted(ReqData, Context) ->
  	case wrq:method(ReqData) of
  		'POST' ->
  			{[{"application/json", add_subscriber}], ReqData, Context};
  		'GET' ->
  			{[], ReqData, Context};
  		'HEAD' ->
  