---
title: Webhook Operaciones
slug: webhook-operaciones
description: Learn how to use webhooks or callbacks to stay updated with real-time information about your sub-merchant operations. This document includes a detailed JSON example with descriptions of various fields, such as payment type, user information, sub-merchant 
createdAt: 2022-05-24T08:43:01.000Z
---

El Webhook o Callback de Operaciones le permitirá obtener información en tiempo real de las operaciones de sus Sub-Comercios como así también Obtener información de lo cobrado como Costo de Servicio o Impuestos deducidos durante la operación.

| Campo             | Descripción                                                                                                                                                        |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| type              | Tipo de Cobro Procesado                                                                                                                                            |
| data              | Información general del Cobro                                                                                                                                      |
| data.user         | Usuario o Tarjeta-Habiente                                                                                                                                         |
| data.deviceData   | Indica la terminal física con la que se ejecutó el pago                                                                                                            |
| data.entity       | Información del Sub-Comercio                                                                                                                                       |
| data.payment      | Información completa del Cobro Realizado y Medio de Pago                                                                                                           |
| data.customer     | Información ampliada del cliente de la Operación                                                                                                                   |
| data.service      | Costo del Servicio calculado en base a las reglas definidas y su fecha de acreditación                                                                             |
| data.net          | Monto neto de la operación. Corresponde con las transacciones que aplican para dicho cupón.                                                                        |
| data.transactions | Transacciones realizadas en la operación como cálculo de impuestos, costo de servicio u otros. Cada tipo de Transacción posee una codificación para identificarla. |
| data.settlement   | Contiene información de la última liquidación asociada al cupón. Si no existen liquidaciones, este campo no se envía.                                              |



:::CodeblockTabs
Operación Aprobada

```json
{
    "type": "operator",
    "data": {
        "result": true,
        "user": {
            "name": "Bruce Wayne",
            "email": "bruce@wayne.com"
        },
        "deviceData": {
            "appVersion": "0.6.0",
            "buildNumber": "600",
            "manufacturer": "ingenico",
            "model": "DX8000",
            "os": "android",
            "serialNumber": "ING:226GCD8H7743"
        },
        "view": {
            "type": "card"
        },
        "entity": {
            "uid": "gcynnGJwU",
            "reference": "123456",
            "name": "Wayne, Inc",
            "tax_id": "123456789"
        },
        "source": {
            "name": "visa",
            "type": "card",
            "reference": "visa.galicia"
        },
        "payment": {
            "context": "plugin.value.pos:mobile.pos",
            "id": "PWSbfHH9A",
            "total": 6705,
            "source": {
                "name": "Visa Galicia",
                "type": "card",
                "number": "450799******0010",
                "reference": "visa.galicia",
                "cardholder": {
                    "name": "Bruce Wayne"
                },
                "expiration": {
                    "year": "12",
                    "month": "35"
                },
                "installment": {
                    "count": 1,
                    "amount": 0,
                    "reference": "",
                    "description": "1"
                },
                "transaction": {
                    "batchNo": "10",
                    "ticketNo": "1234",
                    "transactionId": "PWSbfHH9A",
                    "authorizationCode": "1010101010"
                }
            },
            "status": {
                "code": "200",
                "data": {},
                "text": "Transacción Aprobada",
                "view": "default",
                "message": "Transacción Aprobada",
                "resultCode": 0
            },
            "created": "2022-05-24T08:26:05.377Z",
            "updated": "2022-05-24T08:26:09.966Z",
            "currency": {
                "code": "ARS",
                "text": "Peso Argentino",
                "locale": "es-AR",
                "symbol": "$"
            },
            "operation": {
                "type": "payment.v2"
            },
            "reference": "576127271",
            "description": "Compra: 576127271",
            "riskAnalysis": {
                "band": "N/A",
                "level": "N/A"
            },
            "requestedTotal": 6705,
            "requestedCurrency": {
                "code": "ARS",
                "text": "Peso Argentino",
                "locale": "es-AR",
                "symbol": "$"
            }
        },
        "customer": {
            "name": "Bruce Wayne",
            "email": "bruce@wayne.com",
            "phone": "+15555555555",
            "identification": "12123123"
        },
        "service": {
            "rule": "223ssTHACBy",
            "percentage": 2,
            "amount": 0,
            "total": 35,
            "paymentDate": 1653381736930
        },
        "net": {
             "total": 0,
             "currency": "ARS"
        },
        "transactions": []
    }
}
```

Operacion QR Aprobada

```none
{
  "data": {
    "conciliation": {},
    "customer": {
      "identification": "12123123",
      "name": "Prueba"
    },
    "entity": {
      "name": "Empresa de Prueba",
      "owner": "64c3ba2731c7b51111111111",
      "taxIdType": "arg.cuit",
      "tax_id": "30999999999",
      "type": "merchant",
      "uid": "BG3YTV1NU8XRVRMH9UYLRV"
    },
    "net": {
      "currency": "ARS",
      "total": 0
    },
    "payment": {
      "context": "plugin.value.checkout:web",
      "created": "2025-01-22T13:19:19.288Z",
      "currency": {
        "code": "ARS",
        "exponent": 2,
        "locale": "es-AR",
        "symbol": "$",
        "text": "Peso Argentino"
      },
      "description": "Venta con QR",
      "id": "ET3Q0DAVHDZ4ZSV8137281",
      "operation": {
        "type": "payment.v2"
      },
      "reference": "LIhU1rMBl",
      "requestedCurrency": {
        "code": "ARS",
        "exponent": 2,
        "locale": "es-AR",
        "symbol": "$",
        "text": "Peso Argentino"
      },
      "requestedTotal": 10174.42,
      "riskAnalysis": {
        "band": "N/A",
        "level": "N/A"
      },
      "source": {
        "name": "QR Interoperable Argentina",
        "reference": "arg.qr",
        "transaction": {
          "receiverAccount": "0000009300000000000352",
          "receiverAccountType": "cvu",
          "receiverId": "30999999999",
          "senderAccount": "0000003100127572961020",
          "senderAccountType": "arg.cvu",
          "senderId": "12123123",
          "senderIdType": "arg.dni",
          "senderIssuerName": "MERCADO PAGO",
          "senderName": "Cliente de Prueba"
        },
        "type": "p2p"
      },
      "status": {
        "code": "200",
        "data": {},
        "message": "QR Aprobado",
        "resultCode": "0",
        "text": "Aprobado",
        "view": "default"
      },
      "total": 10174.42,
      "updated": "2025-01-22T13:19:43.670Z"
    },
    "result": true,
    "service": {
      "amount": 0,
      "paymentDate": "2025-01-27T09:00:00.000Z",
      "percentage": 0.6,
      "rule": "1RFZQLIOY4UOK3XHS4",
      "total": 61.05
    },
    "settlement": {
      "status": "1",
      "status_message": "",
      "uid": ""
    },
    "source": {
      "name": "QR Interoperable Argentina",
      "reference": "arg.qr",
      "type": "p2p"
    },
    "transactions": [],
    "user": {
      "email": "demo@sugaway.com",
      "id": "66295abce61e575bc9dff7ef",
      "identification": "12123123",
      "name": "Cliente de Ecommerce",
      "phone": "+543511212122"
    },
    "view": {
      "type": "p2p"
    }
  },
  "type": "operator"
}
```

Operación Acreditada

```json
{
    "type": "operator",
    "data": {
        "result": true,
        "user": {
            "name": "Bruce Wayne",
            "email": "bruce@wayne.com"
        },
        "deviceData": {
            "appVersion": "0.6.0",
            "buildNumber": "600",
            "manufacturer": "ingenico",
            "model": "DX8000",
            "os": "android",
            "serialNumber": "ING:226GCD8H7743"
        },
        "view": {
            "type": "card"
        },
        "entity": {
            "uid": "gcynnGJwU",
            "reference": "123456",
            "name": "Wayne, Inc",
            "tax_id": "123456789"
        },
        "source": {
            "name": "visa",
            "type": "card",
            "reference": "visa.galicia"
        },
        "payment": {
            "context": "plugin.value.pos:mobile.pos",
            "id": "PWSbfHH9A",
            "total": 6705,
            "source": {
                "name": "Visa Galicia",
                "type": "card",
                "number": "450799******0010",
                "reference": "visa.galicia",
                "cardholder": {
                    "name": "Bruce Wayne"
                },
                "expiration": {
                    "year": "12",
                    "month": "35"
                },
                "installment": {
                    "count": 1,
                    "amount": 0,
                    "reference": "",
                    "description": "1"
                },
                "transaction": {
                    "batchNo": "10",
                    "ticketNo": "1234",
                    "transactionId": "PWSbfHH9A",
                    "authorizationCode": "1010101010"
                }
            },
            "status": {
                "code": "300",
                "data": {},
                "text": "Transacción Acreditada",
                "view": "default",
                "message": "Transacción Acreditada",
                "resultCode": 0
            },
            "created": "2022-05-24T08:26:05.377Z",
            "updated": "2022-05-24T08:26:09.966Z",
            "currency": {
                "code": "ARS",
                "text": "Peso Argentino",
                "locale": "es-AR",
                "symbol": "$"
            },
            "operation": {
                "type": "payment.v2"
            },
            "reference": "576127271",
            "description": "Compra: 576127271",
            "riskAnalysis": {
                "band": "N/A",
                "level": "N/A"
            },
            "requestedTotal": 6705,
            "requestedCurrency": {
                "code": "ARS",
                "text": "Peso Argentino",
                "locale": "es-AR",
                "symbol": "$"
            }
        },
        "customer": {
            "name": "Bruce Wayne",
            "email": "bruce@wayne.com",
            "phone": "+15555555555",
            "identification": "12123123"
        },
        "service": {
            "rule": "223ssTHACBy",
            "percentage": 2,
            "amount": 0,
            "total": 35,
            "paymentDate": 1653381736930
        },
        "net": {
             "total": 6667.5,
             "currency": "ARS"
        },
        "transactions": [
            {
                "uid": "LcvsZqDCUl",
                "status": "300",
                "description": "Retención IVA",
                "type": "Tax",
                "currency": {
                    "value": "ARS",
                    "label": "Peso Argentino",
                    "symbol": "$",
                    "locale": "es-AR",
                    "hidden": false
                },
                "total": -2,
                "updated": "2021-11-18T18:02:06.759Z",
                "created": "2021-11-07T03:01:26.804Z"
            },
            {
                "uid": "LcvsZqDCUl",
                "status": "300",
                "description": "Retención Ingresos Brutos",
                "type": "Tax",
                "currency": {
                    "value": "ARS",
                    "label": "Peso Argentino",
                    "symbol": "$",
                    "locale": "es-AR",
                    "hidden": false
                },
                "total": -0.5,
                "updated": "2021-11-18T18:02:06.759Z",
                "created": "2021-11-07T03:01:26.804Z"
            },
            {
                "uid": "LcvsZqDCUl",
                "status": "300",
                "description": "Costo de Servicio",
                "type": "Service",
                "currency": {
                    "value": "ARS",
                    "label": "Peso Argentino",
                    "symbol": "$",
                    "locale": "es-AR",
                    "hidden": false
                },
                "total": -35,
                "updated": "2021-11-18T18:02:06.759Z",
                "created": "2021-11-07T03:01:26.804Z"
            },
            {
                "uid": "LcvsZqDCUl",
                "status": "300",
                "description": "Pago",
                "type": "Payment",
                "currency": {
                    "value": "ARS",
                    "label": "Peso Argentino",
                    "symbol": "$",
                    "locale": "es-AR",
                    "hidden": false
                },
                "total": 6705,
                "updated": "2021-11-18T18:02:06.759Z",
                "created": "2021-11-07T03:01:26.804Z"
            }
        ],
        "settlement": {
             "uid": "PI47DSD1Y35RXKY4360NXK",
             "status": "1",
             "status_message": "Pendiente de Acreditación"
        }
    }
}
```
:::

