---
agentTools:
  projectIndex: https://ultrapayments.readme.io/llms.txt
---

# Reenvio de Webhook de Pagamento

Esse é o endpoint destinado a solicitação de reenvio da webhook relacionado a um pagamento.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "WEBHOOK'S",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api-kosmos.ultrapayments.com.br/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/payments/api/notifications/webhooks/{paymentId}/retry": {
      "post": {
        "summary": "Reenvio de Webhook de Pagamento",
        "description": "",
        "operationId": "reenvio-de-webhook",
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "description": "ID identificador do pagamento.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Chave de integração única gerado pela [Autenticação de Pagamento (PayAuth)](authentication-introduction) para o estabelecimento.<br><br><b>Formato</b> <br>Bearer `<access_token>`",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Sucesso": {
                    "value": "{\n  \"message\": \"Webhook sent\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Webhook sent"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Não Autorizado": {
                    "value": "{\n  \"message\": \"Token not provided, authorization denied\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Token not provided, authorization denied"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Não Encontrado": {
                    "value": "{\n  \"message\": \"Payment not found\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Payment not found"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "65c673f25926120017cc6f6c:65c6767e7b55aa2760428989"
}
```