# Webhook Request

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /merchant_url:
    post:
      summary: Webhook Request
      deprecated: false
      description: >+

        :::highlight purple 📌

        Use these API details to build a webhook endpoint in your application.
        This allows you to receive real-time notifications from EnKash whenever
        there is an update to a payment link, such as successful payments,
        expirations, or failures.

        :::

      tags:
        - Payment Gateway/APIs - Payment Gateway /Payment Links
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentLinkWebhookRequest'
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-refs: {}
                x-apidog-orders: []
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Payment Gateway/APIs - Payment Gateway /Payment Links
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-11989113-run
components:
  schemas:
    PaymentLinkWebhookRequest:
      type: object
      properties:
        quickCollectRequestId:
          type: string
        type:
          type: string
          enum:
            - PAYMENT
            - DUE_DATE
          x-apidog-enum:
            - value: PAYMENT
              name: ''
              description: ''
            - value: DUE_DATE
              name: ''
              description: ''
        amount:
          type: number
        paymentStatus:
          type: string
          enum:
            - SUCCESS
            - FAILED
          x-apidog-enum:
            - value: SUCCESS
              name: ''
              description: ''
            - value: FAILED
              name: ''
              description: ''
        message:
          type: string
        paymentDate:
          type: string
          format: date-time
      x-apidog-orders:
        - quickCollectRequestId
        - type
        - amount
        - paymentStatus
        - message
        - paymentDate
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
