Starting from 0.6b37, user will be able to:
Check his current balance status
As documented here, user can query his balance status, we’ve set up a demo account on our SMS Hub so you can check what’s a balance checking look like:
http://api.jookies.net/balance?username=demo&password=demo
And here’s the response you’ll get:
{"balance": 5.6, "sms_count": "ND"}
It’s a json message saying user has 5.6 in his balance and an undefined sms quota, more on user credentials to understand balance and quota.
Check the rate price before sending a SMS
As documented here, user can check the rate price before sending a sms, the check will return the price if a route matches the destination number, otherwise a “No route found” error will be returned, here’s an example you can test:
http://api.jookies.net/rate?username=demo&password=demo&to=14533233333
Response:
{"submit_sm_count": 1, "unit_rate": 0.0067}
It’s a json message saying the rate price is 0.0067, the submit_sm_count key is useful if the user indicated the message content when checking the rate price, here’s an example of checking the rate price of a long message:
http://api.jookies.net/rate?username=demo&password=demo&to=14533233333&content=Loo … oonG
Response:
{"submit_sm_count": 2, "unit_rate": 0.0067}
This means the message will be sent as two parts, the final price will be 0.0134.
Note:
If the user has unlimited balance, the rate price will always be 0.