MOR API user balance get by psw

From Kolmisoft Wiki
Revision as of 12:03, 31 July 2014 by Aisteb (talk | contribs)
Jump to navigationJump to search

Description

MOR API Get User Balance by Password

Usage

To turn on functionality go to: Setup > Setting > select API tab > check "Allow devices to check balance over HTTP"

  • Call: /api/user_balance_get_by_psw/ Here should be Device Password
  • Methods: POST, GET(if allowed, not recomended)



Request

HTML POST: http://<SERVER_IP>/billing/api/user_balance_get_by_psw/qqf5j971bygy



Returns

Success

 <page>
   <balance>66.0000</balance>
 </page>




Errors

  • <error>Feature disabled</error> - This functionality is disabled.
  • <error>User was not found</error> - Setting: Settings->API->API allow Registration, is off. Turn on API allow Registration.



See also