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

# Queue a new delivery attempt for a SimplePay webhook event



## OpenAPI

````yaml /en/openapi.json post /v1/webhook_event_replays/{id}
openapi: 3.1.0
info:
  title: SimplePay API
  version: '2026-06-13'
  description: >-
    Contrato público para integrar SimplePay desde un backend. Incluye
    únicamente operaciones para comercios y administración protegida de
    credenciales.
servers:
  - description: Live
    url: https://api.simplepay.mx
  - description: Sandbox
    url: https://api.test.simplepay.mx
security:
  - SimplePayApiKey: []
tags:
  - name: API keys
  - name: Hosted Checkout
  - name: Payment Links
  - name: Payments
  - name: Refunds
  - name: Webhooks
  - name: Digital Catalog
  - name: Payment Policy
  - name: Reporting
  - name: Workspace
  - name: Customer Hub
  - name: Bookable Payments
  - name: Table Pay
  - name: Physical Checkout
  - name: In-person Payments
  - name: Terminal
  - name: Tap to Pay
  - name: Ticketing
  - name: Admission Control
  - name: Intelligence
externalDocs:
  description: SimplePay developer documentation
  url: https://docs.simplepay.mx
paths:
  /v1/webhook_event_replays/{id}:
    post:
      tags:
        - Webhooks
      summary: Queue a new delivery attempt for a SimplePay webhook event
      operationId: replayWebhookEvent
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
        - name: id
          in: path
          required: true
          schema:
            type: string
            pattern: ^spevt_[a-z0-9]{32}$
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              maxProperties: 1
              properties:
                endpoint_id:
                  type: string
                  pattern: ^spwe_[a-z0-9]{32}$
      responses:
        '200':
          description: The durable replay command was accepted by the outbound queue.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - delivery_count
                  - id
                  - replayed
                  - status
                properties:
                  delivery_count:
                    type: integer
                    minimum: 1
                  id:
                    type: string
                    pattern: ^spevt_[a-z0-9]{32}$
                  replayed:
                    type: boolean
                  status:
                    type: string
                    const: queued
        '400':
          description: The closed replay body or Idempotency-Key is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
        '404':
          description: No webhook event exists in the authenticated tenant and environment.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
        '409':
          description: >-
            Idempotency conflict, delivery already in progress, or no eligible
            endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
        '413':
          description: The bounded request body is too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
        '502':
          description: >-
            The control-plane replay receipt is unavailable or violates its
            closed contract.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
        '503':
          description: The outbound queue did not durably accept the replay pointer.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimplePayErrorResponse'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      schema:
        type: string
        minLength: 8
        maxLength: 255
  schemas:
    SimplePayErrorResponse:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              minLength: 1
              maxLength: 96
            message:
              type: string
              minLength: 1
              maxLength: 512
            details: {}
  securitySchemes:
    SimplePayApiKey:
      type: http
      scheme: bearer

````