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

# Record meter events in bulk

> Persists each event with recordUsage (same shape as single POST), after shared meter/customer checks.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/sdk/meter-events/bulk
openapi: 3.0.0
info:
  contact: {}
  description: The SolvaPay REST API specification
  title: SolvaPay REST API
  version: '1.0'
servers: []
security: []
tags: []
paths:
  /v1/sdk/meter-events/bulk:
    post:
      tags:
        - Meter Events
      summary: Record meter events in bulk
      description: >-
        Persists each event with recordUsage (same shape as single POST), after
        shared meter/customer checks.
      operationId: MeterEventsSdkController_recordBulkEvents
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordBulkMeterEventsZodDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  inserted:
                    example: 50
                    type: number
                  success:
                    example: true
                    type: boolean
                type: object
          description: Events recorded
        '400':
          description: Invalid meter name or meter is archived
        '404':
          description: One or more customers not found
      security:
        - SecretKey: []
components:
  schemas:
    RecordBulkMeterEventsZodDto:
      properties:
        events:
          items:
            properties:
              customerRef:
                maxLength: 20
                minLength: 1
                type: string
              meterName:
                minLength: 1
                type: string
              productRef:
                maxLength: 20
                type: string
              properties:
                additionalProperties: true
                type: object
              timestamp:
                type: string
              value:
                type: number
            required:
              - meterName
              - customerRef
            type: object
          minItems: 1
          type: array
      required:
        - events
      type: object
  securitySchemes:
    SecretKey:
      bearerFormat: JWT
      description: >-
        Provider secret API key (sk_live_… / sk_test_…) supplied as a Bearer
        token.
      scheme: bearer
      type: http

````