UNPKG

emvco-qr-sdk

Version:

A robust TypeScript SDK for decoding, validating, and processing EMVCo-compliant QR codes used in digital payment systems.

24 lines (23 loc) 673 B
import { TagMappingStrategy } from '../../types/tag-resolver.type'; /** * Mapping strategy for tag 49 - Acquirer Network Identifier. * * Tag 49 contains: * - Subtag 00: GUI (Globally Unique Identifier, e.g., CO.COM.CRB.RED) * - Subtag 01: Short code (e.g., CRB) * * This strategy resolves and maps the subtags, and adds a human-readable network name. * * Example output: * ```ts * { * gui: "CO.COM.CRB.RED", * networkId: "CRB", * networkName: "Credibanco" * } * ``` * * @param tlv - TLV entity for tag 49 * @returns An object with `gui`, `networkId`, and resolved `networkName` */ export declare const acquirerNetworkStrategy: TagMappingStrategy;