# Mandate Debit Callback

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /post:
    post:
      summary: Mandate Debit Callback
      deprecated: false
      description: >-

        :::highlight purple 📌

        EnKash sends this callback (webhook) to notify you about the status of a
        mandate debit—such as success, failure, or pending. Use this to
        automatically update your records and keep your customer payment
        statuses in sync.

        :::
      tags:
        - Payment Gateway/APIs - Payment Gateway /UPI Autopay
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                surcharge:
                  type: number
                surchargeGst:
                  type: number
                amount:
                  type: number
                finalAmount:
                  type: number
                paymentMode:
                  type: string
                bankCode:
                  type: string
                bankName:
                  type: string
                cardScheme:
                  type: string
                currency:
                  type: string
                checksum:
                  type: string
                status:
                  type: string
                transactionId:
                  type: string
                txnMsg:
                  type: string
                txnDate:
                  type: string
                  format: date-time
                uniqueTransactionId:
                  type: string
                maskedCardNumber:
                  type: string
                cardHolderName:
                  type: string
                paymentToken:
                  type: string
                bankTransactionId:
                  type: string
                mdr:
                  type: number
                mdrGst:
                  type: number
                transactionAmount:
                  type: number
                orderId:
                  type: string
                orderStatus:
                  type: string
                transactionStatus:
                  type: string
              required:
                - surcharge
                - surchargeGst
                - amount
                - finalAmount
                - paymentMode
                - bankCode
                - bankName
                - cardScheme
                - currency
                - checksum
                - status
                - transactionId
                - txnMsg
                - txnDate
                - uniqueTransactionId
                - maskedCardNumber
                - cardHolderName
                - paymentToken
                - bankTransactionId
                - mdr
                - mdrGst
                - transactionAmount
                - orderId
                - orderStatus
                - transactionStatus
              x-apidog-orders:
                - surcharge
                - surchargeGst
                - amount
                - finalAmount
                - paymentMode
                - bankCode
                - bankName
                - cardScheme
                - currency
                - checksum
                - status
                - transactionId
                - txnMsg
                - txnDate
                - uniqueTransactionId
                - maskedCardNumber
                - cardHolderName
                - paymentToken
                - bankTransactionId
                - mdr
                - mdrGst
                - transactionAmount
                - orderId
                - orderStatus
                - transactionStatus
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: Payment Gateway/APIs - Payment Gateway /UPI Autopay
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-13816882-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
