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

# Get Webhook

> Fetch a webhook.



## OpenAPI

````yaml GET /api/b2b/webhook/{id}
openapi: 3.1.0
info:
  title: Zerocash API
  version: 1.0.0
  description: >-
    The Zerocash API lets you collect payments (charges) and disburse funds
    (payouts) across supported markets through a single, unified integration.
servers:
  - url: https://api.zerocash.tech
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Obtain and manage API credentials.
  - name: Reference Data
    description: Look up countries, banks, operators, and rates before transacting.
  - name: Charges
    description: Collect payments from your customers.
  - name: Payouts
    description: Disburse funds to recipients.
  - name: Transactions
    description: Retrieve and reconcile transactions.
  - name: Webhooks
    description: Receive and replay real-time event notifications.
paths:
  /api/b2b/webhook/{id}:
    get:
      tags:
        - Webhooks
      summary: Get Webhook
      description: Fetch a webhook.
      operationId: get-webhook
      parameters:
        - name: id
          in: path
          description: Webhook id
          schema:
            type: string
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    success: true
                    data:
                      createdAt: '2025-05-12T09:31:59.559Z'
                      data:
                        transactionId: '123456789'
                        status: pending
                        type: deposit
                        externalReference: '0987654321'
                      response:
                        status: ok
                      event: transaction_created
                      webhookUrl: >-
                        https://webhook.site/76e0116d-27f4-4665-bd9d-46877d95d47a
                      status: SUCCESS
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    default: true
                  data:
                    type: object
                    properties:
                      createdAt:
                        type: string
                        example: '2025-05-12T09:31:59.559Z'
                      data:
                        type: object
                        properties:
                          transactionId:
                            type: string
                            example: '123456789'
                          status:
                            type: string
                            example: pending
                          type:
                            type: string
                            example: deposit
                          externalReference:
                            type: string
                            example: '0987654321'
                      response:
                        type: object
                        properties:
                          status:
                            type: string
                            example: ok
                      event:
                        type: string
                        example: transaction_created
                      webhookUrl:
                        type: string
                        example: >-
                          https://webhook.site/76e0116d-27f4-4665-bd9d-46877d95d47a
                      status:
                        type: string
                        example: SUCCESS
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````