momus
Payment-message inspector

See what the
terminal actually
put on the wire.

momus parses SPDH and BIC-ISO messages and expands every field — EMV tags, token buffers, positional layouts — into something you can read.

momus — in Greek myth, the daimon of scrutiny and fault-finding, exiled from Olympus for criticising the work of the gods. A fitting patron for a tool that reads a message back to you, field by field.

inspect · contactless_emv_sale.txt BIC-ISO · request
FID 4Transaction Amount000090.48
Field[039]Response Code00 — Approved00
Field[055]ICC / EMV Data9F26 ARQC
Field[057]Expanded Token Buffer9 tokens decoded492 B
B2EMV Request Data16 fields
CHCardholder21 fields
FGFee / Group4 fields
Field[123]POS Data Code— unmapped
Two protocols, every layer

It reads the formats a POS terminal really speaks.

Not a hex dump with a legend — a full decode down to EMV tags and the copybook layouts inside a token buffer.

SPDH

Terminal ↔ host

FID and SFID fields parsed from the terminal-to-host dialogue, named and value-checked.

BIC-ISO

ISO 8583

The ACI BASE24 host protocol — all 128 data elements, labeled and structured.

EMV

Tag decoding

BER-TLV walked tag by tag: TVR, AIP, CVM, IAD, country and currency tables.

Tokens

P-57 / P-63 buffers

COBOL-copybook token layouts expanded — scheme and co-network variants included.

What it's for

One capture, checked against the other.

Author a test case once, then hold an SPDH capture against the BIC-ISO request it should have become — field by field, so a transform that drops a value can't hide.

SPDH capture
FID 4 000090.48
FID T 009
SFID 5 0400020
PAN ••••4291
BIC-ISO request
DE 4 000090.48 ✓
DE 3 009 ✓
DE 22 0400020 ✓
DE 2 ••••4291 ✓