Merchant Advice Code (MAC)

Last updated:August 4, 2026

A decline is not always the end of a sale. Sometimes it is an instruction. Anna is a subscription shopper. Her renewal is a merchant initiated transaction, no shopper present to switch cards or try again. The issuer declines it, the merchant's system retries blindly, and both attempts fail the same way. Multiply that across a subscriber base and the noise becomes real, avoidable revenue at risk.

  • Every decline can carry more than a reason code: an instruction from the issuer on what to do next.
  • That instruction is the Merchant Advice Code (MAC): stop, wait, fix something, or retry later.
  • Listening to it, instead of retrying blindly, protects margin and recovers revenue.
Listen, control, recover
Listen
Merchant
Platform
Acquirer
Network
Issuer
The request goes out. The MAC comes back on the same path.
Signal captured
Control
Merchant
Platform
Acquirer
Issuer
Blocked before it can reach the acquirer or issuer again.
Protects margin
Recover
Platform
Acquirer
Network
Issuer
Sent onward again, on the issuer's own timing.
Recovers revenue
Listen: the platform captures the MAC on your behalf. Control: the retry never reaches the acquirer or issuer. Recover: the retry reaches the issuer again, on the issuer's own timing.

What is a MAC?

A MAC is a short code the issuer attaches to a decline response. The decline code explains why the payment failed. The MAC explains what should happen next: stop retrying, wait before retrying, update the card, complete authentication, or retry later when funds may be available.

The card schemes, Visa and Mastercard among them, do not create Merchant Advice Codes. They define the MAC rules and codes, deliver the MAC from issuer to acquirer to merchant, enforce retry rules, and may apply higher fees when issuer advice is ignored.

How the decline travels: issuer to scheme to merchant
Issuer declines
Attaches a Merchant Advice Code
Scheme delivers it
Visa, Mastercard and others carry the advice through
Merchant acts
Or absorbs the cost of ignoring it

The issuer decides what should happen next. The scheme delivers that decision. You choose whether to act on it, or absorb the cost of ignoring it.

Why it matters: MACs help you avoid blind retries. Handling them correctly means you:

  • Stop retrying payments that should not be retried.
  • Wait when the issuer says the timing is not right.
  • Fix card, authentication, or agreement issues before trying again.
  • Reduce failed retry traffic.
  • Avoid unnecessary fees.
  • Keep payment data cleaner.
  • Recover eligible recurring payments at the right time.

MAC handling is not only about blocking. It is about knowing the difference between a payment that should stop, a payment that should wait, and a payment that can still be recovered.

Reading a MAC's signal

Every MAC falls into one of four groups, and the group determines what happens next:

Do not retryFix firstRetry laterInformational

The table below maps confirmed MAC codes across Visa and Mastercard to the likely decline reason and the issuer's advice, grouped the same way as the signals above.

MACCategoryLikely decline reasonIssuer advice
01
Fix firstAccount update or SCA neededRetry with updated card info or 3DS
02
Retry laterInsufficient funds or credit limitRetry after 72 hours
03
Do not retryAccount closed or fraud suspectedDo not retry. Obtain a new payment method
04
InformationalToken setup issueRetry with correct token configuration
21
Do not retryRecurring agreement cancelled by customerDo not retry. Cardholder opted out
22
Fix firstMerchant not eligible for instalmentsDo not retry
24
Retry laterTemporary funding issueRetry after 1 hour
25
Retry laterTemporary funding issueRetry after 24 hours
26
Retry laterTemporary funding issueRetry after 2 days
27
Retry laterTemporary funding issueRetry after 4 days
28
Retry laterTemporary funding issueRetry after 6 days
29
Retry laterTemporary funding issueRetry after 8 days
30
Retry laterTemporary funding issueRetry after 10 days
40
InformationalConsumer non-reloadable prepaid card usedInformational only
41
InformationalSingle-use virtual card usedInformational only
42
InformationalSanctions screening triggeredDo not retry. Cardholder or transaction matched a sanctions list
43
InformationalMulti-use virtual card is usedInformational only. May appear on approved or declined transactions

MAC Control

MAC Control applies issuer advice automatically. When a declined transaction carries a MAC, MAC Control reads the advice and decides what should happen next: allow the retry, or block it.

How MAC Control decides to allow or block a retry
Declined with a MAC
Issuer advice is present
MAC Control reads the advice
Decision point
Retry allowed
Retry blocked

MAC Control changes cost, not conversion. Retrying a payment the issuer already told you to stop does not raise your authorization rate, the transaction was never going to clear. What changes is the fee. Card networks mandate a fee on the acquirer for retries that ignore issuer advice, and the acquirer passes that fee on to you. MAC Control removes retries that were never going to succeed, which means removing a fee you would otherwise absorb. It protects margin. It does not create revenue. Recovering revenue is a different job, and it belongs to MAC Scheduler.

Where it applies, and reading it yourself

MAC Control activates when a transaction uses a PAN, wallet DPAN, or network token, and a MAC is present in the decline response. It applies across:

  • Saved cards.
  • Subscription renewals.
  • Wallet payments.
  • Online pre-authorizations, debits, rebills, refunds, reversals, and credits.

MAC Control automates the decision, but the signal itself is not locked away. Where an acquiring connection supports it, the platform returns the issuer's Merchant Advice Code directly in the decline response, as resultDetails.MerchantAdviceCode. You can read it yourself and build your own retry logic on top of it, instead of or alongside MAC Control. Coverage depends on the acquiring connection: not every acquirer exposes a MAC, so support varies by acquirer.

How it decides

MAC Control looks at the type of issue behind the MAC, not just its severity, since that decides what "fixed" actually means.

Account-level vs transaction-level issues
Account-level issues
Tied to the cardholder account, card status, authentication, or merchant eligibility. Changing the amount or order reference will not fix these.
01 · card update or SCA 03 · account closed 22 · not eligible
Retry only after something changes: the card is updated, authentication is completed, a new payment method is provided, or the eligibility issue is resolved.
Transaction-level issues
Tied to the specific payment, agreement, amount, or timing, not the account itself.
02 · insufficient funds 24 to 30 · funding delay 21 · agreement cancelled
The right action depends on the issuer's advice: retry later, retry with a different amount, retry only with new consent, or stop retrying completely.

CIT and MIT handling

MAC Control applies to both customer initiated (CIT) and merchant initiated (MIT) transactions, but the right behaviour differs: only one of the two has a shopper present to act.

CIT vs MIT, side by side
Decline with a MAC
Who can act
MAC Control behaviour
CIT
Declined, MAC present
Shopper is present
Can retry, switch cards, or change amount
Configured flexibly
Avoids blocking a recoverable checkout
MIT
Declined, MAC present
Merchant controls the retry
No shopper to act in the moment
Blocks unwanted retries
Stops repeated attempts with no shopper to intervene
Dashed border marks the phase both paths share: a decline arrives carrying issuer advice. What differs is who can still act on it.
CIT · shopper present
She is still at checkout: she can top up, switch cards, or try another method herself. MAC Control stays flexible here, for example on insufficient funds, so a recoverable checkout is never blocked outright.
MIT · no shopper present
No shopper to step in: subscriptions, rebills, and saved-card renewals like Anna's. The merchant's system controls the retry, so MAC Control blocks it the moment the issuer says stop.

How it helps

Anna's transaction
Anna's renewal is declined, and the response carries a MAC. What happens next depends entirely on which code the issuer attached.
How MAC Control responds, by code
Do not retry
03 · account closed 21 · agreement cancelled
Blocked for 30 days. The issue is permanent, or the customer opted out.
Retry later
02 · insufficient funds 24 to 30 · funding delay
Blocked temporarily. Retry is allowed after the advised delay.
Fix first
01 · card update 01 · SCA needed 22 · not eligible
Blocked for 7 to 30 days, until the issue is resolved.
Worked example
For Anna's renewal, MAC Control decides instantly: 03 or 21 blocks for 30 days, 02 or 24 to 30 blocks temporarily until the advised delay passes, 01 or 22 blocks until the issue is fixed.
  • Each code gets the right block length, automatically, no manual lookup.
  • Retry windows and fee thresholds are applied for you, every time.

MAC Scheduler

MAC Scheduler is used for recoverable MIT payments over a merchant token. It does not apply to CIT payments, because with CIT the shopper is present and controls the next action: retry, top up, switch cards, or choose another method. With MIT, the shopper is not present, the merchant controls the retry logic, and that is where MAC Scheduler adds value: it turns retry later advice into a managed recovery plan. Where MAC Control protects margin, MAC Scheduler recovers revenue.

Prerequisite
MAC Scheduler builds on MAC Control. Before any retry is scheduled, MAC Control must first have blocked the immediate, unwanted one. MAC Control stops the wrong retries. MAC Scheduler schedules the right ones.
From decision to recovery plan
MAC Control reads the advice
Retry later
Decision point
Immediate retry blocked
MAC Scheduler creates a recovery plan

When it helps

MAC Scheduler is useful when the payment is merchant initiated, the transaction uses a merchant token, the issuer advice says retry later, and the payment may still be recoverable. Typical examples include:

  • Subscription renewals.
  • Recurring payments.
  • Rebills.
  • Insufficient funds.
  • Temporary credit limit issues.

MAC Scheduler is not for payments where the issuer says do not retry, and not for payments where the shopper must choose the next action. It is for MIT payments where the issuer indicates that retrying later may still make sense.

How it works

Anna's transaction
Anna's renewal fails again with Retry later, insufficient funds. MAC Control has already blocked the immediate retry; now it is MAC Scheduler's turn.
The recovery plan, step by step
Declined
Retry later
Recovery plan created
Up to 5 retries, merchant configurable
20 day window
Retries follow issuer timing
72 hours, then 10 days after new advice
Attempt 2 of up to 5, within the 20 day window
Recovered
Plan ends
Worked example
For Anna's renewal, MAC Scheduler creates a plan of up to 5 retries within a 20 day window, following the issuer's own timing: 72 hours, then 10 days after new advice. Each retry is treated as a new payment attempt, and the plan re-checks the MAC every time.
  • Retries continue only while the payment is inside the recovery window.
  • Retries stop once the configured retry limit is reached.
  • The plan ends the moment the payment succeeds.

This replaces static retry rules with an adaptive recovery plan. The merchant does not retry blindly. The merchant retries when issuer advice says it still makes sense.

MAC Control and MAC Scheduler together

MAC Control and MAC Scheduler work together. They are not the same capability.

SituationWhat it meansCapabilityOutcome
Do not retryThe issuer says stopMAC ControlRetry is blocked.
Fix firstSomething must change firstMAC ControlRetry is blocked or delayed.
Retry laterCIT, insufficient funds. The shopper is present and may still act.MAC ControlConfigured flexibly to avoid blocking recoverable checkout behaviour.
Retry laterMIT, retry later. The shopper is not present, but the payment may be recoverable later.MAC Control + MAC SchedulerRetry is blocked now and scheduled for later recovery.
Retry laterMIT, recovered. A later scheduled retry succeeds.MAC SchedulerThe recovery plan ends.

Put side by side, the split is simple:

Cost avoided vs revenue recovered
Cost avoided
Retries the issuer already told you to stop are removed before they happen, along with the network-mandated fee that comes with ignoring that advice.
MAC Control
Revenue recovered
Retries that still have a real chance are brought back on the issuer's own timing, turning a decline into a completed sale.
MAC Scheduler

What changes for you

A decline is not always a signal to retry immediately, or to give up. The difference is what the issuer already told you in the MAC. MAC Control blocked the retries that should never have been sent, and MAC Scheduler recovered the one that still had a chance. Anna's subscription renews without her ever seeing a declined charge. You get a cleaner retry queue and one less payment to chase.

What changes, at a glance
Fewer wasted retries
Blind retries are replaced with issuer-informed decisions.
Protected checkout
Present shoppers are not blocked from recoverable attempts.
Retry discipline
Retries happen because the issuer said so, not blindly.
Cleaner payment data
Fewer duplicate attempts cluttering your reporting.
MAC is how issuers talk to you.
MAC Control blocks or allows the retry based on issuer's signal.
MAC Scheduler helps you recover at the right time.
Section 6 of 6↑ Top

See also