Payments glossary Declines & recovery
What Is a Merchant Advice Code (MAC)?
Definition
A Merchant Advice Code (MAC) is a code Mastercard returns with a declined authorization to tell the merchant whether and when to retry. MAC 01 means updated information is needed, 02 means try again later, 03 means do not try again, and 24-30 specify a waiting period. It complements the decline response code.
Also called: MAC, Mastercard merchant advice code, network advice code
How it works and why it matters
Mastercard's codes cover several cases. MAC 01 and 04 point to updated or additional information (04 concerns token requirements). MAC 02 asks for a retry later, MAC 03 says do not try again, and MAC 21 signals a payment cancellation by the cardholder. MAC 24, 25, 26, 27, 28, 29 and 30 mean retry after one hour, 24 hours, two days, four days, six days, eight days and 10 days. Further values identify non-reloadable prepaid cards (40), single-use virtual cards (41) and sanctions scoring (42). Payment providers expose the value as a separate field; Stripe calls it network_advice_code.
Mastercard enforces the advice. From 1 January 2026 in the US and Canada, a card-not-present authorization on a card that the same merchant had declined with MAC 03 or 21 within the past 30 days can incur an excessive authorization fee, whatever the amount. For subscriptions, MAC 21 is the strongest signal of all: the cardholder has asked the issuer to stop the payments.
Example
A meditation app's renewal on a Mastercard returns code 51 with MAC 27. The app holds the retry for four days instead of following its default schedule, and the payment is approved. A different subscriber's card returns MAC 21, so the app stops retrying and treats it like a cancellation request rather than a failed payment.
Frequently asked questions
What is a Merchant Advice Code (MAC)?
A Merchant Advice Code (MAC) is a code Mastercard returns with a declined authorization to tell the merchant whether and when to retry. MAC 01 means updated information is needed, 02 means try again later, 03 means do not try again, and 24-30 specify a waiting period. It complements the decline response code.
Does Visa have Merchant Advice Codes?
Not under that name. Visa signals retry eligibility through its four decline categories: Category 1 codes must never be reattempted, while Categories 2-4 allow up to 20 attempts in 30 days. Some payment providers expose a unified advice field that covers both networks.
Related terms
Related tools and guides
Sources
- Recommendation codes (Checkout.com Docs)
- Important Updates to Mastercard Merchant Advice Code (MAC) Program Standards (TabaPay Docs)
Sources checked November 2026. Card network and scheme rules change; confirm current rules with your payment provider.
More declines & recovery terms
Losing subscription revenue to failed payments?
Slicker recovers failed recurring payments with smart retries driven by decline codes and Merchant Advice Codes, plus hyper-personalized emails when the customer has to act. It runs on your existing billing platform, and you only pay when it outperforms your current setup in a 50/50 test.