Fetch Balance

This web service enables an application or service retrieve the current and available balance of an account.

HEADER PARAMS

Parameter Data Type Description Required
Authorization alphanumeric bearer token used to access the API Y

200 Success Response Schema

Parameter Data Type Description
success bool Response code
message string Response message.
data.balance numeric account balances.
data.currency string account currency.
data.acc_no alphanumeric account number.
data.acc_name string account name.

Example Request

                                    
curl --location 'https://prod-url-here/api/v2/wallet/6670282329' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: XXXXXXXXXXXXXXXXX'
                                    
                                

Example Response

                                    
{
    "success": true,
    "message": "Successfully fetched",
    "data": {
        "uuid": "7091bc6b-a06e-476a-b2be-bb2437005155",
        "acc_no": "6670282329",
        "acc_name": "Jetty Test Business",
        "currency": "KES",
        "balance": 3023,
        "last_update": "2024-03-11 05:30:47"
    }
}