Overview
Retrieve comprehensive statistics about your vending activities, including account balance, transaction metrics, and performance data.
Request
curl --location 'https://api.bleeprs.com/api/statistics' \
--header 'Authorization: Bearer YOUR_API_KEY'
Parameters
No parameters required for this endpoint.
Response
Status code indicating success (“00”) or error
Human-readable status message
Unique reference ID for tracking this request
Statistics and account information
Data Object Fields
Account balance information
Current account balance (e.g., “N7450.00”)
account_balance.available_for
What the balance is available for (e.g., “vending”)
Currency code (e.g., “NGN”)
account_balance.last_updated
Last balance update timestamp
Time period information for statistics
period.current_week_start
Start date of current week
period.previous_week_start
Start date of previous week
End date of previous week
Successful transaction metrics
statistics.successful.value
Number of successful transactions
statistics.successful.rate
Success rate compared to previous week
statistics.successful.is_positive
Whether the trend is positive
Failed transaction metrics
Number of failed transactions
Failure rate compared to previous week
statistics.failed.is_positive
Whether the trend is positive (false for failures)
Total transaction amount metrics
Total amount in current period (e.g., “N3850.00”)
Percentage change from previous week
Whether the trend is positive
Total transaction count metrics
Total number of transactions
total_transactions.change
Percentage change from previous week
total_transactions.is_positive
Whether the trend is positive
Example Response
{
"gatewayStatus": "00",
"gatewayMessage": "Successfully Processed",
"requestReference": "ESzHw13F3Xa93uizdop6",
"data": {
"account_balance": {
"amount": "N7450.00",
"available_for": "vending",
"currency": "NGN",
"last_updated": "9/18/2025, 8:22:50 AM"
},
"period": {
"current_week_end": "2025-09-18",
"current_week_start": "2025-09-11",
"previous_week_end": "2025-09-11",
"previous_week_start": "2025-09-04"
},
"statistics": {
"failed": {
"is_positive": false,
"rate": "70.8% failure rate from last week",
"value": 17
},
"successful": {
"is_positive": true,
"rate": "0.0% success rate from last week",
"value": 7
}
},
"total_amount": {
"change": "0.0% change from last week",
"is_positive": true,
"value": "N3850.00"
},
"total_transactions": {
"change": "0.0% of total from last week",
"is_positive": true,
"value": 24
}
}
}
Notes
- Statistics are calculated based on weekly periods
- All monetary values are in Nigerian Naira (NGN)
- Trends compare current week to previous week
- Account balance is updated in real-time
- Use this endpoint to monitor your vending performance and account status