Appearance
Reports
Use the summary endpoint for dashboard totals and account reporting.
GET/api/v1/reports/summary
Returns wallet, funding, and top-up totals.
Example request
bash
curl "https://taura.xashpay.com/api/v1/reports/summary" \
--header "Accept: application/json" \
--header "Authorization: Bearer TOKEN"Response: 200
json
{
"summary": {
"wallet_balance": 225.0,
"funded_total_units": 250.0,
"topup_total_units": 25.0,
"completed_topup_total_units": 25.0,
"topup_count": 1,
"under_review_count": 0
}
}| Field | Type | Notes |
|---|---|---|
wallet_balance | number | Current wallet balance. |
funded_total_units | number | Total wallet funding in UNITS. |
topup_total_units | number | Total UNITS requested across top-ups. |
completed_topup_total_units | number | Total UNITS for completed top-ups. |
topup_count | integer | Number of top-ups. |
under_review_count | integer | Number of top-ups that need attention. |
Use the top-up and wallet endpoints when you need individual records.