Difference between revisions of "MOR API user balance get"
From Kolmisoft Wiki
Jump to navigationJump to search
m |
|||
Line 1: | Line 1: | ||
This | ''This feature is available starting from [[MOR_10_documentation | MOR 10]], but was also backported to [[MOR_9_documentation | MOR 9]]'' | ||
=About= | |||
This feature enables you to check the balance over http. | |||
==Enable check balance over http feature== | |||
1. Go to '''SETTINGS - Setup -> Settings''' | |||
<br><br> | |||
[[File:settings_path.png]] | |||
<br><br> | |||
2. In Various tab check the marked option: | |||
<br><br> | |||
[[File:Settings_various_balance_over_http.png]] | |||
<br><br> | |||
==Request== | ==Request== | ||
Line 22: | Line 31: | ||
When feature is off. | When feature is off. | ||
Feature disabled | Feature disabled | ||
==See Also== | |||
* [[MOR API]] |
Revision as of 08:33, 18 January 2011
This feature is available starting from MOR 10, but was also backported to MOR 9
About
This feature enables you to check the balance over http.
Enable check balance over http feature
1. Go to SETTINGS - Setup -> Settings
2. In Various tab check the marked option:
Request
HTML POST: http://<SERVER_IP>/billing/api/balance?username=USERNAME
Result
-349282.18
returns balance of user.
Erros
When user is not found.
User not found
When feature is off.
Feature disabled