Lipisha REST APIs


Get Float


Returns the float in a transaction account.


Endpoints

http://developer.lipisha.com/index.php/v2/api/get_float TEST
https://api.lipisha.com/v2/get_float 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=
account_number Account number of the transaction account. 00100

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

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
account_number Account number of the transaction account. 00100
float Float in your transaction account 100000
currency Currency of your float KES

Example Response
{
	"status": {
		"status_code": 0,
		"status": "SUCCESS",
		"status_description": "Float Found"
	},
	"content": {
		"account_number": "00100",
		"float": "5460.00",
		"currency": "KES"
	}
}

Fork me on GitHub