Statistics

STAGING_URL: https://switchapi3.azurewebsites.net
LIVE_URL: https://switchapi.azurewebsites.net

Get Statistics

GET https://switchapi3.azurewebsites.net/admin/stats

This endpoint retrieves the app statistics.

Headers

Name
Type
Description

Authorization

string

Format for Authorization is Bearer token

{
    "message": "Statistics retrieved successfully",
    "data": {
        "general": {
            "admins_count": 14,
            "users_count": 322,
            "customers_count": 304,
            "verified_customers_count": 1,
            "unverified_customers_count": 303,
            "vendors_count": 4,
            "verified_vendors_count": 3,
            "unverified_vendors_count": 1,
            "blacklisted_users_count": 0,
            "transactions_count": 2107,
            "flutterwave_transactions_count": 0,
            "paystack_transactions_count": 524,
            "pipit_transactions_count": 180,
            "credit_transactions_count": 815,
            "debit_transactions_count": 1292,
            "transfers_count": 244,
            "funding_count": 563,
            "total_wallet_amount_kobo": 117260923,
            "total_funding_amount_kobo": 253478265,
            "total_wallet_funding_amount_kobo": 220978265,
            "total_account_funding_amount_kobo": 32500000,
            "total_transfers_amount_kobo": 58768974,
            "total_internal_transfers_amount_kobo": 28776987,
            "total_external_transfers_amount_kobo": 1350000,
            "total_bill_payment_amount_kobo": 6313097,
            "total_bill_payment_from_wallet_amount_kobo": 6313097,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "today": {
            "total_number_of_users_registered": 0,
            "total_number_of_admins_profiled": 0,
            "total_funding_amount_kobo": 0,
            "total_wallet_funding_amount_kobo": 0,
            "total_account_funding_amount_kobo": 0,
            "total_transfers_amount_kobo": 0,
            "total_internal_transfers_amount_kobo": 0,
            "total_external_transfers_amount_kobo": 0,
            "total_bill_payment_amount_kobo": 0,
            "total_bill_payment_from_wallet_amount_kobo": 0,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "past_seven_days": {
            "total_number_of_users_registered": 0,
            "total_number_of_admins_profiled": 0,
            "total_funding_amount_kobo": 200000,
            "total_wallet_funding_amount_kobo": 100000,
            "total_account_funding_amount_kobo": 100000,
            "total_transfers_amount_kobo": 1600000,
            "total_internal_transfers_amount_kobo": 800000,
            "total_external_transfers_amount_kobo": 0,
            "total_bill_payment_amount_kobo": 60000,
            "total_bill_payment_from_wallet_amount_kobo": 60000,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "past_one_month": {
            "total_number_of_users_registered": 0,
            "total_number_of_admins_profiled": 0,
            "total_funding_amount_kobo": 1300000,
            "total_wallet_funding_amount_kobo": 1200000,
            "total_account_funding_amount_kobo": 100000,
            "total_transfers_amount_kobo": 5560000,
            "total_internal_transfers_amount_kobo": 2580000,
            "total_external_transfers_amount_kobo": 400000,
            "total_bill_payment_amount_kobo": 80000,
            "total_bill_payment_from_wallet_amount_kobo": 80000,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "past_three_months": {
            "total_number_of_users_registered": 30,
            "total_number_of_admins_profiled": 1,
            "total_funding_amount_kobo": 15867000,
            "total_wallet_funding_amount_kobo": 15567000,
            "total_account_funding_amount_kobo": 300000,
            "total_transfers_amount_kobo": 10116016,
            "total_internal_transfers_amount_kobo": 4858008,
            "total_external_transfers_amount_kobo": 400000,
            "total_bill_payment_amount_kobo": 80000,
            "total_bill_payment_from_wallet_amount_kobo": 80000,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "past_six_months": {
            "total_number_of_users_registered": 62,
            "total_number_of_admins_profiled": 1,
            "total_funding_amount_kobo": 52716790,
            "total_wallet_funding_amount_kobo": 52416790,
            "total_account_funding_amount_kobo": 300000,
            "total_transfers_amount_kobo": 29625474,
            "total_internal_transfers_amount_kobo": 14662737,
            "total_external_transfers_amount_kobo": 400000,
            "total_bill_payment_amount_kobo": 80000,
            "total_bill_payment_from_wallet_amount_kobo": 80000,
            "total_bill_payment_from_account_amount_kobo": 0
        },
        "past_one_year": {
            "total_number_of_users_registered": 101,
            "total_number_of_admins_profiled": 2,
            "total_funding_amount_kobo": 88289740,
            "total_wallet_funding_amount_kobo": 80789740,
            "total_account_funding_amount_kobo": 7500000,
            "total_transfers_amount_kobo": 37044274,
            "total_internal_transfers_amount_kobo": 18372137,
            "total_external_transfers_amount_kobo": 400000,
            "total_bill_payment_amount_kobo": 1210400,
            "total_bill_payment_from_wallet_amount_kobo": 1210400,
            "total_bill_payment_from_account_amount_kobo": 0
        }
    }
}

Last updated

Was this helpful?