# Merchant home-page summary

`GET /api/v1/dashboard`

MRR normalises each active subscription’s price to one month and groups by currency; trials are excluded (nobody has agreed to pay) and past-due subscriptions are included (the contract exists). Past-due invoices are finalized invoices past their due date.

Needs a full-access key (`*`). No narrower scope opens this route.

## Responses

### 200

Tenant- and mode-scoped summary figures.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "mrr": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string",
                "enum": [
                  "USD",
                  "AUD",
                  "CAD",
                  "GBP",
                  "EUR",
                  "INR",
                  "NPR"
                ],
                "example": "USD"
              },
              "amount_cents": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "Amount in minor units, as a decimal string.",
                "example": "1999"
              }
            },
            "required": [
              "currency",
              "amount_cents"
            ]
          }
        },
        "active_subscriptions": {
          "type": "integer"
        },
        "past_due_invoices": {
          "type": "integer"
        },
        "revenue_this_month": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string",
                "enum": [
                  "USD",
                  "AUD",
                  "CAD",
                  "GBP",
                  "EUR",
                  "INR",
                  "NPR"
                ],
                "example": "USD"
              },
              "amount_cents": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "Amount in minor units, as a decimal string.",
                "example": "1999"
              }
            },
            "required": [
              "currency",
              "amount_cents"
            ]
          }
        }
      },
      "required": [
        "mrr",
        "active_subscriptions",
        "past_due_invoices",
        "revenue_this_month"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
