> ## 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.

# Transaction

> This webhook event is sent to the configured partner URL when the transaction has a status change. Session status can be `PENDING`,` PROCESSING`, `SUCCESS`, `FAILED`.



## OpenAPI

````yaml /api-reference/webhooks/webhooks.json post /transaction/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:
  /transaction/merchant_defined_callbackurl:
    post:
      tags:
        - Webhook
      summary: Transaction
      description: >-
        This webhook event is sent to the configured partner URL when the
        transaction has a status change. Session status can be `PENDING`,`
        PROCESSING`, `SUCCESS`, `FAILED`.
      operationId: transactionWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackType:
                  type: string
                  example: DEPOSIT
                status:
                  type: string
                  example: SUCCESS, FAILED, PENDING, PROCESSING
                referenceId:
                  type: string
                  example: test-tsp-0047
                tbId:
                  type: string
                  example: 68cc61b6b8814a093b6dfe19
                payMethod:
                  type: string
                  example: UPI
                quoteAmount:
                  type: string
                  example: '100'
                settleQuoteAmount:
                  type: string
                  example: '98'
                timestamp:
                  type: string
                  format: date-time
                  example: '2025-09-18T19:48:46.741Z'
                param1:
                  type: string
                  example: ''
                param2:
                  type: string
                  example: ''
                param3:
                  type: string
                  example: ''
                rrn:
                  type: string
                  example: '1758224926335'
            example:
              callbackType: DEPOSIT
              status: SUCCESS
              referenceId: test-tsp-0047
              tbId: 68cc61b6b8814a093b6dfe19
              payMethod: UPI
              quoteAmount: '100'
              settleQuoteAmount: '98'
              timestamp: '2025-09-18T19:48:46.741Z'
              param1: ''
              param2: ''
              param3: ''
              rrn: '1758224926335'
      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.