Skip to content

Instantly share code, notes, and snippets.

View ccor20's full-sized avatar
💻
</>

Cristian Cortés ccor20

💻
</>
View GitHub Profile
@ccor20
ccor20 / device-identification-rule-engine-config-guide.md
Created March 26, 2026 06:03
Device Identification Rule Engine — Configuration Guide

Device Identification Rule Engine — Configuration Guide

This guide explains how to configure the 3-layer decision engine that controls when the SDK should call the external device identification provider.


Decision Flow Overview

When POST /api/devices is called, the engine evaluates 3 layers in order. The first layer that produces a definitive answer wins:

@ccor20
ccor20 / device-identification-technical-gist.md
Created March 19, 2026 01:32
N1 Active Fingerprinting - Technical GIST: Three-layer device identification pipeline architecture and rollout proposal

N1 Active Fingerprinting - Technical GIST

Overview

The Device Identification system determines whether a device registration event should trigger an external fingerprint analysis via FingerprintJS (FPJS). Every FPJS call has a cost, so the system is designed to minimize unnecessary calls through a multi-layered decision pipeline that evaluates rules, limits, and feature flags before committing to an external request.

The decision is made at the POST /api/devices endpoint (device registration) and returns a shouldIdentifyDevice: true|false flag to the mobile client, which then decides whether to call FPJS.


@ccor20
ccor20 / payway-millas-integracion.md
Last active February 12, 2026 20:07
Millas PayWay en n1co — Consulta de saldo y pago con millas (Guía de integración)

💳 Millas PayWay — Guía de Integración

PR: h4b-dev/payments-backend#413 · Paquete: PayWayInstallments v2.0.0 · Actualizado: Febrero 2026

Si tu integración ya procesa cargos con nuestra plataforma, solo necesitás incorporar dos llamadas para habilitar el programa de millas PayWay en tu checkout. No hay endpoints nuevos ni cambios en el flujo existente.


🌐 Ambientes