[{"data":1,"prerenderedAt":186},["ShallowReactive",2],{"case-study-payments-integrations":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"area":9,"summary":10,"order":11,"body":12,"_type":180,"_id":181,"_source":182,"_file":183,"_stem":184,"_extension":185},"\u002Fcase-studies\u002Fpayments-integrations","case-studies",false,"","Payments & third-party integrations","Integrations","MercadoPago QR payments, multi-country electronic invoicing, and RIS\u002FLIS bridges — idempotency and signature verification treated as defaults.",2,{"type":13,"children":14,"toc":173},"root",[15,35,44,51,56,62,109,115,138,144,149,155],{"type":16,"tag":17,"props":18,"children":19},"element","blockquote",{},[20],{"type":16,"tag":21,"props":22,"children":23},"p",{},[24,27,33],{"type":25,"value":26},"text","Sanitized excerpt of commercial work on ",{"type":16,"tag":28,"props":29,"children":30},"strong",{},[31],{"type":25,"value":32},"Salutte2 (Alephoo HDE)",{"type":25,"value":34},". No proprietary\ncode is disclosed.",{"type":16,"tag":21,"props":36,"children":37},{},[38],{"type":16,"tag":39,"props":40,"children":43},"img",{"alt":41,"src":42},"Webhook idempotency flow","\u002Fdiagrams\u002Fpayments-webhook.svg",[],{"type":16,"tag":45,"props":46,"children":48},"h2",{"id":47},"context",[49],{"type":25,"value":50},"Context",{"type":16,"tag":21,"props":52,"children":53},{},[54],{"type":25,"value":55},"An EMR product expanding into new payment flows and external systems. Each\nintegration needed to be reliable under real-world conditions: retries, duplicate\nevents, signature verification, and partial failures.",{"type":16,"tag":45,"props":57,"children":59},{"id":58},"what-i-built",[60],{"type":25,"value":61},"What I built",{"type":16,"tag":63,"props":64,"children":65},"ul",{},[66,77,87,97],{"type":16,"tag":67,"props":68,"children":69},"li",{},[70,75],{"type":16,"tag":28,"props":71,"children":72},{},[73],{"type":25,"value":74},"MercadoPago QR + webhook",{"type":25,"value":76}," — a payment flow with blocking UX, webhook ingestion,\nidempotency, and signature verification (+16,000 lines, 94 files).",{"type":16,"tag":67,"props":78,"children":79},{},[80,85],{"type":16,"tag":28,"props":81,"children":82},{},[83],{"type":25,"value":84},"HC → RIS integration",{"type":25,"value":86}," — bridged the EMR to an external radiology system\n(RIS Eden) via a client + factory + controllers + tests (+7.7k\u002F-3k lines).",{"type":16,"tag":67,"props":88,"children":89},{},[90,95],{"type":16,"tag":28,"props":91,"children":92},{},[93],{"type":25,"value":94},"Electronic invoicing with Facturacion.Cl",{"type":25,"value":96}," — enabled platform operations in Chile\n(a new country market).",{"type":16,"tag":67,"props":98,"children":99},{},[100,102,107],{"type":25,"value":101},"A reusable ",{"type":16,"tag":28,"props":103,"children":104},{},[105],{"type":25,"value":106},"integration pattern",{"type":25,"value":108}," (client, signature\u002Fidempotency, retry) applied\nacross webhooks and external APIs, plus social-work\u002Finsurance coverage-validation\nintegrations (obra-social brokers).",{"type":16,"tag":45,"props":110,"children":112},{"id":111},"decisions-worth-defending",[113],{"type":25,"value":114},"Decisions worth defending",{"type":16,"tag":63,"props":116,"children":117},{},[118,128],{"type":16,"tag":67,"props":119,"children":120},{},[121,126],{"type":16,"tag":28,"props":122,"children":123},{},[124],{"type":25,"value":125},"Idempotency + signature verification first.",{"type":25,"value":127}," Webhooks redeliver; a missing\nidempotency key means double-charging or double-processing. I treat \"the\nintegration will receive duplicate\u002Fmalformed events\" as the default.",{"type":16,"tag":67,"props":129,"children":130},{},[131,136],{"type":16,"tag":28,"props":132,"children":133},{},[134],{"type":25,"value":135},"Client + factory for the RIS bridge",{"type":25,"value":137}," — swappable adapter so the EMR isn't\nhard-coupled to one radiology vendor.",{"type":16,"tag":45,"props":139,"children":141},{"id":140},"outcome",[142],{"type":25,"value":143},"Outcome",{"type":16,"tag":21,"props":145,"children":146},{},[147],{"type":25,"value":148},"New payment capability and market expansion (Chile), plus a hardened integration\nlayer reused by subsequent third-party connections — for a product operating across\nArgentina, Chile, Colombia, México, and the Dominican Republic.",{"type":16,"tag":45,"props":150,"children":152},{"id":151},"evidence-public-pr-metadata",[153],{"type":25,"value":154},"Evidence (public PR metadata)",{"type":16,"tag":63,"props":156,"children":157},{},[158,163,168],{"type":16,"tag":67,"props":159,"children":160},{},[161],{"type":25,"value":162},"PR #13461 — MercadoPago QR + webhook (+16k\u002F-5k lines).",{"type":16,"tag":67,"props":164,"children":165},{},[166],{"type":25,"value":167},"PR #13424 — HC → RIS Eden integration (+7.7k\u002F-3k).",{"type":16,"tag":67,"props":169,"children":170},{},[171],{"type":25,"value":172},"PR #13105 — Facturacion.Cl electronic invoicing.",{"title":7,"searchDepth":11,"depth":11,"links":174},[175,176,177,178,179],{"id":47,"depth":11,"text":50},{"id":58,"depth":11,"text":61},{"id":111,"depth":11,"text":114},{"id":140,"depth":11,"text":143},{"id":151,"depth":11,"text":154},"markdown","content:case-studies:payments-integrations.md","content","case-studies\u002Fpayments-integrations.md","case-studies\u002Fpayments-integrations","md",1788209838462]