Skip to content

Statistics

Account Statistics

This endpoint can be used to fetch general statistics for collections (payins) and payouts.

GET {BASE_URL}/api/v1/statistics?merchantId={merchantId}&businessId={businessId}&currency=NGN&fromDate=2025-09-01&toDate=2025-10-01

Sample Response

{
  "status": 200,
  "message": "Success",
  "data": {
    "merchantId": "xxx-xxx-xxx",
    "fromDate": "2025-09-01",
    "toDate": "2025-10-01",
    "merchantStatistics": {
      "businessId": "xxx-xxx-xxx",
      "totalPayinPendingValue": 900000.0,
      "totalPayinPendingVolume": 76,
      "totalPayinSuccessfulValue": 300000000.00,
      "totalPayinSuccessfulVolume": 1934,
      "totalPayinFailedValue": 3,
      "totalPayinFailedVolume": 39000,
      "totalPayoutPendingValue": 0,
      "totalPayoutPendingVolume": 0,
      "totalPayoutSuccessfulValue": 19048300.00,
      "totalPayoutSuccessfulVolume": 62,
      "totalPayoutFailedValue": 7000.00,
      "totalPayoutFailedVolume": 2
    }
  }
}