GET
/api/v2/mor/public/cards/analyticsGet the API key's merchant card portfolio and daily usage analytics.
Days defaults to 30 and is clamped to 7–90. Balances use stored values; spend totals include successful USD card payments.
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| days (query) | unknown | No |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| PeriodDays | unknown | No | |
| GeneratedAt | string (date-time) | No | |
| TotalCards | unknown | No | |
| ActiveCards | unknown | No | |
| CancelledCards | unknown | No | |
| AssignedCards | unknown | No | |
| UnassignedCards | unknown | No | |
| CardsUsedInPeriod | unknown | No | |
| TransactionCount | unknown | No | |
| TotalAvailableBalance | unknown | No | |
| TotalPendingBalance | unknown | No | |
| TotalSpendUsd | unknown | No | |
| AverageTransactionUsd | unknown | No | |
| DailyUsage | array of MorDailyCardUsage | No |
Example request
curl -X GET "https://{base_url}/api/v2/mor/public/cards/analytics" \
-H "x-api-key: YOUR_API_KEY"This page is generated from the live OpenAPI specification and always matches the current API.