saman-payment-pos
    Preparing search index...

    Function frameForSend

    • Bytes to put on the wire for a fully-built (already-MAC'd) ISO-8583 request.

      This is the identity function: requests are sent raw, with no length prefix and no 60 00 00 00 00 header. Only the terminal's responses carry that envelope. See the file header for the evidence from both reference implementations.

      Kept as a named function (rather than inlined) because it is part of the public API and because it is the natural place to document the asymmetry.

      Parameters

      • isoMessage: Buffer

      Returns Buffer