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

# Simulate Webhook

> This endpoint lets you simulate webhook events in the sandbox environment, allowing you to test your webhook handling code without waiting for real events.



## OpenAPI

````yaml POST /api/sandbox/b2b/utilities/simulate-webhook
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/sandbox/b2b/utilities/simulate-webhook:
    post:
      tags:
        - Webhooks
      summary: Simulate Webhook
      description: >-
        This endpoint lets you simulate webhook events in the sandbox
        environment, allowing you to test your webhook handling code without
        waiting for real events.
      operationId: simulate-webhook
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - externalReference
              properties:
                webhookStatus:
                  type: string
                  description: >-
                    The status of the transaction. e.g successful or failed.
                    Defaults to successful
                  default: successful
                externalReference:
                  type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````