RTB API

Using merchenta.io for real-time bidding

Test Credit Cards 

Credit card numbers

The sandbox environment only accepts test credit card numbers. The following card numbers may be used.

Visa

  • 4111 1111 1111 1111
  • 4005 5192 0000 0004

MasterCard

  • 5555 5555 5555 4444

Test Amounts for Unsuccessful Transactions

When working with transactions, you can pass specific amounts to simulate different responses from the gateway.

Amounts between $0.01 - $1999.99 will simulate a successful authorization.

Amounts between $2000.00 - $2062.99 and $3000.00 - $3000.99 will decline with the coordinating Processor Response.

Amounts between $2063.00 - $2999.99 will simulate the generic decline message “Processor Declined” with a decline code equal to the amount.

Amounts $3001.00 and greater will also simulate a successful authorization.

Processor Response Codes

Decline Codes

Code Text
2000 Do Not Honor
2001 Insufficient Funds
2002 Limit Exceeded
2003 Cardholder’s Activity Limit Exceeded
2004 Expired Card
2005 Invalid Credit Card Number
2006 Invalid Expiration Date
2007 No Account
2008 Card Account Length Error
2009 No Such Issuer
2010 Card Issuer Declined CVV
2011 Voice Authorization Required
2012 Processor Declined - Possible Lost Card
2013 Processor Declined - Possible Stolen Card
2014 Processor Declined - Fraud Suspected
2015 Transaction Not Allowed
2016 Duplicate Transaction
2017 Cardholder Stopped Billing
2018 Cardholder Stopped All Billing
2019 Invalid Transaction
2020 Violation
2021 Security Violation
2022 Declined - Updated Cardholder Available
2023 Processor Does Not Support This Feature
2024 Card Type Not Enabled
2025 Set Up Error - Merchant
2026 Invalid Merchant ID
2027 Set Up Error - Amount
2028 Set Up Error - Hierarchy
2029 Set Up Error - Card
2030 Set Up Error - Terminal
2031 Encryption Error
2032 Surcharge Not Permitted
2033 Inconsistent Data
2034 No Action Taken
2035 Partial Approval For Amount In Group III Version
2036 Authorization could not be found to reverse
2037 Already Reversed
2038 Processor Declined
2039 Invalid Authorization Code
2040 Invalid Store
2041 Declined - Call For Approval
2043 Error - Do Not Retry, Call Issuer
2044 Declined - Call Issuer
2045 Invalid Merchant Number
2046 Declined
2047 Call Issuer. Pick Up Card.
2048 Invalid Amount
2049 Invalid SKU Number
2050 Invalid Credit Plan
2051 Credit Card Number does not match method of payment
2052 Invalid Level III Purchase
2053 Card reported as lost or stolen
2054 Reversal amount does not match authorization amount
2055 Invalid Transaction Division Number
2056 Transaction amount exceeds the transaction division limit
2057 Issuer or Cardholder has put a restriction on the card
2058 Merchant not MasterCard SecureCode enabled.
2059 Address Verification Failed
2060 Address Verification and Card Security Code Failed
2061 Invalid Transaction Data
2062 Invalid Tax Amount

Failure Codes

3000 class codes are problems with the back-end processing network, and don’t necessarily mean a problem with the card itself.

Code Text
3000 Processor Network Unavailable - Try Again
Next page  Previous page