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

# Retrieve Webhook Event

> Retrieve one event and its canonical payload



## OpenAPI

````yaml api-reference/payment-webhooks/openapi.json GET /v1/webhook_events/{event_id}
openapi: 3.1.0
info:
  title: Modulus Payment Webhooks API
  version: 1.0.0
  description: Manage Payment Webhook endpoints, signing secrets, and persisted events.
servers:
  - url: https://api.sbx.moduluslabs.io
    description: >-
      Sandbox. Use the base URL supplied with your production credentials when
      going live.
security:
  - ApiKey: []
tags:
  - name: Webhook endpoints
  - name: Signing secrets
  - name: Webhook events
paths:
  /v1/webhook_events/{event_id}:
    parameters:
      - $ref: '#/components/parameters/EventId'
    get:
      tags:
        - Webhook events
      summary: Retrieve a webhook event
      description: Requires `webhooks.read` and ownership of the event.
      operationId: getWebhookEvent
      responses:
        '200':
          description: Event and canonical payload retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEvent'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    EventId:
      name: event_id
      in: path
      required: true
      description: Webhook event identifier returned by the event list operation.
      schema:
        type: string
        format: uuid
  schemas:
    WebhookEvent:
      allOf:
        - $ref: '#/components/schemas/WebhookEventSummary'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              additionalProperties: true
              description: >-
                Persisted canonical event data. The signed delivery envelope
                adds `id`, `type`, and `created_at`.
    WebhookEventSummary:
      type: object
      required:
        - id
        - type
        - status
        - created_at
      properties:
        id:
          type: string
          format: uuid
          description: >-
            Unique webhook event identifier. Use it to retrieve or retrigger
            this event.
        type:
          allOf:
            - $ref: '#/components/schemas/EventType'
          description: Payment event type.
        status:
          type: string
          enum:
            - PENDING
            - SUBMITTING
            - SUBMIT_FAILED
            - SUBMITTED
            - DELIVERED
            - EXHAUSTED
            - NOT_SUBSCRIBED
          description: >-
            Receiver submission status. `SUBMITTED` means accepted for delivery,
            not confirmed merchant receipt.
        created_at:
          type: string
          format: date-time
          description: UTC RFC 3339 timestamp when the webhook event was created.
    ErrorEnvelope:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          description: Error returned for an unsuccessful Payment Webhooks API request.
          required:
            - code
            - message
            - correlation_id
          properties:
            code:
              type: string
              description: Machine-readable error code.
              example: INVALID_DESCRIPTION
            message:
              type: string
              description: >-
                Human-readable validation message. Public field tokens retain
                their API spelling; do not branch on its wording.
              example: description must be 255 characters or fewer.
            correlation_id:
              type: string
              format: uuid
              description: Unique request identifier. Include it when contacting support.
    EventType:
      type: string
      description: Payment event type delivered to a subscribed endpoint.
      enum:
        - payment.succeeded
        - payment.declined
        - payment.failed
        - payment.expired
  responses:
    BadRequest:
      description: The request failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: The API key is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: The key lacks the required scope or resource ownership.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: The resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    InternalError:
      description: An internal error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: A Modulus API key with the required webhook scope.

````