Merchant advice codes and Visa category codes

The Merchant Advice Code (MAC) or Visa Category Code (VCC) can be part of the data that you receive in a transaction response for a recurring payment.

The main purpose of these codes is to help you to know if you can retry a declined transaction or not.


Visa table of Visa Category Codes (VCC)

DescriptionVisa Category Code (VCC)In BillPro
Approved0Approved
Issuer will never approve1Hard-declined
Issuer cannot approve at this time2Soft-declined
Data quality issues / revalidate data3Soft-declined
Generic response codes4Soft-declined

If the transaction is hard-declined, you cannot retry it. If the transaction is soft-declined, you can retry it up to 15 times within 30 days of the soft decline.


MasterCard table of Merchant Advice Codes (MACs)

MAC CodeDescriptionIn BillPro
00ApprovedApproved
01Updated/additional information neededSoft-declined
02Try again laterSoft-declined
03Do not try againHard-declined
04Token requirements are not fulfilled for this token typeSoft-declined
21Payment cancellationHard-declined

If the transaction is hard-declined, you cannot retry the transaction. If the transaction is soft-declined, you can retry the transaction up to 15 times in 30 days.


In addition to these codes, the scheme response code can give you more details about why the transaction failed. If there is no merchant advice code or scheme response code and the transaction is declined, it is possible that the transaction was soft-declined, or it may have failed at the payment gateway. For more details, see Display related transactions for an order.


Recommended reading

Display transactions related to an order and recover failed billing events