# Get consumer spending

Returns what the signed-in consumer's agents spent: totals, recent payments, the current or last revoked mandate and the platform operator. Console session only.

`GET /v1/consumer/spending`

Returns what the signed-in consumer's agents spent: totals, recent payments, the current or last revoked mandate and the platform operator. Console session only.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `limit` | query | no | Number of recent payments (default 20, max 200). |

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).

Example 200 response:

```json
{
  "spent": {
    "spent_base_units": "0",
    "payments": 0,
    "last_payment_at": null,
    "budget": {
      "limit_base_units": "1000000",
      "committed_base_units": "0",
      "reserved_base_units": "0",
      "available_base_units": "1000000"
    }
  },
  "payments": [],
  "mandate": {
    "mandate_id": "mdt_01m7dmxxac0m18w8kp6gkq3p6k",
    "version": 1,
    "status": "active",
    "name": "Nova Apps consumer rules",
    "kind": "consumer",
    "limits": {
      "hard_cap": 500000,
      "plan_hard_cap": 1500000,
      "auto_threshold": 100000,
      "card_hard_cap_cents": 2500,
      "unknown_merchant_limit": 100000,
      "card_auto_threshold_cents": 500
    },
    "allowed": {
      "rails": [
        "x402"
      ],
      "tiers": [
        "UNKNOWN",
        "KNOWN"
      ],
      "assets": [
        "USDC",
        "USDT"
      ],
      "chains": [
        "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
        "eip155:84532"
      ],
      "categories": [
        "data",
        "ai"
      ]
    },
    "expires_at": "2026-11-28T23:59:59Z",
    "hash": "f92d3dbcfa572ebbb61ea422fe92c204862cbc3ed5ef69241ce1a9aeee259fd9",
    "signed_at": "2026-11-14T18:25:47.342531Z"
  },
  "operator": {
    "id": "org_01m7dmxxa29hvn42was65jge7z",
    "name": "Nova Apps"
  }
}
```
