Agregadores y PSPaaS
Webhook Operaciones
1min
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 operación aprobada { "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 { "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 { "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" } } }