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

# Replay a webhook

> Queue a new delivery to every active endpoint for a confirmed, underpaid, or failed payment. This sends real webhook requests. New deliveries have new IDs; deduplicate fulfillment by payment/order.



## OpenAPI

````yaml /openapi.json post /api/v1/payments/manage/intents/{public_id}/replay-webhook/
openapi: 3.0.3
info:
  title: goChameleon Merchant API
  version: 1.0.0
  description: Create hosted USDC payments on Arc and check their status.
servers:
  - url: https://sandbox-api.gochameleon.xyz
    description: Sandbox — test keys
  - url: https://api.gochameleon.xyz
    description: Production — live keys
security:
  - merchantKey: []
paths:
  /api/v1/payments/manage/intents/{public_id}/replay-webhook/:
    post:
      tags:
        - Payments
      summary: Replay a webhook
      description: >-
        Queue a new delivery to every active endpoint for a confirmed,
        underpaid, or failed payment. This sends real webhook requests. New
        deliveries have new IDs; deduplicate fulfillment by payment/order.
      operationId: manage_intents_replay_webhook_create
      parameters:
        - in: path
          name: public_id
          schema:
            type: string
          required: true
      responses:
        '202':
          description: Deliveries queued
          content:
            application/json:
              schema:
                type: object
                properties:
                  event:
                    type: string
                    enum:
                      - payment.confirmed
                      - payment.underpaid
                      - payment.failed
                  queued:
                    type: integer
                  delivery_ids:
                    type: array
                    items:
                      type: string
                      format: uuid
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '404':
          description: Payment not found in this organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '409':
          description: Payment is not replayable, or no active webhook endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
      security:
        - merchantKey: []
components:
  schemas:
    APIError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          nullable: true
        request_id:
          type: string
          nullable: true
  securitySchemes:
    merchantKey:
      type: http
      scheme: bearer
      bearerFormat: Organization API key
      description: Use gck_test_ keys on sandbox and gck_live_ keys on production.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.