A decline code is a numeric code that is generated by the card issuer or payment processor when a transaction is declined. The code indicates the reason for the decline, such as insufficient funds, an invalid card number, or suspected fraud.