Fields inside operationuse camelCase, unlike the top-level event fields and the request body, which use snake_case. This mirrors the terminal's internal representation — do not normalize it when deserializing.
{
"type": "charge",
"amount": {
"iva": 0,
"subtotalIva": 0,
"subtotalIva0": 12000,
"tip": 0,
"extraTaxes": {
"airportTax": 0,
"iac": 0,
"ice": 0,
"travelAgency": 0
}
},
"clientTransactionId": "c5a3f3be-9d6f-4d39-8af5-58dbb589af79",
"transactionReference": "bdf6fcc3-7131-49cb-9436-087f9c09ad16",
"eventsWebHook": "https://api.negocio.mx/webhook/terminal-events",
"metadata": {
"reference": "ORD-20240317-001",
"customerEmail": "user@example.com",
"device": "SUNMI-P3"
}
}