---
title: "MCA Analysis"
method: POST
path: "/api/v1/skitty/analytics/account-summary/"
---

# MCA Analysis

`POST /api/v1/skitty/analytics/account-summary/`

## Query parameters

- `allow_partial` boolean
- `webhook` boolean

## Headers

- `apikey` string, required

## Request body

- object
  - `doc_ids` string[] — List of document IDs to process.
  - `mca_list_db_table` string — Database table name for MCA (Merchant Cash Advance) list
  - `non_mca_list_db_table` string — Database table name for non-MCA list

## Response `200`

200

- object
  - `account_summaries` array[]
    - object[]
      - `account_info` object
        - `account_address` string
        - `account_name` string
        - `account_number` string
        - `account_type` string
        - `bank_name` string
        - `end_date` string
        - `month` string
        - `start_date` string
      - `summary` object
        - `start_date` string
        - `end_date` string
        - `month` string
        - `average_balance` string
        - `closing_balance` string
        - `days_with_negative_balance` string
        - `holdback_percentage` string
        - `mca_debits` string
        - `mca_deposits` string
        - `no_od_nsf` string
        - `no_of_deposits` string
        - `no_of_overdraft_transactions` string
        - `no_of_revenue` string
        - `no_of_withdrawals` string
        - `opening_balance` string
        - `total_deposits` string
        - `total_non_revenue` string
        - `total_revenue` string
        - `total_withdrawals` string
      - `transactions` object
        - `mca` object
          - `debits` object[]
            - `amount` string
            - `balance` string
            - `category` string
            - `check_no` string
            - `credit` string
            - `date` string
            - `debit` string
            - `description` string
            - `features` object
              - …
            - `id` string
            - `ignore` string
            - `merchant` object
              - …
            - `month` string
            - `subcategory` string
            - `type` string
            - `weekday` string
          - `deposits` string
        - `nsf_ods` object
          - `nsf` string
          - `ods` string
        - `transaction_patterns` object
          - `duplicates` string
          - `matching` string
          - `recurring` string

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/docsumo/apis/docsumo-api.md) · [All operations](https://skmtc.dev/docsumo/apis/docsumo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docsumo/docsumo-api/revisions/b29ba62ebe9b/schema)
