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

# Retrieve an Event

> [!NOTE]
>
> See [Errors](https://docs.lead.bank/api-reference/using-the-api/errors-v2.md) for the common errors every v2 endpoint can return.


## OpenAPI

````yaml https://docs.lead.bank/openapi.json GET /v2/events/{event_id}
openapi: 3.0.1
info:
  title: Lead Bank
  description: Lead Bank's APIs
  version: v1.0
servers:
  - url: https://api.sandbox.lead.bank
  - url: https://api.lead.bank
security:
  - bearerAuth: []
tags:
  - name: ACH
  - name: Account Number
  - name: OAuth
  - name: Events
  - name: Instant Payments
  - name: Lending
  - name: Simulation
  - name: Internal Transfer
  - name: Disbursement
  - name: Entity
  - name: Wire
  - name: Originator
  - name: Funding
  - name: Receivable Sale
  - name: Balances
  - name: Compliance
  - name: Application
  - name: User Account
  - name: Blockchain Payment
  - name: Core Account
  - name: Core Balance
  - name: Core Transaction
  - name: Event Subscription
  - name: Receivable
  - name: User Credit Transaction
  - name: Files
paths:
  /v2/events/{event_id}:
    get:
      tags:
        - Events
      summary: Retrieve an Event
      operationId: retrieve-an-event-v2
      parameters:
        - name: event_id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/EventID'
          example: event_0o5Fs0EELR0fUjHjbCnEtdUwQe3
      responses:
        '200':
          description: An Event object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventV2'
        4XX:
          $ref: '#/components/responses/ErrorDefault'
        5XX:
          $ref: '#/components/responses/ErrorServer'
components:
  schemas:
    EventID:
      type: string
      description: The ID of the Event object.
      pattern: ^event_[0-9A-Za-z]{27}$
      example: event_0o5Fs0EELR0fUjHjbCnEtdUwQe3
    EventV2:
      type: object
      required:
        - id
        - object_id
        - object_type
        - event
        - created_at
      properties:
        id:
          $ref: '#/components/schemas/EventID'
        object_id:
          type: string
          description: ID of the object the event is about.
          example: wire_xyz001
        object_type:
          $ref: '#/components/schemas/EventObjectType'
          description: The type of object the event is about.
          example: instant_payment
        event:
          $ref: '#/components/schemas/EventType'
          description: The type of event.
          example: instant_payment.posted
        created_at:
          type: string
          format: date-time
          description: Timestamp at which the Event object was created.
          example: '2024-06-01T12:00:00Z'
    EventObjectType:
      type: string
      description: The type of the object the event is about.
      example: wire
      enum:
        - ach
        - account_number
        - internal_transfer
        - disbursement
        - wire
        - instant_payment
        - funding
        - receivable_sale
        - blockchain_payment
    EventType:
      type: string
      description: The type of event.
      enum:
        - ach.processing
        - ach.submitted
        - ach.posted
        - ach.under_review
        - ach.approved
        - ach.rejected
        - ach.pending_return
        - ach.returned
        - ach.corrected
        - ach.canceled
        - ach.scheduled
        - ach.return_dishonored
        - ach.return_contested
        - account_number.created
        - account_number.activated
        - account_number.deactivated
        - account_number.canceled
        - internal_transfer.succeeded
        - internal_transfer.failed
        - internal_transfer.posted
        - internal_transfer.rejected
        - lending.disbursement.processing
        - lending.disbursement.succeeded
        - lending.disbursement.failed
        - lending.disbursement.ach_correction
        - wire.created
        - wire.under_review
        - wire.scheduled
        - wire.processing
        - wire.posted
        - wire.rejected
        - wire.canceled
        - wire.cancel_pending
        - instant_payment.posted
        - instant_payment.rejected
        - instant_payment.under_review
        - instant_payment.counterparty_status_updated
        - instant_payment.return_request_response_needed
        - instant_payment.return_request_status_updated
        - funding.posted
        - funding.rejected
        - receivable_sale.created
        - receivable_sale.skipped
        - receivable_sale.settled
        - receivable_sale.failed
        - blockchain_payment.created
        - blockchain_payment.under_review
        - blockchain_payment.submitted
        - blockchain_payment.posted
        - blockchain_payment.rejected
        - blockchain_payment.canceled
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: >-
            A human-readable description of the error family. Identical for
            every occurrence of a given `code`; carries no request-specific
            detail.
          example: One or more parameters are invalid.
        errors:
          type: array
          description: >-
            Zero or more specific errors within this family. Always present for
            validation errors, one entry per failing field.
          items:
            $ref: '#/components/schemas/ErrorItem'
    ErrorCode:
      type: string
      description: >-
        A snake_case code identifying the error family — the stable,
        machine-readable value partners branch on, together with the HTTP
        status.
      example: parameters_invalid
      enum:
        - request_malformed
        - content_too_large
        - headers_invalid
        - unsupported_media_type
        - authentication_missing
        - token_invalid
        - source_ip_not_permitted
        - url_invalid
        - object_not_found
        - method_not_allowed
        - idempotency_key_in_use
        - idempotency_request_mismatched
        - rate_limit_exceeded
        - internal_server_error
        - service_unavailable
        - endpoint_disabled
        - gateway_timeout
        - parameters_invalid
        - related_object_invalid
        - related_object_not_ready
        - related_object_incompatible
        - limit_exceeded
        - partner_control_restricted
        - lead_control_restricted
        - object_state_mismatched
        - object_modified_concurrently
        - operation_invalid
    ErrorItem:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: A snake_case code naming the specific error or sub-category.
          example: schema_violation
        message:
          type: string
          description: >-
            A human-readable description of this specific error, with
            interpolated values where relevant.
          example: account_number_id is required.
        parameters:
          type: array
          description: >-
            The request fields that caused this error, as `jq` paths without the
            leading dot. For example, a nested field is `address.city` and an
            array item is `beneficial_owners[1].ownership`. A key with
            characters other than letters, digits, and underscores is
            JSON-quoted, like `metadata["order.id"]`. Headers appear by name,
            like `Idempotency-Key`. Present for validation errors.
          items:
            type: string
          example:
            - account_number_id
  responses:
    ErrorDefault:
      description: >-
        Error. The response body is an Error object; `code` identifies the error
        family and `errors` lists field-level detail where applicable. See the
        Errors guide for the full list of codes per status.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: authentication_missing
            message: >-
              The request has no authentication credentials. Send your API token
              in the Authorization header.
            errors:
              - code: authentication_missing
                message: >-
                  The Authorization header is missing. Send your API token as a
                  bearer token.
                parameters:
                  - Authorization
    ErrorServer:
      description: >-
        Server error. The response body is an Error object; `code` identifies
        the error family. See the Errors guide for the full list of codes per
        status.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: internal_server_error
            message: >-
              Internal server error. Retry with exponential backoff. For a POST,
              PATCH or DELETE, reuse the same Idempotency-Key so the request
              isn't processed twice. If it keeps failing, contact Lead with the
              Lead-Request-ID.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````