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

# Chargeback

> This webhook is sent to the configured partner URL when a chargeback is initiated or the status is changed.



## OpenAPI

````yaml /api-reference/webhooks/webhooks.json post /chargeback/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:
  /chargeback/merchant_defined_callbackurl:
    post:
      tags:
        - Webhook
      summary: Chargeback
      description: >-
        This webhook is sent to the configured partner URL when a chargeback is
        initiated or the status is changed.
      operationId: chargeBackWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackType:
                  type: string
                  example: CHARGEBACK
                type:
                  type: string
                  example: CHARGEBACK
                status:
                  type: string
                  example: PENDING
                tbId:
                  type: string
                  example: 65ce0ade570326c36220728d
                qouteAmount:
                  type: string
                  example: '100'
                timestamp:
                  type: string
                  format: date-time
                  example: '2024-02-15T13:15:30.000Z'
                invoiceId:
                  type: string
                  example: 65ce09e93e6577476e6dd00a
                subscriptionId:
                  type: string
                  example: 65ce09b363f60144efcfbed1
                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.