How to read an NMI response code
Every transaction response from the NMI gateway includes response (1 approved, 2 declined, 3 error), a responsetext and a numeric response_code. The code maps the processor result to a short list that NMI publishes. This page lists those documented codes by family. The first digit tells you who to talk to: 1xx approved, 2xx the card issuer, 3xx the gateway, 4xx the processor or your merchant setup. NMI documents the ranges only as a table, so treat the families as a rule of thumb.
Always read the responsetext too, especially for code 300 and 260, where the text carries the real reason. The full explanation of the three fields is in Reading the NMI Transaction Response. NMI for WooCommerce writes the raw code into the order notes, so you can match it here. Codes not listed on this page are not in NMI’s published table, so check with your gateway provider.