> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pay.plexos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Revenue Analytics

> Revenue analytics with daily breakdowns.

Returns revenue totals and daily breakdowns for a date range. Use this for dashboards and reporting.

The `transactionsPerDay` field contains a map of date strings to daily revenue data:

```json theme={null}
{
  "transactionsPerDay": {
    "2025-01-15": {
      "revenue": "50000",
      "fees": "1500",
      "count": 5
    }
  }
}
```


## OpenAPI

````yaml GET /v1/analytics/revenue
openapi: 3.1.0
info:
  title: Plexos Pay API
  description: Mobile Money Payment Gateway for African Markets
  version: 1.0.0
  contact:
    name: Plexos Pay
    url: https://plexospay.com
servers:
  - url: https://api.plexospay.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/analytics/revenue:
    get:
      tags:
        - Analytics
      summary: Get revenue analytics
      description: Revenue analytics with daily breakdowns.
      operationId: getRevenue
      parameters:
        - name: startDate
          in: query
          required: true
          schema:
            type: string
            format: date
          example: '2025-01-01'
        - name: endDate
          in: query
          required: true
          schema:
            type: string
            format: date
          example: '2025-01-31'
        - name: currency
          in: query
          schema:
            $ref: '#/components/schemas/Currency'
      responses:
        '200':
          description: Revenue analytics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Revenue'
components:
  schemas:
    Currency:
      type: string
      enum:
        - CVE
        - AOA
      description: ISO currency code
    Revenue:
      type: object
      properties:
        totalRevenue:
          type: string
        totalFees:
          type: string
        totalNetRevenue:
          type: string
        totalTransactions:
          type: integer
        currency:
          type: string
          nullable: true
        period:
          type: object
          properties:
            start:
              type: string
            end:
              type: string
        transactionsPerDay:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DailyRevenue'
    DailyRevenue:
      type: object
      properties:
        revenue:
          type: string
        fees:
          type: string
        count:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key starting with `sk_live_` or `sk_test_`

````