Difference between revisions of "Balance in phone"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: Line 3:
For example, we will use [http://iaxtalk.com/index.php?main_page=product_info&cPath=6&products_id=7  iaxLite]. [http://www.kolmisoft.com/packets/iaxlite_setup.zip Download link]
For example, we will use [http://iaxtalk.com/index.php?main_page=product_info&cPath=6&products_id=7  iaxLite]. [http://www.kolmisoft.com/packets/iaxlite_setup.zip Download link]


'''Note! Same link is used for MOR Phone APP.'''
'''Note! Same URL is used for MOR Phone APP.'''


In '''SETTINGS –> Setup –> Settings –> API –> Allow devices to check balance over HTTP''', check to allow this functionality:
In '''SETTINGS –> Setup –> Settings –> API –> Allow devices to check balance over HTTP''', check to allow this functionality:

Revision as of 09:41, 14 February 2013

Some phones and softphones support displaying your account balance on their screens.

For example, we will use iaxLite. Download link

Note! Same URL is used for MOR Phone APP.

In SETTINGS –> Setup –> Settings –> API –> Allow devices to check balance over HTTP, check to allow this functionality:


Log in as the user you want to check your balance:

Bif2.png


... and in Details you will see the link:

Bif3.png


Copy and paste this link into the phone:

Bif4.png


... and you will see your balance:

Bif5.png

Optionaly you can send api request and specify currency, valid values are USER, in that case balance is returned in user's currency. And currency code(EUR, USD etc.)

HTML POST: http://<SERVER_IP>/billing/api/simple_balance?id=UNIQUEHASH&currency={USER|CURRENCY_CODE}