<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Miguel Treviño on Medium]]></title>
        <description><![CDATA[Stories by Miguel Treviño on Medium]]></description>
        <link>https://medium.com/@migueltrevinom?source=rss-b57e856f2b02------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*W3b9NrbE_p7rNkb2</url>
            <title>Stories by Miguel Treviño on Medium</title>
            <link>https://medium.com/@migueltrevinom?source=rss-b57e856f2b02------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 16:15:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@migueltrevinom/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Meet Pam: The AI Agent That Runs Customer Support and Onboarding at Verifik]]></title>
            <link>https://migueltrevinom.medium.com/meet-pam-the-ai-agent-that-runs-customer-support-and-onboarding-at-verifik-f126b6014487?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/f126b6014487</guid>
            <category><![CDATA[kyc-solution]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[kyc]]></category>
            <category><![CDATA[verifik]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 16:32:36 GMT</pubDate>
            <atom:updated>2026-10-20T16:32:36.723Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qBS_0JKsEp0H6PfGBP1byA.png" /></figure><h3>How I connected an AI agent to our ticketing system, Mailgun and our KYC pipeline, and why it now covers work I’d otherwise have hired two or three people for</h3><p><em>By Miguel Treviño, Founder &amp; Engineer at Verifik</em></p><p>Verifik is an identity verification and KYC company. We help businesses across Latin America and beyond verify people: ID lookups, document checks, selfie liveness, face matching and background screening, all through one API.</p><p>We’re a small team, and support was taking over my day. Every new signup needed a welcome and a nudge through KYC. Every KYC submission needed a review. Every billing question needed an answer in the right language, under the right policy.</p><p>So I built Pam.</p><p>Pam is an AI agent that works inside Verifik’s support system. It answers clients on their tickets, welcomes new accounts, pre-reviews KYC submissions, follows up on billing and reaches out to inactive clients. It does this in Spanish and English, every hour, seven days a week. Anything sensitive still comes to me before it goes out.</p><p>This post covers how it works under the hood, what it actually does, and what I learned building it.</p><h3>The problem: support work grows with every signup</h3><p>A verification API attracts a particular kind of support load:</p><ul><li>Onboarding questions. “How do I get my API token?” “Why am I in sandbox?” “What’s the minimum to go live?”</li><li>KYC reviews. Before anyone gets production access to an identity API, we verify <em>them</em>: selfie, liveness, ID document, face match and background checks. Someone has to look at every submission.</li><li>Billing and invoicing. Plans, top-ups, fiscal invoices and country-specific rules.</li><li>Technical questions about specific endpoints and countries.</li><li>Follow-ups, like tickets nobody answered or clients who went quiet.</li></ul><p>None of this is hard on its own. The problem is the volume: it all needs consistent policy, a fast first response and two languages. The usual answer is to hire a support agent, then an onboarding/KYC analyst, then someone for billing follow-ups. I wanted to see how far an agent could get first.</p><h3>The architecture</h3><p>Pam isn’t a chatbot widget sitting on our website. It’s an agent wired into the same systems my team uses:</p><ul><li>It has its own super-admin identity in our admin panel. Every message it posts is labelled as Pam, never as me.</li><li>It has read access to the account data it needs: client profile, KYC status, usage, plan and ticket history. Every lookup stays scoped to the client on that ticket.</li><li>It works from a written playbook: pricing, billing rules, KYC rules, tone and a hard list of things it must never say or do.</li><li>It runs on events (webhooks from our backend) and schedules (hourly and 15-minute routines).</li></ul><p>Here’s the flow end to end:</p><pre>┌──────────────────────────────┐<br>  Client writes an email │  Mailgun inbound route        │<br>  ─────────────────────▶ │  (signed POST to our backend) │<br>                         └──────────────┬───────────────┘<br>                                        │ verify HMAC signature,<br>                                        │ drop auto-replies &amp; loops,<br>                                        │ dedupe by Message-Id<br>                                        ▼<br>  Client opens a ticket  ┌──────────────────────────────┐<br>  in ai.verifik.co ────▶ │  Verifik backend              │<br>                         │  Support tickets + threads    │◀──── Staff in<br>                         └──────────────┬───────────────┘      admin.verifik.co<br>                                        │ on new ticket / new client message<br>                                        │ (skip anything staff or Pam wrote)<br>                                        ▼<br>                         ┌──────────────────────────────┐<br>                         │  Pam webhook (HTTPS + bearer) │<br>                         └──────────────┬───────────────┘<br>                                        ▼<br>                         ┌──────────────────────────────┐<br>                         │  PAM (AI agent)               │<br>                         │  • reads the full thread      │<br>                         │  • looks up that client only  │<br>                         │  • applies the playbook       │<br>                         │  • detects ES / EN            │<br>                         └───────┬──────────────┬───────┘<br>                   safe &amp; clear  │              │  sensitive / ambiguous<br>                                 ▼              ▼<br>                    ┌────────────────┐   ┌─────────────────────┐<br>                    │ Posts reply as │   │ Drafts reply and    │<br>                    │ Pam on thread  │   │ escalates to Miguel │<br>                    └───────┬────────┘   └──────────┬──────────┘<br>                            │                       │ &quot;post it&quot; / edits<br>                            ▼                       ▼<br>                    ┌───────────────────────────────────────────┐<br>                    │ Reply emailed back to client via Mailgun  │<br>                    │ (same thread, ticket # in the subject)    │<br>                    └───────────────────────────────────────────┘</pre><pre>  Scheduled routines (independent of inbound events):<br>   • every hour    → welcome new signups, KYC approval review,<br>                     welcome newly approved clients<br>   • every 15 min  → auto-close resolved tickets nobody replied to<br>   • periodic      → unanswered-ticket audits, low-balance monitoring,<br>                     community mention relay, win-back outreach</pre><h3>Part 1: Email support through Mailgun</h3><p>Clients could always open tickets inside our app at ai.verifik.co. But many people just want to send an email, so we added email as a support channel, with Mailgun doing the heavy lifting.</p><p>Here’s what happens when someone emails our support address:</p><ol><li>Mailgun receives the email and an inbound route forwards it to a webhook on our backend.</li><li>We verify the request. Mailgun signs every forward with an HMAC-SHA256 over a timestamp and token. We reject anything unsigned, tampered with or older than 15 minutes.</li><li>We filter out noise. Out-of-office replies, mail from our own system addresses and auto-responders never open a ticket. That last one matters a lot: an AI agent answering an auto-responder that answers back is a great way to burn a weekend.</li><li>We find the sender. We read the visible From header, not the envelope sender, which is often a relay&#39;s bounce address. If it matches a client or a team member on a client&#39;s account, the ticket belongs to that account. If not, it still becomes a ticket, so no email gets lost.</li><li>We thread replies. Outgoing emails carry the ticket number in the subject and use our support address as the Reply-To. When the client replies, the message lands on the same ticket as a new thread message instead of opening a duplicate.</li><li>We make retries safe. Each email’s Message-Id is stored with a unique index, so if Mailgun retries a delivery we don’t create a second message.</li><li>We sanitize the content. Inbound HTML is stripped of scripts, iframes, hidden elements and unsafe links before it reaches the admin panel or the agent.</li></ol><p>Attachments were the last piece we added: files sent by email are now checked for type, size and count, then stored on the ticket, the same as files uploaded in the app.</p><p>For Pam, the channel makes no difference. An email and an in-app message end up in the same ticket and thread, and Pam’s reply goes back by email automatically.</p><h3>Part 2: How a ticket wakes Pam up</h3><p>Our backend fires a webhook to Pam at two moments:</p><ul><li>when a ticket is created (support_ticket.created)</li><li>when a new message is added to an existing ticket (support_ticket.message)</li></ul><p>A few design choices made this reliable:</p><ul><li>Configuration lives in the database. The webhook URL and its authorization are stored in our global settings, so I can rotate credentials or point to a new endpoint without deploying. The backend only sends to https:// URLs with a bearer token. If either is missing, it sends nothing.</li><li>Loop prevention lives in the backend. If a message was written by staff, or by Pam itself, the webhook never fires. An agent should never be woken by its own reply.</li><li>The webhook never blocks the client. It has a short timeout, and a failure is logged without touching the client’s request. If Pam is down for a minute, the client’s ticket is still saved.</li><li>The payload is lean. Ticket number, title, status, category, source (app or email), client name and the latest message as plain text. Pam pulls whatever else it needs on its own, always scoped to that client.</li></ul><p>When the webhook arrives, Pam:</p><ol><li>Reads the full thread, not just the latest message.</li><li>Checks the client’s account: plan, balance, KYC status, recent usage, open issues.</li><li>Applies the playbook: pricing, billing rules, KYC policy, what may and may not be disclosed.</li><li>Detects the language. Most of our clients write in Spanish, and Pam answers in whatever language the client used.</li><li>Decides whether to post or escalate.</li></ol><h3>The escalation rule</h3><p>This is the most important part of the design. Pam posts on its own only when the answer is safe, read-only information about that client’s own account and the request is clear. Examples: “What’s my plan?”, “How do I find my API token?”, “How many queries did I run yesterday?”</p><p>Pam drafts and asks me first when the request involves any of these:</p><ul><li>granting, returning or spending credits</li><li>KYC approvals, resets or access changes</li><li>billing exceptions or anything that bends a policy</li><li>anything ambiguous</li></ul><p>In those cases I get the draft with context, then reply “post it” or edit it. The client gets a fast, accurate answer, and I keep control of the decisions that matter. Pam drafts, I decide.</p><h3>Part 3: KYC on everyone who signs up</h3><p>As an identity company, we hold ourselves to the same standard we sell. Nobody gets production access to Verifik without passing KYC.</p><p>When someone submits KYC, it lands in an approval queue. Every hour, Pam reviews the queue and writes me a summary for each applicant:</p><ul><li>Liveness. Is the selfie a live person, or a photo of a photo, a screen or a mask? Pam reports the liveness score.</li><li>Face comparison. Does the selfie match the photo on the ID? Pam reports the match score against our 0.75 minimum.</li><li>Document data. Is the document readable, unexpired and consistent with the name and country on the account?</li><li>Background checks. Results from the screening checks we run on the applicant.</li><li>Account signals. The backend keeps an automatic risk score and flags on each account. Pam includes them, along with anything that doesn’t add up, like a free email address on a “corporate” account or a country that doesn’t match the phone number.</li></ul><p>Then Pam recommends one of three outcomes: approve, hold (ask the client for something) or reset (the submission is invalid and has to be redone).</p><p>Some rules are absolute. If someone completes KYC with another person’s ID, the KYC is reset, the account stays in sandbox, and Pam opens a ticket explaining in plain language what happened and how to redo it with their own document. Pam never approves anyone. Every approval needs my explicit go-ahead.</p><p>That’s the “legit, fake or suspicious” judgment. Pam does the tedious part: collecting scores, cross-checking documents and spotting inconsistencies. I make the call, usually in seconds, because the summary already has what I need.</p><p>Once I approve someone, another hourly routine sends a production welcome: what changed, how to get the production token and what to do next.</p><h3>Part 4: Welcoming every new signup personally</h3><p>Every hour, and also when a signup event fires, Pam checks for new accounts and opens a personalized welcome ticket for each one, in the client’s language. It covers:</p><ol><li>Verify your email and phone.</li><li>Complete KYC (selfie, document, liveness).</li><li>Create your API token.</li><li>Make your first call.</li><li>The difference between sandbox (test data) and production (live data, starting at a USD 49 minimum).</li></ol><p>It ends with two questions: <em>Which country are you working in?</em> and <em>What’s your use case?</em></p><p>Those two questions matter more than they look. When a client answers, they’re now in a real conversation, and Pam can point them to the exact endpoints for their country. A generic welcome email gets ignored. A ticket that asks about your project gets replies.</p><p>In about two weeks of running (October 5–20, 2026), Pam welcomed 113 new signups this way, roughly 90% of them in Spanish. Over about the same period it sent 24 production welcomes to newly approved clients.</p><h3>Part 5: All the other jobs</h3><p>Once the core loop worked, Pam picked up the background work that tends to slip at a small company:</p><ul><li>Auto-closing resolved tickets. When Pam posts a resolution and the client doesn’t reply within an hour, a routine that runs every 15 minutes posts a polite “closing for now, just reply to reopen” note and resolves the ticket.</li><li>Unanswered-ticket audits. Pam scans the whole queue for tickets where the client wrote last and nobody answered. It sorts them by age and drafts responses.</li><li>Low-balance monitoring. For a large contract client, Pam watches the credit balance and flags top-ups before it runs out. A big client should never hit a zero balance in production.</li><li>Community relay. Mentions in our community Discord are relayed so questions get answered there too.</li><li>Policy enforcement on billing. Fiscal invoices for Colombia follow local electronic-invoicing rules and are only issued through the correct payment channel. When a client moves their account to a new company, their credits move with it once the company documents are in. Pam knows these rules and applies them every time.</li><li>Win-back campaigns. We identified API clients who had gone quiet for six months or more. Pam wrote a personalized ticket for each one, referencing the endpoints they had actually used and making a comeback offer. On one day in October it opened 161 win-back tickets in two waves (40, then 121) with zero failures. Every template and cohort was reviewed by me before anything went out.</li><li>Proactive KYC help. When we spotted clients who got stuck at a KYC step, Pam reached out to around 30 of them individually to walk them through it.</li></ul><h3>Does it actually do the work?</h3><p>Here’s one snapshot. In an audit of our ticket queue on October 19, 2026, the system held 652 tickets in total. Across the 387 tickets that weren’t yet resolved, Pam had written 357 messages, and human staff (mostly me) had written 87. Resolved tickets aren’t in that count, so it understates Pam’s share.</p><p>The audit also showed where we still fall short. A handful of tickets had the client as the last writer and no answer yet. Most were sensitive cases waiting on a decision from me, and one was a draft that never got posted. Pam didn’t hide these. It’s the one that found them.</p><h3>About “replacing employees”</h3><p>I want to be careful with this claim, because it’s easy to overstate.</p><p>Pam didn’t replace anyone at Verifik. It’s covering work I would otherwise have had to hire for. Roughly:</p><p>Role I’d have hiredWhat Pam coversTier-1 support agent (bilingual)First responses on every ticket, account lookups, how-to answers, threading email and in-app conversationsOnboarding / KYC analystWelcomes every signup, pre-reviews every KYC submission (liveness, face match, document, background), writes approve/hold/reset recommendations, sends production welcomesBilling &amp; account follow-upPlan and pricing questions, invoicing rules, low-balance alerts, ticket closureCommunity / lifecycle marketingCommunity relay, win-back campaigns, re-engaging stuck signups</p><p><em>My rough estimate:</em> the support and onboarding load alone would justify two full-time hires, and closer to three with Spanish/English coverage on weekends. That’s an estimate, not a measured headcount study. The part I’m sure of is coverage: Pam runs every hour, every day, in two languages, and it doesn’t get tired of explaining sandbox versus production for the hundredth time.</p><p>What it doesn’t replace is judgment. Approvals, credits, exceptions and anything that touches trust still come to me. That’s on purpose.</p><h3>Lessons for anyone building something similar</h3><ol><li>Give the agent its own identity. Pam posts as Pam with its own credentials. That gives you a clean audit trail, and clients know who they’re talking to.</li><li>Prevent loops in the backend. Don’t rely on the agent to ignore its own messages. Make the webhook unable to fire for them.</li><li>Write down your policies. Most of the work was turning tribal knowledge into rules: pricing, KYC rules, invoicing rules and what must never be disclosed. The agent is only as good as its playbook.</li><li>Make “ask the human” a first-class path. A clear auto-post vs. escalate rule is what lets you trust the system with real clients.</li><li>Use one pipeline for every channel. Email and in-app tickets share the same tickets, threads and webhook. Adding a channel shouldn’t mean adding a new agent.</li><li>Make everything idempotent. Signed webhooks, Message-Id dedupe and ledgers of who has already been welcomed. Retries happen, and double-welcoming a client looks sloppy.</li><li>Audit the agent. Run the unanswered-ticket check regularly. The point is to find gaps, not to prove the agent is perfect.</li></ol><h3>What’s next</h3><p>Next up: richer automated document checks before Pam’s KYC summary even reaches me, faster first-call onboarding for developers, and more of our long-tail technical questions answered with live account context.</p><p>If you’re building onboarding, KYC or identity verification into your product, this is what we do every day at <a href="https://verifik.co/">verifik.co</a>. You can create an account and start in sandbox at <a href="https://ai.verifik.co/">ai.verifik.co</a>. If you open a ticket, you’ll probably meet Pam.</p><p>I’m happy to talk architecture with anyone building AI agents for real operations. Reach out on LinkedIn or drop a comment below.</p><p><em>— Miguel Treviño, Founder, Verifik</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f126b6014487" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Antes de comprar el carro, mira quién fue el dueño]]></title>
            <link>https://migueltrevinom.medium.com/antes-de-comprar-el-carro-mira-qui%C3%A9n-fue-el-due%C3%B1o-b6f293aae2b3?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6f293aae2b3</guid>
            <category><![CDATA[autos-usados]]></category>
            <category><![CDATA[auto]]></category>
            <category><![CDATA[colombia]]></category>
            <category><![CDATA[runt]]></category>
            <category><![CDATA[automotriz]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 01:55:21 GMT</pubDate>
            <atom:updated>2026-09-22T01:55:21.365Z</atom:updated>
            <content:encoded><![CDATA[<p>Si alguna vez compraste un carro usado en Colombia, conoces el ritual: fotos impecables, una placa anotada en una servilleta y una historia que suena demasiado sencilla. El RUNT puede aportar el contexto que falta: cuántas personas han sido dueñas del vehículo y si aún pesa una prenda.</p><p>Los reportes de carros hacen KYC sobre una persona. Responden una pregunta más útil para concesionarios, compraventas particulares y productos automotrices: ¿cuál es la historia de este vehículo?</p><p>Verifik ofrece esa consulta como una API. Envías una placa y recibes los datos del vehículo junto con el arreglo owners. Un comprador puede revisar antes de cerrar el negocio; un concesionario puede validar antes de recibir un carro en consignación; un producto de reportes puede convertir la respuesta en una experiencia clara.</p><h4>Qué consulta el endpoint</h4><p>La ruta es GET <a href="https://api.verifik.co/v2/co/runt/propietarios">https://api.verifik.co/v2/co/runt/propietarios.</a> El parámetro obligatorio es plate, una placa colombiana de 5 a 9 caracteres alfanuméricos. La placa de sandbox es CRL299.</p><p>La respuesta incluye plate, brand, line, model y owners. En owners encontrarás el historial disponible: quién fue propietario, durante cuánto tiempo y notas de financiación o prenda cuando el RUNT las tiene. Algunos campos pueden venir como null y tener varios propietarios históricos es normal. No reduzcas el reporte a un solo nombre.</p><p>Existe un alias heredado, /v2/co/runt/vehiculo/owners. Las integraciones nuevas deben usar propietarios; es el mismo controlador y el mismo cargo.</p><h4>Cómo obtener un JWT</h4><p>Los tokens de Verifik son JWT. Cada llamada usa Authorization: Bearer &lt;token&gt; y Accept: application/json. Para la ruta de email OTP, consulta <a href="https://docs.verifik.co/authentication/api-key-access-via-email/">https://docs.verifik.co/authentication/api-key-access-via-email/.</a> Solicita un OTP para el email del cliente, confirma con el mismo email y el otp, y recibe el JWT que usarás como Bearer token. Los tokens duran aproximadamente 30 días. Para autenticación general consulta <a href="https://docs.verifik.co/accounts/authentication/">https://docs.verifik.co/accounts/authentication/.</a></p><h4>Llamarlo</h4><p>El parámetro plate es obligatorio. Ejemplo: CRL299. Envía el JWT en el encabezado Authorization y solicita application/json.</p><h4>Respuestas y errores</h4><p>Con una consulta correcta recibes 200 y data con los mismos nombres de campo: plate, brand, line, model y owners. Un 404 significa que no hay resultados para la placa; muéstralo como «sin historial disponible». Un 409 indica un conflicto y debe registrarse antes de reintentar. Conserva el cuerpo completo de cada respuesta y nunca expongas el JWT en logs.</p><p>Ejemplos: 200 devuelve status y data con plate, brand, line, model y owners. 404 devuelve status y el mensaje del recurso no encontrado. 409 devuelve status y el detalle del conflicto. Los nombres del JSON no se traducen. Para un concesionario, una compraventa o un producto de reportes, esta consulta convierte una sospecha en una conversación verificable. Prueba la plataforma en <a href="https://verifik.co/">https://verifik.co.</a></p><p>Crea tu cuenta y comienza a integrar reportes de vehículos: <a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=runt-owners&amp;utm_content=car-reports-es">https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=runt-owners&amp;utm_content=car-reports-es</a>.</p><p>Empieza con CRL299 en sandbox, valida tus casos 200, 404 y 409, y luego lleva la consulta a producción.</p><pre>import axios from &quot;axios&quot;;<br><br>const { data } = await axios.get(&quot;https://api.verifik.co/v2/co/runt/propietarios&quot;, {<br>  params: { plate: &quot;CRL299&quot; },<br>  headers: {<br>    Accept: &quot;application/json&quot;,<br>    Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,<br>  },<br><br><br>});<br><br>console.log(data);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jtLJBU-XYETofo8wXI7vBw.png" /></figure><pre>import os, requests<br><br>url = &quot;https://api.verifik.co/v2/co/runt/propietarios&quot;<br>headers = {<br>    &quot;Accept&quot;: &quot;application/json&quot;,<br>    &quot;Authorization&quot;: f&quot;Bearer {os.getenv(&#39;VERIFIK_TOKEN&#39;)}&quot;,<br>}<br>r = requests.get(url, headers=headers, params={&quot;plate&quot;: &quot;CRL299&quot;})<br>print(r.status_code)<br>print(r.json())</pre><pre>{<br>  &quot;status&quot;: 200,<br>  &quot;data&quot;: {<br>    &quot;plate&quot;: &quot;CRL299&quot;,<br>    &quot;brand&quot;: &quot;RENAULT&quot;,<br>    &quot;line&quot;: &quot;DUSTER&quot;,<br>    &quot;model&quot;: 2020,<br>    &quot;owners&quot;: [<br>        ...ownerinfo_in_here<br>    ]<br>  }<br>}</pre><p>Resumen rápido: qué envías y qué recibes</p><pre>{<br>  &quot;code&quot;: &quot;NotFound&quot;,<br>  &quot;message&quot;: &quot;Record not found.&quot;<br>}</pre><pre>{<br>  &quot;code&quot;: &quot;MissingParameter&quot;,<br>  &quot;message&quot;: &quot;missing plate&quot;<br>}</pre><p>Qué envías:</p><ul><li>plate — obligatorio. Placa colombiana de 5–9 caracteres alfanuméricos.</li></ul><p>Qué recibes:</p><ul><li>plate — placa consultada.</li><li>brand / line / model — marca, línea y modelo del vehículo.</li><li>owners[] — quién fue propietario, durante cuánto tiempo y notas de financiación o prenda cuando el RUNT las tiene.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6f293aae2b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before you buy the car, see who actually owned it]]></title>
            <link>https://migueltrevinom.medium.com/before-you-buy-the-car-see-who-actually-owned-it-8a7c3fdc7ee0?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a7c3fdc7ee0</guid>
            <category><![CDATA[runt]]></category>
            <category><![CDATA[cars]]></category>
            <category><![CDATA[colombia]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[used-cars]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 16:43:58 GMT</pubDate>
            <atom:updated>2026-09-21T16:43:58.885Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2NDlMLHU5qq8njCS" /><figcaption>Photo by <a href="https://unsplash.com/@sebastian_rurarz?utm_source=medium&amp;utm_medium=referral">Sebastian Rurarz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Most onboarding flows in Colombia are weirdly confident about people and weirdly blind about cars.</p><p>You can pull a cdula. You can run a name. Then someone applies for a loan, a lease, or a marketplace payout, and the vehicle is just a photo of a plate and a story. That is not diligence. That is vibes.</p><p><a href="https://verifik.co/">Verifik’</a>s RUNT owners endpoint is the boring fix: give it a plate, get back the vehicle plus the ownership history RUNT actually has — who owned it, for how long, whether there’s a prenda sitting on it.</p><p><a href="https://docs.verifik.co/vehicle-validation/colombia/runt-vehicle-owners/">RUNT — Vehicle owners by plate</a></p><h3>A story that keeps showing up</h3><p>If you’ve ever bought a used car in Colombia, you know the ritual.</p><p>The seller has a story. The photos look fine. The plate is on a napkin. And somewhere in the background there’s RUNT — the registry that actually knows how many people have owned that thing, whether a prenda is still hanging on it, and whether the one careful owner line is… optimistic.</p><p>Most people never pull that. They find out later, in a notara, or when a lender or insurer asks questions they can’t answer.</p><p>That’s the gap Intempo-style car reports and RUNT reports are for: not whether this person is KYC verified. It’s what is the history of this vehicle.</p><p>Verifik exposes the RUNT owners lookup as an API, so a dealership, a report product, or a private buyer flow can ask with a plate and get the ownership trail back.</p><p>If that sounds like your product, Verifik is where the lookup lives. Create an account and get free credits, then hit the sandbox plate before you wire it into a report.</p><h3>Who actually needs this</h3><p>Car dealerships — especially used lots. Before you take a unit on consignment or put it on the lot, you want owner history.</p><p>Buyers and sellers private party, Marketplace, uncle’s car. A RUNT report isn’t paranoia.</p><p>Car report products, including Intempo-style products — plate in, ownership and vehicle basics out, then wrap it in your own PDF or UX.</p><p>Marketplaces and classifieds — a trust signal beyond the seller seems nice.</p><h3>What the endpoint actually does</h3><p>GET <a href="https://api.verifik.co/v2/co/runt/propietarios">https://api.verifik.co/v2/co/runt/propietarios</a></p><p>Vehicle basics include plate, brand, line, and model.</p><p>The owners array shows who owned it, for how long, financing or prenda information, and a registry number when available.</p><p>The legacy alias is /v2/co/runt/vehiculo/owners. New integrations should use propietarios. It is the same handler and the same charge. Sandbox plate: CRL299. Owner fields can be null. Multiple historical owners are normal.</p><h3>How to get a JWT</h3><p>Verifik tokens are JWTs. Every call sends Authorization: Bearer token and Accept: application/json.</p><p>Email OTP path — API key via email</p><p>Request an OTP for your client email.</p><p>Confirm with the same email and otp.</p><p>You get a JWT. That is your Bearer token.</p><p>Tokens last about 30 days. If one leaks or you rotate access, renew and revoke with POST <a href="https://api.verifik.co/v2/auth/renew-and-revoke.">https://api.verifik.co/v2/auth/renew-and-revoke.</a></p><p>Auth overview: Authentication.</p><h3>Call it</h3><p>Param: plate is required. It is a Colombian plate, 59 alphanumeric characters. Example: CRL299.</p><p>Node</p><pre>import axios from &quot;axios&quot;;<br><br>const { data } = await axios.get(&quot;https://api.verifik.co/v2/co/runt/propietarios&quot;, {<br>  params: { plate: &quot;CRL299&quot; },<br>  headers: {<br>    Accept: &quot;application/json&quot;,<br>    Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,<br>  },<br>});<br><br>console.log(data);<br><br></pre><p>Python</p><pre>import os, requests<br><br>url = &quot;https://api.verifik.co/v2/co/runt/propietarios&quot;<br>headers = {<br>    &quot;Accept&quot;: &quot;application/json&quot;,<br>    &quot;Authorization&quot;: f&quot;Bearer {os.getenv(&#39;VERIFIK_TOKEN&#39;)}&quot;,<br>}<br>r = requests.get(url, headers=headers, params={&quot;plate&quot;: &quot;CRL299&quot;})<br>print(r.status_code)<br>print(r.json())</pre><h3>What a 200 looks like</h3><p>From the docs, a sandbox-shaped response looks like this. It includes the plate, vehicle basics, and the ownership list.</p><pre>{<br>  &quot;data&quot;: {<br>    &quot;plate&quot;: &quot;CRL299&quot;,<br>    &quot;brand&quot;: &quot;CHEVROLET&quot;,<br>    &quot;line&quot;: &quot;CRUZE&quot;,<br>    &quot;model&quot;: &quot;2012&quot;,<br>    &quot;owners&quot;: [<br>      {<br>        &quot;documentType&quot;: &quot;CC&quot;,<br>        &quot;fullName&quot;: &quot;OWNER EXAMPLE&quot;,<br>        &quot;financingType&quot;: &quot;Prenda&quot;,<br>        &quot;pledge&quot;: &quot;Prenda levantada&quot;,<br>        &quot;ownershipStartDate&quot;: &quot;2011-07-21T05:00:00.000+0000&quot;,<br>        &quot;vehicleRegistryNumber&quot;: &quot;15514772&quot;<br>      }<br>    ]<br>  },<br>  &quot;signature&quot;: { &quot;message&quot;: &quot;Certified by Verifik.co&quot; },<br>  &quot;id&quot;: &quot;ABCDE&quot;<br>}</pre><p>For a car report, watch the owners count and date windows, pledge and financingType, and owners as a list. documentNumber is masked in samples.</p><h3>When it isn’t there</h3><p>A 404 means the record was not found.</p><pre>{&quot;code&quot;:&quot;NotFound&quot;,&quot;message&quot;:&quot;Record not found.&quot;}</pre><p>A 409 means a required plate parameter is missing.</p><pre>{&quot;code&quot;:&quot;MissingParameter&quot;,&quot;message&quot;:&quot;missing plate&quot;}</pre><p>Bad auth fails before RUNT. Fix the Bearer token first.</p><h3>If you’re shipping a RUNT or car report</h3><p>Owners by plate is the chapter people actually read. Plate in, history out.</p><p><a href="https://verifik.co/">Verifik</a></p><p><a href="https://docs.verifik.co/vehicle-validation/colombia/runt-vehicle-owners/">RUNT vehicle owners docs</a></p><p><a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=runt-owners&amp;utm_content=cta-footer">Sign up for free credits</a></p><p>Try CRL299 in sandbox. Then try a plate you’re allowed to look up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a7c3fdc7ee0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[El NIT pasó. Ahora jala el dossier completo del RUES]]></title>
            <link>https://migueltrevinom.medium.com/el-nit-pas%C3%B3-ahora-jala-el-dossier-completo-del-rues-3add6d1ca23f?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/3add6d1ca23f</guid>
            <category><![CDATA[rue]]></category>
            <category><![CDATA[colombia]]></category>
            <category><![CDATA[empresa]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[cumplimiento]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 18:40:53 GMT</pubDate>
            <atom:updated>2026-09-17T18:40:53.031Z</atom:updated>
            <content:encoded><![CDATA[<p>El resumen dijo ACTIVA. La razón social más o menos cuadra. Compras quiere girar el anticipo mañana.</p><p>Entonces alguien pregunta lo que el filtro barato nunca contestó: ¿quiénes son los representantes legales, qué CIIU trae la cámara, hay establecimiento detrás del nombre comercial, y — si es línea PROP — qué multas o sanciones aparecen en el historial RUES?</p><p>Esa es la distancia entre “el NIT existe y “podemos meter a este proveedor en el libro”. En Colombia la segunda respuesta vive en el dossier completo del RUES, no en un status de una línea.</p><p>El RUES Complete Business Validation (v3) de Verifik es el pull profundo: misma idea de NIT + categoría que el endpoint liviano de resumen, pero vuelve registro mercantil, actividades económicas, bloques de establecimientos y extras por categora (los samples PROP en la docs incluyen finesAndSanctions). úsalo en pareja con GET /v3/co/rues como filtro barato primero; escala a complete solo cuando el resumen limpia.</p><p>RUES Complete Business Validation (v3): <a href="https://docs.verifik.co/business-validation/colombia-rues-business-information/">https://docs.verifik.co/business-validation/colombia-rues-business-information/</a></p><p>Informacin empresarial Colombia — RUES: <a href="https://docs.verifik.co/business-validation/colombia/colombian-business-information-rues/">https://docs.verifik.co/business-validation/colombia/colombian-business-information-rues/</a></p><h3>Quién de verdad lo necesita</h3><p>Marketplaces B2B — después de que el signup limpia un hit de resumen, antes de desbloquear pagos o destacar un vendedor. Quieres reps, actividades e historial de estado — no solo “ACTIVA” en una tarjeta.</p><p>Screening de proveedores — compras y CxP que ya corrieron el RUES summary barato y ahora necesitan el dossier para revisin contractual: cámara, matrcula, CIIU, establecimientos.</p><p>Productos de KYB / cumplimiento — onboarding que pasa por el resumen y luego hidrata el perfil de empresa desde complete antes de que un humano (o un motor de reglas) firme.</p><p>Procurement / operaciones frente a gobierno — chequeos categoría PROP donde la docs muestra campos de proponente y historial tipo finesAndSanctions. útil cuando la contraparte dice que puede ofertar.</p><p>Si ese es tu flujo, Verifik: <a href="https://verifik.co/">https://verifik.co</a> es donde viven ambos endpoints. Luego Crea una cuenta y pide créditos gratis: <a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=kyb">https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=kyb</a> y corre el NIT de ejemplo de la docs una vez antes de meterlo en screening.</p><h3>Qué hace el endpoint de verdad</h3><p>GET <a href="https://api.verifik.co/v3/co/rues-complete">https://api.verifik.co/v3/co/rues-complete</a></p><p>Mandas category, documentNumber y documentType=NIT todos obligatorios en esta página. Vuelve un payload tipo dossier. En hits estilo RM los samples de la docs incluyen bloques como:</p><p>commercialRegistry — businessName, NIT, chamberCommerce, registrationStatus (los samples muestran CANCELADA y ACTIVA), enrollmentDate, registrationNumber, companyType / organizationType, legalRepresentatives, campos de renovación, etc.</p><p>economicActivities — entradas CIIU con code / description / name (primaria, secundaria, )</p><p>establishmentOwner — establecimientos ligados a la línea registral (el status puede ser ACTIVA o CANCELADA según filas de sample)</p><p>Extras por categora — por ejemplo samples PROP incluyen finesAndSanctions junto a commercialRegistry</p><p>signature de Verifik — dateTime + message: Certified by Verifik.co</p><p>Esta es la ruta completa. ¿Necesitas un filtro barato primero? Usa GET /v3/co/rues (ya cubierto en el post de resumen). Prefiere este complete v3 sobre el legacy GET /v2/co/rues/complete para trabajo nuevo — el sample de docs del v2 complete está muy flaco.</p><p>Fuente oficial: RUES Colombia. Mtodo: GET. JSON.</p><h3>Cómo sacar un JWT</h3><p>Los tokens de Verifik son JWT. Cada llamada manda Authorization: Bearer &lt;token&gt; y Accept: application/json.</p><p>Ruta con OTP por email — docs link API key vía email: <a href="https://docs.verifik.co/authentication/api-key-access-via-email/">https://docs.verifik.co/authentication/api-key-access-via-email/</a></p><p>Pides un OTP para el email del cliente.</p><p>Confirmas con el mismo email + otp.</p><p>Te dan un JWT. Ese es tu Bearer token.</p><p>Los tokens duran unos 30 días. renew-and-revoke: POST <a href="https://api.verifik.co/v2/auth/renew-and-revoke">https://api.verifik.co/v2/auth/renew-and-revoke</a> — docs link renew-and-revoke: <a href="https://docs.verifik.co/authentication/create-new-token-and-revoke-previous-tokens/">https://docs.verifik.co/authentication/create-new-token-and-revoke-previous-tokens/</a></p><p>Overview de auth: <a href="https://docs.verifik.co/accounts/authentication/">https://docs.verifik.co/accounts/authentication/</a></p><h3>Qué envías</h3><p>category — obligatorio uno de: RM, PROP, RUNEOL, RNT, ESAL, RESAL, JUEGOS, EXTRANJERAS</p><p>documentNumber obligatorio — ID legal del negocio; sample docs 1121329661</p><p>documentType — obligatorio — en Colombia usa NIT</p><h3>Qué te devuelve</h3><p>data.commercialRegistry.businessName + NIT — match con factura / contrato</p><p>data.commercialRegistry.registrationStatus ACTIVA vs CANCELADA (y lo que RUES devuelva)</p><p>data.commercialRegistry.chamberCommerce / enrollmentDate / registrationNumber — qu cmara respondi y qué tan actual se ve la matrícula</p><p>data.commercialRegistry.legalRepresentatives — quién puede firmar</p><p>data.economicActivities[].code / description — CIIU vs lo que el proveedor dice vender</p><p>data.establishmentOwner — nombres comerciales y status del establecimiento cuando viene</p><p>extras de categoría (por ejemplo PROP finesAndSanctions) — cuando esa es la lnea que consultaste</p><p>signature.message — Certified by Verifik.co</p><h3>Cómo llamarlo</h3><p>Ejemplo de la docs: category RM, documentNumber 1121329661, documentType NIT. Trata ese NIT como ejemplo de documentación, no como empresa sandbox garantizada para toda cuenta.</p><p>Node</p><pre>import axios from &quot;axios&quot;;<br><br>const { data } = await axios.get(&quot;https://api.verifik.co/v3/co/rues-complete&quot;, {<br>  params: {<br>    category: &quot;RM&quot;,<br>    documentNumber: &quot;1121329661&quot;,<br>    documentType: &quot;NIT&quot;,<br>  },<br>  headers: {<br>    Accept: &quot;application/json&quot;,<br>    Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,<br>  },<br>});<br><br>console.log(data);</pre><p>Sí — headers va al lado de params en el config de axios. No anides headers dentro de params.</p><p>Python</p><pre>import os, requests<br><br>url = &quot;https://api.verifik.co/v3/co/rues-complete&quot;<br>headers = {<br>    &quot;Accept&quot;: &quot;application/json&quot;,<br>    &quot;Authorization&quot;: f&quot;Bearer {os.getenv(&#39;VERIFIK_TOKEN&#39;)}&quot;,<br>}<br>r = requests.get(<br>    url,<br>    headers=headers,<br>    params={<br>        &quot;category&quot;: &quot;RM&quot;,<br>        &quot;documentNumber&quot;: &quot;1121329661&quot;,<br>        &quot;documentType&quot;: &quot;NIT&quot;,<br>    },<br>)<br>print(r.status_code)<br>print(r.json())</pre><h3>Cmo se ve un 200</h3><p>Forma corta truncada de los campos del sample RM en la docs (no un dump completo — las respuestas reales pueden ser largas). Los valores ilustran los nombres de campo publicados; el status del sample RM principal es CANCELADA, y otros samples de categora también muestran ACTIVA.</p><p>JSON 200</p><pre>{<br>  &quot;data&quot;: {<br>    &quot;commercialRegistry&quot;: {<br>      &quot;NIT&quot;: &quot;1121329661&quot;,<br>      &quot;businessName&quot;: &quot;&quot;,<br>      &quot;chamberCommerce&quot;: &quot;VALLEDUPAR&quot;,<br>      &quot;registrationStatus&quot;: &quot;CANCELADA&quot;,<br>      &quot;enrollmentDate&quot;: &quot;2017-07-10&quot;,<br>      &quot;legalRepresentatives&quot;: {<br>        &quot;legalRepresentatives&quot;: [<br>          {<br>            &quot;name&quot;: &quot;…&quot;,<br>            &quot;role&quot;: &quot;Representante Legal&quot;,<br>            &quot;documentNumber&quot;: &quot;…&quot;<br>          }<br>        ]<br>      }<br>    },<br>    &quot;economicActivities&quot;: [<br>      {<br>        &quot;code&quot;: &quot;9521&quot;,<br>        &quot;description&quot;: &quot;Mantenimiento y reparacin de aparatos electrónicos de consumo&quot;,<br>        &quot;name&quot;: &quot;ciiu_act_econ_pri&quot;<br>      }<br>    ]<br>  },<br>  &quot;signature&quot;: {<br>    &quot;dateTime&quot;: &quot;October 6, 2025 3:11 PM&quot;,<br>    &quot;message&quot;: &quot;Certified by Verifik.co&quot;<br>  }<br>}</pre><p>commercialRegistry.businessName + NIT match con factura / contrato</p><p>registrationStatus — ACTIVA vs CANCELADA (y lo que RUES devuelva en esa línea)</p><p>chamberCommerce / matrcula / renovación — qué cámara respondió y qué tan vieja se ve la renovación</p><p>legalRepresentatives — quién puede firmar</p><p>economicActivities — cdigos CIIU vs lo que el proveedor dice vender</p><p>establishmentOwner cuando viene — nombres comerciales y status del establecimiento</p><p>extras de categoría, por ejemplo PROP finesAndSanctions, cuando esa es la línea que consultaste</p><p>Resumen no es el dossier. Corre /v3/co/rues primero si solo necesitas existencia + status; llama complete cuando necesitas el expediente.</p><h3>Cuando no es un 200 limpio</h3><p>Las pestañas de response en la docs incluyen 404 y 409 junto al 200. No inventes cuerpos de mensaje que no hayas copiado de la docs loguea status + body y maneja reintentos.</p><p>Auth mala falla antes que el RUES. Arregla el Bearer token primero.</p><p>Aquí category es obligatorio (a diferencia del resumen liviano, donde puede default). Si no estás en Registro Mercantil, pasa PROP, RNT, ESAL, RESAL, etc. explícito.</p><p>El legacy GET /v2/co/rues/complete sigue existiendo para integraciones viejas. Prefiere complete v3 para trabajo nuevo.</p><h4>Si estás armando KYB / screening de proveedores</h4><p>El resumen RUES es el portón. El RUES complete es el capítulo que abres cuando el portón limpia y alguien todavía tiene que aprobar al proveedor. Los onboardings serios quieren ambos — barato primero, dossier después.</p><p>Verifik: <a href="https://verifik.co/">https://verifik.co</a></p><p>Docs RUES Complete Business Validation (v3): <a href="https://docs.verifik.co/business-validation/colombia-rues-business-information/">https://docs.verifik.co/business-validation/colombia-rues-business-information/</a></p><p>Regístrate y pide créditos gratis: <a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=cta-footer">https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=cta-footer</a></p><p>Prueba el NIT de ejemplo de la docs una vez con un token real y category=RM. Despus corre un proveedor que sí puedas consultar. Ahí el expediente del vendor empieza a verse honesto.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wusZTV9fd4GLG9ulyZRMrw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3add6d1ca23f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The NIT passed. Now pull the full RUES dossier]]></title>
            <link>https://migueltrevinom.medium.com/the-nit-passed-now-pull-the-full-rues-dossier-2eef6759205a?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/2eef6759205a</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[colombia]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[kyb]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 18:38:06 GMT</pubDate>
            <atom:updated>2026-09-17T18:38:06.540Z</atom:updated>
            <content:encoded><![CDATA[<p>Summary said ACTIVA. Name kinda matched. Procurement wants to wire the advance tomorrow.</p><p>Then someone asks the questions the cheap gate never answered: who are the legal reps, what CIIU codes does the chamber actually carry, is there an establishment behind the trade name, and — if this is a PROP line — what fines or sanctions show up in the RUES history?</p><p>That is the gap between “the NIT exists” and “we can put this vendor on the books.” In Colombia that second answer lives in the full RUES dossier, not in a one-line status.</p><p>Verifik’s RUES Complete Business Validation (v3) is the deep pull: same NIT + category idea as the lighter summary endpoint, but back comes commercial registry, economic activities, establishment owner blocks, and category-specific extras (PROP samples in the docs include finesAndSanctions). Pair it with GET /v3/co/rues as the cheap first filter; escalate to complete only when the summary clears.</p><p><a href="https://docs.verifik.co/business-validation/colombia-rues-business-information/">RUES Complete Business Validation (v3)</a></p><p><a href="https://docs.verifik.co/business-validation/colombia/colombian-business-information-rues/">Also useful — Colombian business information — RUES</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wusZTV9fd4GLG9ulyZRMrw.png" /></figure><h3>Who actually needs this</h3><ul><li>B2B marketplaces — after signup clears a summary hit, before you unlock payouts or feature a seller. You want reps, activities, and status history — not just “ACTIVA on a card.</li><li>Vendor / supplier screening procurement and AP that already ran the cheap RUES summary and now need the dossier for contract review: chamber, enrollment, CIIU, establishments.</li><li>KYB / compliance products — onboarding that gates on summary, then hydrates a company profile from complete before a human (or a rules engine) signs off.</li><li>Procurement / government-facing ops PROP category checks where the docs show proponent registry fields and finesAndSanctions-style history. Useful when the counterparty claims they can bid.</li></ul><p>If that is your flow, <a href="https://verifik.co/">Verifik</a> is where both endpoints live. Then <a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=kyb">create an account and get free credits</a>, and run the docs sample NIT once before you wire it into screening.</p><h3>What the endpoint actually does</h3><p>GET <a href="https://api.verifik.co/v3/co/rues-complete">https://api.verifik.co/v3/co/rues-complete</a></p><p>You send category, documentNumber, and documentType=NIT — all required on this page. Back comes a dossier-style payload. For RM-style hits the docs samples include blocks like:</p><ul><li>commercialRegistry — businessName, NIT, chamberCommerce, registrationStatus (docs samples show both CANCELADA and ACTIVA), enrollmentDate, registrationNumber, companyType / organizationType, legalRepresentatives, renewal fields, etc.</li><li>economicActivities — CIIU entries with code / description / name (primary, secondary, …)</li><li>establishmentOwner — establishments tied to the registry line (status can be ACTIVA or CANCELADA per sample rows)</li><li>Category-specific extras e.g. PROP samples include finesAndSanctions alongside commercialRegistry</li><li>Verifik signature — dateTime + message: Certified by Verifik.co</li></ul><p>This is the complete route. Need a cheap gate first? Use GET /v3/co/rues (already covered in the summary post). Prefer this v3 complete endpoint over legacy GET /v2/co/rues/complete for new work — the v2 complete docs sample is thin.</p><p>Official source: RUES Colombia. Method: GET. JSON.</p><h3>How to get a JWT</h3><p>Verifik tokens are JWTs. Every call sends Authorization: Bearer &lt;token&gt; and Accept: application/json.</p><p>Email OTP path —<a href="https://docs.verifik.co/authentication/api-key-access-via-email/"> API key via email</a></p><ol><li>Request an OTP (<a href="https://docs.verifik.co/accounts/authentication/">Auth overview</a>)</li></ol><h3>What you send</h3><p>category — required — one of: RM, PROP, RUNEOL, RNT, ESAL, RESAL, JUEGOS, EXTRANJERAS</p><h3>What you get back</h3><ul><li>data.commercialRegistry.businessName + NIT — match invoice / contract</li><li>data.commercialRegistry.registrationStatus — ACTIVA vs CANCELADA (and whatever else RUES returns)</li><li>data.commercialRegistry.chamberCommerce / enrollmentDate / registrationNumber — which chamber answered and how current enrollment looks</li><li>data.commercialRegistry.legalRepresentatives — who can sign</li><li>data.economicActivities[].code / description — CIIU vs what the vendor claims to sell</li><li>data.establishmentOwner — trade names and establishment status when present</li><li>category extras (e.g. PROP finesAndSanctions) — when that is the line you queried</li><li>signature.message — Certified by Verifik.co</li></ul><h3>Call it</h3><ul><li>category (required) one of: RM, PROP, RUNEOL, RNT, ESAL, RESAL, JUEGOS, EXTRANJERAS</li><li>documentNumber (required) — legal business ID; docs sample 1121329661</li><li>documentType (required) for Colombia use NIT</li></ul><p>Docs example: category RM, documentNumber 1121329661, documentType NIT. Treat that NIT as a docs sample, not a guaranteed live sandbox company for every account.</p><p>Node</p><pre>import axios from &quot;axios&quot;;<br><br>const { data } = await axios.get(&quot;https://api.verifik.co/v3/co/rues-complete&quot;, {<br>  params: {<br>    category: &quot;RM&quot;,<br>    documentNumber: &quot;1121329661&quot;,<br>    documentType: &quot;NIT&quot;,<br>  },<br>  headers: {<br>    Accept: &quot;application/json&quot;,<br>    Authorization: &quot;Bearer &quot; + process.env.VERIFIK_TOKEN,<br>  },<br>});<br><br>console.log(data);</pre><p>Yes — headers sits next to params on the axios config. Don’t nest headers inside params.</p><p>Python</p><pre>import os, requests<br><br>url = &quot;https://api.verifik.co/v3/co/rues-complete&quot;<br>headers = {<br>    &quot;Accept&quot;: &quot;application/json&quot;,<br>    &quot;Authorization&quot;: f&quot;Bearer {os.getenv(&#39;VERIFIK_TOKEN&#39;)}&quot;,<br>}<br>r = requests.get(<br>    url,<br>    headers=headers,<br>    params={<br>        &quot;category&quot;: &quot;RM&quot;,<br>        &quot;documentNumber&quot;: &quot;1121329661&quot;,<br>        &quot;documentType&quot;: &quot;NIT&quot;,<br>    },<br>)<br>print(r.status_code)<br>print(r.json())</pre><h3>What a 200 looks like</h3><p>Short truncated shape from the RM docs sample fields (not a full dump — real responses can be long). Values illustrate published field names; status in the primary RM sample is CANCELADA, and other category samples also show ACTIVA. Paste JSON in a code block then exit:</p><pre>{<br>  &quot;data&quot;: {<br>    &quot;commercialRegistry&quot;: {<br>      &quot;NIT&quot;: &quot;1121329661&quot;,<br>      &quot;businessName&quot;: &quot;&quot;,<br>      &quot;chamberCommerce&quot;: &quot;VALLEDUPAR&quot;,<br>      &quot;registrationStatus&quot;: &quot;CANCELADA&quot;,<br>      &quot;enrollmentDate&quot;: &quot;2017-07-10&quot;,<br>      &quot;legalRepresentatives&quot;: {<br>        &quot;legalRepresentatives&quot;: [<br>          {<br>            &quot;name&quot;: &quot;…&quot;,<br>            &quot;role&quot;: &quot;Representante Legal&quot;,<br>            &quot;documentNumber&quot;: &quot;…&quot;<br>          }<br>        ]<br>      }<br>    },<br>    &quot;economicActivities&quot;: [<br>      {<br>        &quot;code&quot;: &quot;9521&quot;,<br>        &quot;description&quot;: &quot;Mantenimiento y reparación de aparatos electrónicos de consumo&quot;,<br>        &quot;name&quot;: &quot;ciiu_act_econ_pri&quot;<br>      }<br>    ]<br>  },<br>  &quot;signature&quot;: {<br>    &quot;dateTime&quot;: &quot;October 6, 2025 3:11 PM&quot;,<br>    &quot;message&quot;: &quot;Certified by Verifik.co&quot;<br>  }<br>}</pre><ul><li>commercialRegistry.businessName + NIT — match invoice / contract</li><li>registrationStatus ACTIVA vs CANCELADA (and whatever else RUES returns for that line)</li><li>chamberCommerce / enrollment / renewal — which chamber answered and how stale the renewal looks</li><li>legalRepresentatives — who can sign</li><li>economicActivities — CIIU codes vs what the vendor claims to sell</li><li>establishmentOwner when present — trade names and establishment status</li><li>category extras (e.g. PROP finesAndSanctions) when that is the line you queried</li></ul><p>Summary is not the dossier. Run /v3/co/rues first when you only need existence + status; call complete when you need the file.</p><h3>When it isn’t a clean 200</h3><p>Docs response tabs include 404 and 409 alongside 200. Don’t invent message bodies you haven’t copied from the docs — log status + body and handle retries.</p><p>Bad auth fails before RUES does. Fix the Bearer token first.</p><p>category is required here (unlike the lighter summary route where it can default). If you are not on Registro Mercantil, pass PROP, RNT, ESAL, RESAL, etc. explicitly.</p><p>Legacy GET /v2/co/rues/complete still exists for older integrations. Prefer v3 complete for new work.</p><h3>If you’re shipping KYB / vendor screening</h3><p>RUES summary is the gate. RUES complete is the chapter you open when the gate clears and someone still has to approve the vendor. Most serious onboarding flows want both cheap first, dossier second.</p><p><a href="https://verifik.co/">verifik.co</a></p><p><a href="https://docs.verifik.co/business-validation/colombia-rues-business-information/">RUES Complete Business Validation (v3) docs</a></p><p><a href="https://access.verifik.co/sign-up/6332941ccde4f719d9c00f9e?utm_source=medium&amp;utm_medium=blog&amp;utm_campaign=rues-complete-v3&amp;utm_content=kyb">Sign up for free credits</a></p><p>Try the docs sample NIT once with a real token and category=RM. Then run a supplier you’re allowed to look up. That’s when the vendor file starts looking honest.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2eef6759205a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Validate DNIs from Peru]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://migueltrevinom.medium.com/validate-dnis-from-peru-630eed59f05c?source=rss-b57e856f2b02------2"><img src="https://cdn-images-1.medium.com/max/1168/1*-ks4CEZfevcv9yjUnP1qXA.jpeg" width="1168"></a></p><p class="medium-feed-snippet">In today&#x2019;s digital economy, verifying the identity of Peruvian customers quickly and accurately is essential for businesses operating in&#x2026;</p><p class="medium-feed-link"><a href="https://migueltrevinom.medium.com/validate-dnis-from-peru-630eed59f05c?source=rss-b57e856f2b02------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://migueltrevinom.medium.com/validate-dnis-from-peru-630eed59f05c?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/630eed59f05c</guid>
            <category><![CDATA[reniec]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[dni]]></category>
            <category><![CDATA[verifik]]></category>
            <category><![CDATA[peruvian-id]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Thu, 07 May 2026 13:43:24 GMT</pubDate>
            <atom:updated>2026-05-07T13:47:32.495Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[What’s the Safest Way to Store Your Crypto in 2026?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://migueltrevinom.medium.com/whats-the-safest-way-to-store-your-crypto-in-2026-95ae142cc6ee?source=rss-b57e856f2b02------2"><img src="https://cdn-images-1.medium.com/max/1661/1*b2FGPEfBb20lgU4vI48foQ.avif" width="1661"></a></p><p class="medium-feed-snippet">As cryptocurrency adoption grows in 2026, so do the risks. Hacks, phishing attacks, and lost keys continue to threaten even experienced&#x2026;</p><p class="medium-feed-link"><a href="https://migueltrevinom.medium.com/whats-the-safest-way-to-store-your-crypto-in-2026-95ae142cc6ee?source=rss-b57e856f2b02------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://migueltrevinom.medium.com/whats-the-safest-way-to-store-your-crypto-in-2026-95ae142cc6ee?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/95ae142cc6ee</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[crypto-wallet]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[zelf]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 00:00:07 GMT</pubDate>
            <atom:updated>2026-05-07T13:22:22.086Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Verificación de identidad enriquecida en Guatemala con la API de Verifik]]></title>
            <link>https://migueltrevinom.medium.com/verificaci%C3%B3n-de-identidad-enriquecida-en-guatemala-con-la-api-de-verifik-385975c94cad?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/385975c94cad</guid>
            <category><![CDATA[kyc]]></category>
            <category><![CDATA[validación-de-identidad]]></category>
            <category><![CDATA[verifik]]></category>
            <category><![CDATA[smart-access]]></category>
            <category><![CDATA[guatemala]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Mon, 19 Jan 2026 15:33:54 GMT</pubDate>
            <atom:updated>2026-01-19T15:33:54.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MiMYordm1oI8nPNEX65mbQ.png" /></figure><p>En el mundo digital actual, la confianza es la moneda más valiosa. Para las empresas que operan en Guatemala, verificar la identidad de usuarios, clientes o empleados no es solo un requisito legal, sino una necesidad crítica para prevenir fraudes y construir relaciones seguras.</p><p>Hoy queremos presentarte una potente herramienta de nuestra suite de verificación: el endpoint Guatemala Extra.</p><h3>¿Qué es el endpoint Guatemala Extra?</h3><p>Es una solución diseñada específicamente para empresas que necesitan ir un paso más allá en sus procesos de KYC (Know Your Customer). A diferencia de las validaciones básicas, este endpoint no solo confirma que un documento sea válido, sino que enriquece tu base de datos con información demográfica clave.</p><p>Al consultar un CUI (Código único de identificación), nuestra API se conecta en tiempo real con fuentes oficiales para devolverte:</p><ul><li>✅ Nombre Completo: Validación exacta contra el documento.</li><li>✅ Fecha de Nacimiento: Crucial para verificar mayoría de edad o elegibilidad.</li><li>✅ Género: Información demográfica útil para segmentación y validación.</li><li>✅ Estado del Documento: Confirmación de existencia y vigencia.</li></ul><h3>¿Por qué es diferente?</h3><p>La clave está en la profundidad de los datos. Muchas herramientas solo te dicen “el documento existe”. Con Guatemala Extra, obtienes el contexto necesario para tomar decisiones informadas al instante.</p><h3>Ejemplo de Respuesta</h3><p>Imagina recibir esta riqueza de datos en milisegundos:</p><pre>{<br>    &quot;data&quot;: {<br>        &quot;fullName&quot;: &quot;JUAN PÉREZ LÓPEZ&quot;,<br>        &quot;birthDate&quot;: &quot;1990-05-21&quot;,<br>        &quot;gender&quot;: &quot;MASCULINO&quot;,<br>        &quot;documentNumber&quot;: &quot;1234567890101&quot;,<br>        &quot;documentType&quot;: &quot;CUI&quot;<br>    },<br>    &quot;signature&quot;: {<br>        &quot;dateTime&quot;: &quot;January 19, 2026&quot;,<br>        &quot;message&quot;: &quot;Certified by Verifik.co&quot;<br>    }<br>}</pre><h3>Casos de Uso Reales</h3><p>Esta herramienta es ideal para diversos sectores en Guatemala:</p><ol><li>Fintech y Banca: Apertura de cuentas digitales donde verificar la edad y la identidad real es obligatorio.</li><li>Seguros: Validación de asegurados para pólizas de vida o salud.</li><li>Recursos Humanos: Contratación rápida y segura, asegurando que el candidato es quien dice ser.</li><li>E-commerce: Prevención de contracargos validando la identidad del comprador en transacciones de alto valor.</li></ol><h3>Integración en Minutos</h3><p>En Verifik, creemos que la seguridad no debe ser complicada. Integrar este endpoint es tan sencillo como hacer una petición HTTP. Aquí tienes un ejemplo rápido en Node.js:</p><pre>import axios from &quot;axios&quot;;</pre><pre>const verifyGuatemalaUser = async (cui) =&gt; {<br>  try {<br>    const { data } = await axios.get(&quot;[https://api.verifik.co/v2/gt/cedula/extra](https://api.verifik.co/v2/gt/cedula/extra)&quot;, {<br>      params: { documentType: &quot;CUI&quot;, documentNumber: cui },<br>      headers: { Authorization: `Bearer ${process.env.VERIFIK_TOKEN}` },<br>    });<br>    console.log(&quot;Datos verificados:&quot;, data);<br>  } catch (error) {<br>    console.error(&quot;Error en validación:&quot;, error);<br>  }<br>};</pre><h3>Empieza a Verificar Hoy</h3><p>No dejes la seguridad de tu negocio al azar. Con la API de Guatemala Extra, tienes el poder de las fuentes oficiales al alcance de tu código.</p><p>🔗 <a href="https://docs.verifik.co/identidad/guatemala-extra">Explora la documentación completa aquí</a><br>🚀 <a href="https://verifik.co/">Regístrate gratis en Verifik</a> y obtén tus primeros créditos de prueba.</p><p><em>Verifik es la plataforma líder en validación de identidad y prevención de fraude en LATAM.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=385975c94cad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zelf: x402 encryption as a service — Your face is your key]]></title>
            <link>https://migueltrevinom.medium.com/zelf-x402-encryption-as-a-service-your-face-is-your-key-fdfd993234de?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdfd993234de</guid>
            <category><![CDATA[zelf]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[x402]]></category>
            <category><![CDATA[biometrics]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 02:57:09 GMT</pubDate>
            <atom:updated>2026-01-12T02:57:09.146Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xr_yZFMkbkZkK5GWMKBDWw.png" /></figure><h3>Zelf: x402 encryption as a service — Your face is your key</h3><p>For decades, the HTTP status code 402 Payment Required has been reserved for future use. While 404 Not Found and 500 Internal Server Error became part of our daily developer vocabulary, 402 sat dormant, waiting for a native digital value transfer layer.</p><p>With the rise of high-speed blockchains like Solana, Avalanche, and Base, that future is finally here. This is fully adaptable for the whole Agent economy that is raising and it&#39;s coming to stay!</p><p>At <strong>ZelfProof</strong>, we have implemented a production-ready <strong>HTTP 402 architecture</strong> that allows users to pay for API usage on a per-request basis using our ZNS token. This system eliminates the friction of monthly subscriptions for occasional users and demonstrates the true power of “programmable money.”</p><h3>The Architecture Overview</h3><p>Our system is designed to be chain-agnostic, allowing users to pay on their preferred network while accessing the same unified API services.</p><h3>Core Components</h3><ol><li><strong>Payment Middleware</strong>: Validates payment headers and proofs before allowing access to protected endpoints.</li><li><strong>Chain-Specific Verification Modules</strong>: Dedicated modules for Solana, Avalanche, and Base that verify transactions on their respective ledgers.</li><li><strong>ZNS Token</strong>: The utility token used for all payments.</li></ol><h3>How the Flow Works</h3><p>The beauty of this architecture lies in its simplicity. It follows a standard challenge-response pattern:</p><ol><li><strong>The Challenge</strong>: A user attempts to access a protected endpoint (e.g., /api/zelf-proof/encrypt).</li><li><strong>The 402 Response</strong>: The server checks for payment headers. If missing, it returns a 402 Payment Required status. This response includes a JSON payload with precise instructions:</li></ol><ul><li>Cost of the request (e.g., 0.1 ZNS)</li><li>Accepted chains</li><li>Service wallet addresses</li></ul><p>After getting the 402 Payment Required:</p><ol><li><strong>The Payment</strong>: The user (or their client application) sends the required ZNS tokens on their chosen chain.</li><li><strong>The Retry</strong>: The client retries the original request, this time attaching the transaction hash in the x-payment-tx header.</li><li><strong>The Access</strong>: The middleware verifies the transaction on-chain. If valid, the API request is processed.</li></ol><pre>sequenceDiagram<br>    participant User<br>    participant API<br>    participant BlockchainUser-&gt;&gt;API: POST /encrypt (No Payment)<br>    API--&gt;&gt;User: 402 Payment Required (Cost: 0.1 ZNS)<br>    User-&gt;&gt;Blockchain: Send 0.1 ZNS<br>    Blockchain--&gt;&gt;User: Transaction Hash<br>    User-&gt;&gt;API: POST /encrypt (x-payment-tx: Hash)<br>    API-&gt;&gt;Blockchain: Verify Transaction<br>    Blockchain--&gt;&gt;API: Valid<br>    API--&gt;&gt;User: 200 OK (Encrypted Data)<br></pre><h3>Why Multi-Chain?</h3><p>We chose to support <strong>Solana</strong>, <strong>Avalanche</strong>, and <strong>Base</strong> to maximize accessibility and minimize costs.</p><ul><li><strong>Solana</strong>: For sub-second finality (~400ms) and negligible fees.</li><li><strong>Avalanche</strong>: For a robust EVM-compatible experience with fast confirmation times.</li><li><strong>Base</strong>: Leveraging the security of Ethereum with the speed of an L2.</li></ul><p>Each chain has its own verification logic to handle differences in block times and confirmation requirements, ensuring that we never keep the user waiting longer than necessary.</p><h3>Developer Experience</h3><p>Integrating this from the frontend is straightforward. Here is how a typical client handles the 402 challenge:</p><pre>async function callPaidEndpoint(endpoint, data, chain, wallet) {<br>	try {<br>		// Attempt request<br>		return await axios.post(endpoint, data);<br>	} catch (error) {<br>		if (error.response?.status === 402) {<br>			// 1. Get payment details<br>		      const { cost, serviceWallet } = error.response.data.paymentDetails;<br>                      // 2. Perform crypto transaction<br>                      const txHash = await wallet.sendTokens(cost, serviceWallet);<br>                         // 3. Retry with proof<br>                      return await axios.post(endpoint, data, {<br>                          headers: {<br>                           &quot;x-payment-chain&quot;: chain,<br>                           &quot;x-payment-tx&quot;: txHash,<br>                           },<br>                       });<br>                  }<br>          throw error;<br>       }<br>}</pre><h3>Security &amp; Replay Protection</h3><p>Allowing payments via transaction hashes introduces a risk: <strong>Replay Attacks</strong>. A malicious user could try to use the same transaction hash for multiple API calls.</p><p>To prevent this, our middleware implements:</p><ul><li><strong>Transaction Tracking</strong>: Every used transaction hash is stored in a database.</li><li><strong>Redis Caching</strong>: Recent payments are cached for instant lookups.</li><li><strong>Atomic Verification</strong>: The check-and-mark-used operation is atomic to prevent race conditions.</li></ul><h3>The Future of Micropayments</h3><p>This architecture paves the way for a new internet economy. Instead of walling off content behind $20/month subscriptions, services can charge fractions of a cent per article, per second of video, or per API call.</p><p>By leveraging HTTP 402 and high-performance blockchains, ZelfProof is not just building a product; we are building a blueprint for the future of web monetization.</p><h3>Build the Future with Zelf</h3><p>Ready to implement this in your own application? Or looking for a secure, biometric-enabled wallet that handles these micro-transactions seamlessly?</p><ul><li><strong>Integrate ZelfProof</strong>: Add privacy-preserving identity verification to your app with just a few lines of code.</li><li><strong>Explore Our Stack</strong>: Check out our open-source documentation to see how we build secure, scalable crypto infrastructure.</li><li><strong>Join the Network</strong>: Use Zelf Wallet to interact with ZelfProof services cleanly and securely.</li></ul><p><a href="https://docs.zelf.world/"><strong>Start Building</strong></a> | <a href="https://zelf.world/download"><strong>Download Zelf</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdfd993234de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero Knowledge Face Proofs: Build Secure Apps Without Storing Passwords or Biometric Data]]></title>
            <link>https://migueltrevinom.medium.com/zero-knowledge-face-proofs-build-secure-apps-without-storing-passwords-or-biometric-data-cfc746d291fc?source=rss-b57e856f2b02------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfc746d291fc</guid>
            <category><![CDATA[verifik]]></category>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[biometrics]]></category>
            <dc:creator><![CDATA[Miguel Treviño]]></dc:creator>
            <pubDate>Sun, 19 Oct 2025 02:35:32 GMT</pubDate>
            <atom:updated>2025-10-19T02:35:32.283Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*52FI2ZUaa7kIe2xhAxbBHQ.jpeg" /></figure><p><strong>Build passwordless authentication, hot wallets, MPC wallets, and encrypted storage systems using only your user’s face — without ever storing biometric data on your servers.</strong></p><p>In this post, I’ll show you how to use Zero Knowledge Face Proofs (ZelfProofs) to build secure applications that eliminate passwords, protect user privacy, and comply with data protection regulations — all with simple REST API calls.</p><h3>What Can You Build with ZelfProofs?</h3><p>Here are real-world applications you can build using our API:</p><h3>🔐 Passwordless Authentication</h3><p>Replace traditional passwords with face-based authentication. Users log in by taking a selfie — no passwords to remember, reset, or leak.</p><h3>💰 Cryptocurrency Hot Wallets</h3><p>Create self-custodial wallets where users access their crypto with their face. The private keys are encrypted with biometric data that never leaves their device.</p><h3>🔑 MPC (Multi-Party Computation) Wallets</h3><p>Build distributed key management systems where facial biometrics serve as one factor in a multi-signature setup.</p><h3>🆔 Decentralized Identity (DID)</h3><p>Create portable digital identities that users control. Perfect for Web3 applications, metaverse platforms, and self-sovereign identity systems.</p><h3>📁 Encrypted Data Storage</h3><p>Encrypt user documents, medical records, or sensitive files using ZelfProofs. Only the user’s face can decrypt them — not even you can access the data.</p><h3>🏦 Financial Services</h3><p>Build KYC/AML compliant systems, secure payment authentication, or account recovery mechanisms that work across devices.</p><h3>How It Works: The Technical Flow</h3><pre>1. User takes selfie → 2. Create ZelfProof → 3. Store encrypted data<br>                           ↓<br>4. User takes selfie → 5. Decrypt ZelfProof → 6. Access data/wallet/account</pre><p><strong>Key Point:</strong> Your facial data never leaves your device. What gets sent to the server is a cryptographic proof that can’t be reverse-engineered to recreate your face.</p><h3>Quick Start: Create Your First ZelfProof</h3><p>Let’s create a ZelfProof that encrypts a cryptocurrency wallet mnemonic. First, <a href="https://app.verifik.co/">sign up for a free account</a> to get your API key.</p><h3>Step 1: Create a ZelfProof (Encryption)</h3><pre>curl -X POST &quot;https://api.zelf.world/api/zelf-proof/encrypt&quot; \<br>  -H &quot;Authorization: Bearer YOUR_API_KEY&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{<br>    &quot;faceBase64&quot;: &quot;BASE64_ENCODED_SELFIE&quot;,<br>    &quot;metadata&quot;: {<br>      &quot;mnemonic&quot;: &quot;word1 word2 word3 ... word12&quot;,<br>      &quot;walletAddress&quot;: &quot;0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb&quot;<br>    },<br>    &quot;publicData&quot;: {<br>      &quot;userId&quot;: &quot;user123&quot;,<br>      &quot;createdAt&quot;: &quot;2024-12-19&quot;<br>    },<br>    &quot;password&quot;: &quot;optional-additional-security&quot;,<br>    &quot;requireLiveness&quot;: true,<br>    &quot;tolerance&quot;: &quot;REGULAR&quot;<br>  }&#39;</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;zelfProof&quot;: &quot;A14THLzLTzI+57Nb52+PGXv...&quot;,<br>  &quot;identifier&quot;: &quot;user123&quot;<br>}</pre><p><strong>What just happened?</strong></p><ul><li>The metadata object (with your wallet mnemonic) is encrypted using the facial biometric</li><li>The zelfProof is a base64 string you can store in your database</li><li>The publicData is readable without decryption (useful for displaying user info)</li></ul><h3>Step 2: Decrypt the ZelfProof (Authentication/Access)</h3><pre>curl -X POST &quot;https://api.zelf.world/api/zelf-proof/decrypt&quot; \<br>  -H &quot;Authorization: Bearer YOUR_API_KEY&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{<br>    &quot;faceBase64&quot;: &quot;BASE64_ENCODED_NEW_SELFIE&quot;,<br>    &quot;zelfProof&quot;: &quot;A14THLzLTzI+57Nb52+PGXv...&quot;,<br>    &quot;password&quot;: &quot;optional-additional-security&quot;,<br>    &quot;requireLiveness&quot;: true,<br>    &quot;tolerance&quot;: &quot;REGULAR&quot;<br>  }&#39;</pre><p><strong>Response:</strong></p><pre>{<br>  &quot;identifier&quot;: &quot;user123&quot;,<br>  &quot;metadata&quot;: {<br>    &quot;mnemonic&quot;: &quot;word1 word2 word3 ... word12&quot;,<br>    &quot;walletAddress&quot;: &quot;0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb&quot;<br>  },<br>  &quot;publicData&quot;: {<br>    &quot;userId&quot;: &quot;user123&quot;,<br>    &quot;createdAt&quot;: &quot;2024-12-19&quot;<br>  },<br>  &quot;faceCropBase64&quot;: &quot;/9j/4AAQSkZJRg...&quot;,<br>  &quot;difficulty&quot;: &quot;EASY&quot;<br>}</pre><p><strong>Success!</strong> The user’s face matched, and you’ve decrypted the wallet mnemonic. Now you can sign transactions, unlock the account, or decrypt files.</p><h3>Use Case #1: Building a Passwordless Login System</h3><pre>// Frontend: User registration<br>const createUserAccount = async (selfieBase64, email) =&gt; {<br>  const response = await fetch(&#39;https://api.zelf.world/api/zelf-proof/encrypt&#39;, {<br>    method: &#39;POST&#39;,<br>    headers: {<br>      &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>      &#39;Content-Type&#39;: &#39;application/json&#39;<br>    },<br>    body: JSON.stringify({<br>      faceBase64: selfieBase64,<br>      metadata: {<br>        email: email,<br>        userId: generateUUID(),<br>        createdAt: new Date().toISOString()<br>      },<br>      requireLiveness: true<br>    })<br>  });<br>  <br>  const { zelfProof, identifier } = await response.json();<br>  <br>  // Store zelfProof in your database linked to this user<br>  await saveToDatabase({ userId: identifier, zelfProof });<br>  <br>  return identifier;<br>};</pre><pre>// Frontend: User login<br>const loginUser = async (selfieBase64, userId) =&gt; {<br>  // Fetch the user&#39;s zelfProof from your database<br>  const { zelfProof } = await fetchFromDatabase(userId);<br>  <br>  const response = await fetch(&#39;https://api.zelf.world/api/zelf-proof/decrypt&#39;, {<br>    method: &#39;POST&#39;,<br>    headers: {<br>      &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>      &#39;Content-Type&#39;: &#39;application/json&#39;<br>    },<br>    body: JSON.stringify({<br>      faceBase64: selfieBase64,<br>      zelfProof: zelfProof,<br>      requireLiveness: true<br>    })<br>  });<br>  <br>  if (response.ok) {<br>    const userData = await response.json();<br>    // User authenticated! Create session<br>    return createUserSession(userData.metadata);<br>  } else {<br>    throw new Error(&#39;Authentication failed&#39;);<br>  }<br>};</pre><h3>Use Case #2: Cryptocurrency Hot Wallet</h3><pre>import requests<br>import json</pre><pre>def create_wallet(selfie_base64, mnemonic):<br>    &quot;&quot;&quot;Create a ZelfProof-protected crypto wallet&quot;&quot;&quot;<br>    <br>    response = requests.post(<br>        &#39;https://api.zelf.world/api/zelf-proof/encrypt&#39;,<br>        headers={<br>            &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>            &#39;Content-Type&#39;: &#39;application/json&#39;<br>        },<br>        json={<br>            &#39;faceBase64&#39;: selfie_base64,<br>            &#39;metadata&#39;: {<br>                &#39;mnemonic&#39;: mnemonic,<br>                &#39;walletType&#39;: &#39;ethereum&#39;,<br>                &#39;chainId&#39;: 1<br>            },<br>            &#39;publicData&#39;: {<br>                &#39;address&#39;: derive_address_from_mnemonic(mnemonic)<br>            },<br>            &#39;requireLiveness&#39;: True,<br>            &#39;tolerance&#39;: &#39;STRICT&#39;<br>        }<br>    )<br>    <br>    return response.json()[&#39;zelfProof&#39;]</pre><pre>def sign_transaction(selfie_base64, zelf_proof, transaction_data):<br>    &quot;&quot;&quot;Decrypt wallet and sign transaction&quot;&quot;&quot;<br>    <br>    response = requests.post(<br>        &#39;https://api.zelf.world/api/zelf-proof/decrypt&#39;,<br>        headers={<br>            &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>            &#39;Content-Type&#39;: &#39;application/json&#39;<br>        },<br>        json={<br>            &#39;faceBase64&#39;: selfie_base64,<br>            &#39;zelfProof&#39;: zelf_proof,<br>            &#39;requireLiveness&#39;: True<br>        }<br>    )<br>    <br>    if response.status_code == 200:<br>        data = response.json()<br>        mnemonic = data[&#39;metadata&#39;][&#39;mnemonic&#39;]<br>        <br>        # Now use the mnemonic to sign the transaction<br>        signed_tx = sign_with_mnemonic(mnemonic, transaction_data)<br>        return signed_tx<br>    else:<br>        raise Exception(&#39;Face verification failed&#39;)</pre><h3>Use Case #3: Encrypted Document Storage</h3><pre>// Encrypt a document with a user&#39;s face<br>async function encryptDocument(<br>  userSelfie: string,<br>  documentContent: string<br>): Promise&lt;string&gt; {<br>  const response = await fetch(&#39;https://api.zelf.world/api/zelf-proof/encrypt&#39;, {<br>    method: &#39;POST&#39;,<br>    headers: {<br>      &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>      &#39;Content-Type&#39;: &#39;application/json&#39;<br>    },<br>    body: JSON.stringify({<br>      faceBase64: userSelfie,<br>      metadata: {<br>        document: documentContent,<br>        encryptedAt: new Date().toISOString()<br>      },<br>      publicData: {<br>        documentName: &#39;Medical Record&#39;,<br>        documentType: &#39;PDF&#39;<br>      },<br>      requireLiveness: true<br>    })<br>  });<br>  <br>  const { zelfProof } = await response.json();<br>  return zelfProof; // Store this in your database<br>}</pre><pre>// Decrypt the document when user verifies their face<br>async function decryptDocument(<br>  userSelfie: string,<br>  zelfProof: string<br>): Promise&lt;string&gt; {<br>  const response = await fetch(&#39;https://api.zelf.world/api/zelf-proof/decrypt&#39;, {<br>    method: &#39;POST&#39;,<br>    headers: {<br>      &#39;Authorization&#39;: &#39;Bearer YOUR_API_KEY&#39;,<br>      &#39;Content-Type&#39;: &#39;application/json&#39;<br>    },<br>    body: JSON.stringify({<br>      faceBase64: userSelfie,<br>      zelfProof: zelfProof,<br>      requireLiveness: true<br>    })<br>  });<br>  <br>  const data = await response.json();<br>  return data.metadata.document; // Original document content<br>}</pre><h3>Understanding the API Response</h3><p>When you decrypt a ZelfProof, here’s what you get back:</p><pre>{<br>  &quot;identifier&quot;: &quot;user-unique-id&quot;,<br>  &quot;metadata&quot;: {<br>    // Your encrypted data (only accessible with correct face)<br>    &quot;secret&quot;: &quot;sensitive-information&quot;,<br>    &quot;walletKey&quot;: &quot;private-key-data&quot;<br>  },<br>  &quot;publicData&quot;: {<br>    // Non-sensitive data (always readable)<br>    &quot;name&quot;: &quot;John Doe&quot;,<br>    &quot;email&quot;: &quot;john@example.com&quot;<br>  },<br>  &quot;faceCropBase64&quot;: &quot;/9j/4AAQ...&quot;,  // Cropped face image<br>  &quot;difficulty&quot;: &quot;EASY&quot;  // How difficult the face match was<br>}</pre><h3>Security Best Practices</h3><h3>✅ Do:</h3><ul><li>Always enable requireLiveness: true in production</li><li>Use tolerance: &quot;STRICT&quot; for high-security applications (wallets, payments)</li><li>Add an optional password for additional security layer</li><li>Store ZelfProofs in your database (they’re safe to store — they can’t be reversed)</li><li>Implement rate limiting on decrypt attempts</li></ul><h3>❌ Don’t:</h3><ul><li>Never store the actual facial images on your servers</li><li>Don’t disable liveness detection in production</li><li>Don’t use tolerance: &quot;LOW&quot; for financial applications</li><li>Don’t share API keys in client-side code (use a backend proxy)</li></ul><h3>Try It Now: 5-Minute Integration</h3><ol><li><strong>Sign up for free</strong>: <a href="https://app.verifik.co/">app.verifik.co</a></li><li><strong>Get your API key</strong>: Available immediately in your dashboard</li><li><strong>Test in sandbox</strong>: Use our test environment with no limits</li><li><strong>Read the docs</strong>: <a href="https://docs.verifik.co/">docs.verifik.co</a> for complete API reference</li><li><strong>Join our Discord</strong>: Get help from our developer community</li></ol><h3>API Reference Quick Links</h3><ul><li><a href="https://docs.verifik.co/functions/create-qr-zelfproof"><strong>Create ZelfProof (Encrypt)</strong></a>: Encrypt data with facial biometrics</li><li><a href="https://docs.verifik.co/functions/decrypt-zelfproof"><strong>Decrypt ZelfProof</strong></a>: Verify face and decrypt data</li><li><a href="https://docs.verifik.co/api/tags/preview-zelfproof"><strong>Preview ZelfProof</strong></a>: View public data without decryption</li><li><a href="https://docs.verifik.co/"><strong>Full API Documentation</strong></a>: Complete guides and examples</li></ul><h3>Real-World Success Stories</h3><ul><li><strong>Crypto Wallet App</strong>: Reduced account recovery requests by 95%</li><li><strong>Healthcare Platform</strong>: HIPAA-compliant patient record access without storing biometric data</li><li><strong>Enterprise SaaS</strong>: Eliminated password resets, saving $50K/year in support costs</li><li><strong>DeFi Protocol</strong>: Enabled social recovery for MPC wallets using facial verification</li></ul><p><strong>All tiers include:</strong></p><ul><li>Liveness detection</li><li>Global IPFS Storage for fast response times and decentralized storage</li><li>99.9% uptime SLA</li><li>Technical support</li></ul><h3>Start Building Today</h3><pre># Get your API key<br>curl -X POST https://app.verifik.co/api/auth/signup \<br>  -d &quot;email=you@example.com&quot;</pre><pre># Make your first API call<br>curl -X POST &quot;https://api.zelf.world/api/zelf-proof/encrypt&quot; \<br>  -H &quot;Authorization: Bearer YOUR_API_KEY&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  -d &#39;{&quot;faceBase64&quot;: &quot;...&quot;, &quot;metadata&quot;: {&quot;test&quot;: &quot;Hello World&quot;}}&#39;</pre><h3>Get Help</h3><ul><li>📚 <strong>Documentation</strong>: <a href="https://docs.verifik.co/">docs.verifik.co</a></li><li>💬 <strong>Discord Community</strong>: <a href="https://discord.gg/verifik">Join our developers</a></li><li>🐛 <strong>GitHub</strong>: <a href="https://github.com/verifik">Report issues</a></li><li>📧 <strong>Email Support</strong>: <a href="/service/mailto:developers@verifik.co">developers@verifik.co</a></li></ul><h3>What’s Next?</h3><ol><li><a href="https://app.verifik.co/">Create your free account</a></li><li>Get your API key</li><li>Try the examples above</li><li>Build something amazing!</li></ol><p><strong>Ready to build the future of secure, passwordless authentication? Create your free account and start testing in minutes.</strong></p><p><em>No credit card required. 1,000 free API calls per month. Cancel anytime.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfc746d291fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>