# Definición Webhook

Los webhook consisten en una petición HTTP Post generada por Wompi hacia la URL que el comercio ha definid como webhook.

El contenido de un webhook es el siguiente:

```
{
  "IdCuenta": "980b36e6-15ab-463f-4444-ada3e396fe48",
  "FechaTransaccion": "2020-07-07T21:27:03.3403497-06:00",
  "Monto": 1,
  "ModuloUtilizado": "BotonPago",
  "FormaPagoUtilizada": "PagoNormal",
  "IdTransaccion": "2bedafea-0924-49f0-927d-8c638e193990",
  "ResultadoTransaccion": "ExitosaAprobada",
  "CodigoAutorizacion": "ba7dbfd3-50d1-403c-bbfd-d3be5dc766f8",
  "IdIntentoPago": "c6e10505-cada-4ae7-9892-d8786b7f455f",
  "Cantidad": 1,
  "EsProductiva": false,
  "Aplicativo": {
    "Nombre": "Sitio Web Bitworks",
    "Url": "https://www.bitworks.com.sv/",
    "Id": "d432aef2-3333-4a75-4444-22e20789834a"
  },
  "EnlacePago": {
    "Id": 66,
    "IdentificadorEnlaceComercio": "OC1234",
    "NombreProducto": "Camisa Azula"
  },
  "cliente": {
    "Nombre": "string",
    "Email": "string",
    "additionalProp1": "string",
    "additionalProp2": "string"
  }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wompi.sv/webhook/definicion-webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
