Skip to the tool
MoveAheadPayments Toolbox

Stripe decline codes and error codes

Stripe returns two different things when a card fails, and confusing them is the most common reason a lookup comes up empty. The error's code attribute says what kind of failure it was — card_declined for a card the issuer refused. The decline_code attribute on that same error says why the issuer refused it. A value like do_not_honor is a decline code and will never appear as an error code.

Checked against Stripe’s own documentation.

Search every code in the dictionary