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

# PACB Verification

> The PACB (Payment Against Cash Bill) module facilitates payment verification by allowing merchants to submit payment details along with the corresponding invoice for validation.

Once the payment information is submitted, the respective Payment Service Provider (PSP) verifies the transaction details and sends a webhook notification containing the verification result. Transact Bridge processes the webhook response and updates the payment verification status accordingly.

This webhook-based mechanism enables merchants to verify payments, track their status, and maintain accurate payment records through Transact Bridge.



## OpenAPI

````yaml /api-reference/webhooks/webhooks.json post /pacb_verification/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:
  /pacb_verification/merchant_defined_callbackurl:
    post:
      tags:
        - Webhook
      summary: PACB Verification
      description: >-
        The PACB (Payment Against Cash Bill) module facilitates payment
        verification by allowing merchants to submit payment details along with
        the corresponding invoice for validation.


        Once the payment information is submitted, the respective Payment
        Service Provider (PSP) verifies the transaction details and sends a
        webhook notification containing the verification result. Transact Bridge
        processes the webhook response and updates the payment verification
        status accordingly.


        This webhook-based mechanism enables merchants to verify payments, track
        their status, and maintain accurate payment records through Transact
        Bridge.
      operationId: PACBVerification
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                callbackType:
                  type: string
                  example: PAYMENT_VERIFICATION
                status:
                  type: string
                  example: SUCCESS
                referenceId:
                  type: string
                  example: test-tsp-0028
                tbId:
                  type: string
                  example: 68bb1b3dc00c41e2ddbd40ef
                timestamp:
                  type: string
                  format: date-time
                  example: '2025-09-05T18:54:22.485Z'
                paymentVerificationStatus:
                  type: string
                  example: ACTION_REQUIRED
                paymentVerificationExpiry:
                  type: string
                  format: date-time
                  example: '2025-09-25T23:59:59+05:30'
                requiredDetails:
                  type: array
                  items:
                    type: object
                    properties:
                      remarks:
                        type: string
                        nullable: true
                        example: null
                      docName:
                        type: string
                        example: importer_address
                      docType:
                        type: string
                        example: VALUE
                      docStatus:
                        type: string
                        example: IN_REVIEW
                  example:
                    - remarks: null
                      docName: importer_address
                      docType: VALUE
                      docStatus: IN_REVIEW
                    - remarks: null
                      docName: country_of_origin
                      docType: VALUE
                      docStatus: ACTION_REQUIRED
                    - remarks: null
                      docName: invoice_file
                      docType: DOCUMENT
                      docStatus: IN_REVIEW
                    - remarks: null
                      docName: invoice_number
                      docType: VALUE
                      docStatus: IN_REVIEW
                    - remarks: null
                      docName: ecommerce_order_serial_number
                      docType: VALUE
                      docStatus: IN_REVIEW
                    - remarks: null
                      docName: goods_description
                      docType: VALUE
                      docStatus: IN_REVIEW
                    - remarks: null
                      docName: importer_name
                      docType: VALUE
                      docStatus: IN_REVIEW
            example:
              callbackType: PAYMENT_VERIFICATION
              status: SUCCESS
              referenceId: test-tsp-0028
              tbId: 68bb1b3dc00c41e2ddbd40ef
              timestamp: '2025-09-05T18:54:22.485Z'
              paymentVerificationStatus: ACTION_REQUIRED
              paymentVerificationExpiry: '2025-09-25T23:59:59+05:30'
              requiredDetails:
                - remarks: null
                  docName: importer_address
                  docType: VALUE
                  docStatus: IN_REVIEW
                - remarks: null
                  docName: country_of_origin
                  docType: VALUE
                  docStatus: ACTION_REQUIRED
                - remarks: null
                  docName: invoice_file
                  docType: DOCUMENT
                  docStatus: IN_REVIEW
                - remarks: null
                  docName: invoice_number
                  docType: VALUE
                  docStatus: IN_REVIEW
                - remarks: null
                  docName: ecommerce_order_serial_number
                  docType: VALUE
                  docStatus: IN_REVIEW
                - remarks: null
                  docName: goods_description
                  docType: VALUE
                  docStatus: IN_REVIEW
                - remarks: null
                  docName: importer_name
                  docType: VALUE
                  docStatus: IN_REVIEW
      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.