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

# Mandate

> This webhook is sent to the configured partner URL when a mandate status is changed.



## OpenAPI

````yaml /api-reference/webhooks/webhooks.json post /mandate/merchant_defined_callbackurl
openapi: 3.0.3
info:
  title: Webhooks
  description: API's to add and get webhook information.
  version: 1.0.0
servers:
  - url: https://webhook.site
    description: Merchant defined callback URL for testing purposes
security:
  - ApiKeyAuth: []
    SignatureAuth: []
paths:
  /mandate/merchant_defined_callbackurl:
    post:
      tags:
        - Webhook
      summary: Mandate
      description: >-
        This webhook is sent to the configured partner URL when a mandate status
        is changed.
      operationId: mandateWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackType:
                  type: string
                  example: MANDATE
                status:
                  type: string
                  example: CREATED
                tbId:
                  type: string
                  example: 66ebde6d11107c5eb4a29699
                subscriptionId:
                  type: string
                  example: 66ebde4911107c5eb4a29653
                timestamp:
                  type: string
                  format: date-time
                  example: '2024-09-19T08:18:53.900Z'
                payMethod:
                  type: string
                  example: UPI
                quoteAmount:
                  type: string
                  example: '100'
      responses:
        '200':
          description: Webhook received successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ack:
                    type: boolean
                    example: true
              example:
                ack: true
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Merchant API Key
    SignatureAuth:
      type: apiKey
      in: header
      name: x-signature
      description: Generated request signature

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.