pix-utils
Version:
Set of tools to parse, generate and validate payments of Brazil Instant Payment System (Pix)
7 lines (6 loc) • 444 B
TypeScript
import { PixElements, PixEmvMandatoryElements, PixObjects } from './types/pixElements';
import { ValidTags } from './types/pixEmvSchema';
import { PixError } from './types/pixError';
export declare function parsePix(brCode: string): PixObjects | PixError;
export declare function extractMandatoryElements(emvElements: ValidTags): PixEmvMandatoryElements;
export declare function extractElements(emvElements: ValidTags): PixElements | PixError;