Lipisha REST APIs


Get Balance


Returns the balance in your Lipisha account.


Endpoints

http://developer.lipisha.com/index.php/v2/api/get_balance TEST
https://api.lipisha.com/v2/get_balance LIVE

Request POST application/x-www-form-urlencoded

Parameter Description Example
api_key Your Lipisha API key. 3aa67677e8bf1d4c8fe886a38c03a860
api_signature Your Lipisha API signature. SYetmwsNnb5bwaZRyeQKhZNNkCoEx+5x=

Example Request
curl "http://developer.lipisha.com/index.php/v2/api/get_balance" \
  -X POST \
  --data-urlencode "api_key=3aa67677e86a38c03a860" \
  --data-urlencode "api_signature=SYetmwsNnb5bwaZRyeQKhZNNkCoEx+5x="

Response application/json

Parameter Description Example
Status
status Status of the API call SUCCESS
status_code Status code of the API call 0000
status_description Description of the API call Balance Found
Content
balance Balance in your Lipisha account 100000
currency Currency of your balance KES

Example Response
{
	"status": {
		"status_code": 0,
		"status": "SUCCESS",
		"status_description": "Balance Found"
	},
	"content": {
		"balance": "100000",
		"currency": "KES"
	}
}

Fork me on GitHub