MOR API user balance get by psw

From Kolmisoft Wiki

Jump to: navigation, search

Contents

[edit] Description

MOR API Get User Balance by Password

[edit] 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)



[edit] Request

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



[edit] Returns

Success

    
    66.0000
 




Errors

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



[edit] See also

Personal tools

Try MOR

Try M2