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

# Refund

> This webhook is sent to the configured partner URL when a refund is initiated or the status is changed. Refund status can be , `PROCESSING`, `SUCCESS`, `FAILED`.



## OpenAPI

````yaml /api-reference/webhooks/webhooks.json post /refund/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:
  /refund/merchant_defined_callbackurl:
    post:
      tags:
        - Webhook
      summary: Refund
      description: >-
        This webhook is sent to the configured partner URL when a refund is
        initiated or the status is changed. Refund status can be , `PROCESSING`,
        `SUCCESS`, `FAILED`.
      operationId: refundWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackType:
                  type: string
                  example: REFUND
                type:
                  type: string
                  example: REFUND
                status:
                  type: string
                  example: PROCESSING
                tbId:
                  type: string
                  example: 65ce0ade570326c36220728d
                quoteAmount:
                  type: string
                  example: '199'
                timestamp:
                  type: string
                  format: date-time
                  example: '2024-02-15T13:00:57.710Z'
                invoiceId:
                  type: string
                  example: 65ce09e93e6577476e6dd00a
                subscriptionId:
                  type: string
                  example: 65ce09b363f60144efcfbedx
                billingSessionId:
                  type: string
                  example: 65ce09b363f60144efcfbed1
      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.