# Retrieve Webhook Data

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/webhook-data:
    get:
      summary: Retrieve Webhook Data
      deprecated: false
      description: >-

        :::highlight purple 📌

        Use this API to fetch webhook data sent by EnKash to your configured
        endpoint.

        This is helpful for reviewing event notifications - such as transaction
        status updates or payout confirmations, especially if you need to
        reconcile data or troubleshoot webhook deliveries.

        :::
      operationId: getWebhookData
      tags:
        - Payouts/APIs - Payout/Webhook
        - Webhook Data Apis
      parameters:
        - name: companyId
          in: query
          description: ''
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: >-
                  #/components/schemas/ApplicationResponseListWebhookDataResponse
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Payouts/APIs - Payout/Webhook
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-10664804-run
components:
  schemas:
    ApplicationResponseListWebhookDataResponse:
      type: object
      properties:
        response_code:
          type: integer
          format: int32
        response_message:
          type: string
        payload:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDataResponse'
      x-apidog-orders:
        - response_code
        - response_message
        - payload
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    WebhookDataResponse:
      type: object
      properties:
        companyId:
          type: string
        headers:
          type: object
          additionalProperties:
            type: string
          x-apidog-orders: []
          properties: {}
          x-apidog-ignore-properties: []
        webhookUrl:
          type: string
        sslCertificate:
          type: string
        events:
          type: array
          items:
            type: string
            enum:
              - PAYOUT_SUCCESS
              - PAYOUT_PENDING
              - PAYOUT_FAILED
              - UTILITY_BILLPAY_SUCCESS
              - UTILITY_BILLPAY_FAILED
              - UTILITY_BILLPAY_PENDING
        enabled:
          type: boolean
      x-apidog-orders:
        - companyId
        - headers
        - webhookUrl
        - sslCertificate
        - events
        - enabled
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
