Test cards

Test cards are essential tools required to begin and complete your integration with any of Getnet’s solutions. Please refer to the following list of test cards, organized by country and brand, to facilitate your integration process.


Test cards by country and brand


Argentina

BrandNumberType
Mastercard5155901222260000Credit (Local)
Mastercard5155901222240000Credit (Local)
Mastercard5155901222210000Credit (Local)
Mastercard5155901222270000Credit (Local)
Visa4042050000001005Credit (Local)
Visa4338330000009247Credit (Local)
Visa4512750000007735Credit (Local)
Visa4548460000002417Credit (Local)

Chile and Mexico

BrandNumberType
Mastercard5155901222260000Credit (Local)
Mastercard5155901222240000Credit (Local)
Mastercard5155901222210000Credit (Local)
Mastercard5155901222270000Credit (Local)

Transaction Denial Scenarios (Argentina, Chile and Mexico) When testing transactions with Mastercard test cards, specific amounts can be used to simulate different decline responses. Use the following amounts in your transactions to trigger the corresponding denial codes and messages:

AmountDecline CodeDescription
88880154Card Expired
88880251Insufficient Funds
88880365Exceeds Withdrawal Limit
88880514Invalid Card Number

Incorporate these amounts when sending transactions with the Mastercard test cards listed in the tables to verify the handling of common decline scenarios during your integration process.


Uruguay

BrandNumberResult
Visa4110760000000081Approves
Visa4110770010002837Approves
Visa4381080000000029Approves
Visa4111111111111111Approves 3DS-Y
Visa4110760000000008Approves 3DS-C
Visa4110760000000016Declines
Visa4005580000000040Declines
Visa4716375184092180Declines
Visa4381080000000011Declines
Visa4716375184092180Declines
Visa4110760000000032Leaves the transaction pending and resolves as approved 3DS-C
Visa4110760000000040Leaves the transaction pending and resolves as declined 3DS-A
Visa4048370000000037Leaves the transaction pending and resolves as declined
Visa4110760000000073Leaves the transaction pending and resolves as approved
Visa4110760000000065Throws an exception in the 3DS-N process
Visa4110760000000024Takes 180 seconds to respond and ends as approved
Visa4110760000000115Takes 180 seconds to respond and ends as declined
Visa4110760000000057Approves if amount is under 200 USD, otherwise declines
Visa4012888888881881Approves if expiration 11/28 and cvv 917 are provided, otherwise declines
Visa4381080000000003Leaves the transaction pending and resolves as declined
Visa4509564638437551Leaves the transaction pending and resolves as approved
Visa4864921336824366Leaves the transaction pending and resolves as declined
Visa4931974429847108Leaves the transaction pending and resolves as declined
Visa4532034637206853Leaves the transaction in manual processing; if processed, ends as declined
Visa4666666666666669Takes 180 seconds to respond and ends as approved
Mastercard5367680000000005Approves
Mastercard5180300000000005Approves 3DS-Y
Mastercard5292594382060745Approves 3DS-C
Mastercard5367680000000013Declines
Mastercard5180300000000039Declines 3DS-N
Mastercard5180300000000047Leaves the transaction pending and resolves as approved 3DS-C
Mastercard5180300000000054Leaves the transaction pending and resolves as declined 3DS-A

Behavior references for 3DS testing (Uruguay):

  • Y: Frictionless authentication
  • C: Challenge authentication (Friction) required
  • D: Decoupled authentication
  • A: Attempted authentication
  • N: Not authenticated

Spain

BrandBehaviour for 3DSCard NumberExpiration DateCVV
VISAEMV3DS 2.2454881000000000312/49123
MasterEMV3DS 2.1557644156304503712/49123
AmexSafeKey 1.0.237667400000000812/49123
Diners1.0.236849800000001812/49123
JCBJSecure 1.0.2358787000000000112/49123
VISAFrictionless EMV3DS 2.1454881447972722912/49123
VISAFrictionless 2.1 + threeDSMethodURL491801916003460212/49123
VISAChallenge EMV3DS 2.1454881721249301712/49123
VISAChallenge 2.1 + threeDSMethodURL491801919988383912/49123

Additional configuration (Spain) To use cards other than Visa or Master, additional configuration is required on the merchant side.


Brazil


Test cards

CardType of TestTest result
5155901222280001Authorized TransactionTransaction Approved
5155901222270002Unauthorized TransactionInvalid Card
5155901222260003Unauthorized TransactionCard Expired
5155901222250004Unauthorized TransactionInvalid Establishment
5155901222240005Unauthorized TransactionInsufficient funds
5155901222230006Unauthorized TransactionAuthorization Declined
5155901222220007Unauthorized TransactionUnprocessed Transaction
5155901222210008Unauthorized TransactionExceeds Withdrawal Limit
4012001037141112Authorized TransactionTransaction Approved
5473501089991800Authorized TransactionTransaction Approved with Brand Tokenization
4622943123039894Authorized TransactionTransaction Approved with Brand Tokenization

When using test cards, you need to be aware of some points:

  • Please use a valid expiration date, that is, after the current date.
  • The holder’s name must not have special characters such as stress marks and Ç.
  • The value of the CVV can be any numerical value with three digits.
  • For debit transactions, you must only use the Visa card: Visa: 4012001037141112.

Test cards for installments: To test purchases with installments in our test environment, you can use one of the available Mastercard or Visa test cards. However, if you choose a MasterCard, you must send specific values in the transaction, according to the table below:

transaction_typenumber_installmentsamount
INSTALL_NO_INTEREST3nnn0303
INSTALL_NO_INTEREST4nnn0404
INSTALL_NO_INTEREST5nnn0505
INSTALL_NO_INTEREST6nnn0606
INSTALL_WITH_INTEREST3nnn0303
INSTALL_WITH_INTEREST4nnn0404
INSTALL_WITH_INTEREST5nnn0505
INSTALL_WITH_INTEREST6nnn0606
INSTALL_WITH_INTEREST220221
INSTALL_WITH_INTEREST330221
INSTALL_WITH_INTEREST440221
INSTALL_WITH_INTEREST550221

Being nnn any value. These rules are unique to the Mastercard brand in our test environment and do not apply to the production environment.


MAC Test cards

Card Table for MAC (Merchant Advice Code | Mastercard) Returns:

CardType of TestTest result
5447318955603432Unauthorized TransactionAs 'amount' sent
MAC GetnetDescriptionAmount
1Updated/additional information needed847900
2Try Again Later848300
3Do Not Try Again848200
4Token requirements not fulfilled for tdis token type840400
UPayment Cancellation – Do not resubmit transaction842100
101Try after 1 hour842400
124Try after 24 hours842500
202Try after 2 days842600
204Try after 4 days842700
206Try after 6 days842800
208Try after 8 days842900
210Try after 10 days843000

3DS Test cards

For the purpose of testing 3DS transactions can be used the following cards:


3DS Card Table

SettingCardExpected Return
Successful WITH Authentication (WITH challenge)Visa/4000000000001091
Mastercard/5200000000001096
Elo/6505050000001091
Amex/340000000001098
ECI = 05 (Visa, Elo and American Express)
ECI = 02 (Mastercard)
Enrolled = Y
PAResStatus = C Xid = *Empty*

**DESAFIO – deverá retornar:**
PAResStatus = Y
Xid = *Xid value*

_Action: The establishment must attach Xid and Eci to the authorization message._
Unsuccessfully authentication (no challenge)Visa/4000000000001018
Mastercard/5200000000001015
Elo/6505050000001018
Amex/340000000001015
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = Y
Xid = *Xid value*

_Action: The establishment can still authorize a failed 3DS as an unauthenticated transaction._
Unsuccessful Authentication Attempt (no challenge)Visa/4000000000001026
Mastercard/5200000000001021
Elo/6505050000001026
Amex/340000000001023
ECI = 06 (Visa, Elo and American Express)
ECI = 01 (Mastercard)
Enrolled = Y
PAResStatus = A
Xid = *Xid value*

_Action: The establishment must attach Xid and Eci to the authorization message._
Authentication unavailable with IssuerVisa/4000000000001034
Mastercard/5200000000003035
Elo/6505050000001034
Amex/340000000001031
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = U
Xid = *Xid value*

_Action: The establishment must continue with the authorization message._
Authentication rejected by the issuer (no challenge)Visa/4000000000001042
Mastercard/5200000000003043
Elo/6505050000001042
Amex/340000000001049
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = R
Xid = *Xid value*

_Action: The establishment must NOT continue with the authorization. You must request another payment and are not allowed to submit this transaction for authorization._
Authentication not available in searchVisa/4000000000001059
Mastercard/5200000000003054
Elo/6505050000001059
Amex/340000000001056
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = U
PAResStatus = *Empty*
Xid = *Xid value*

_Action: The establishment must continue with the authorization message._
Authentication attempt errorVisa/4000000000001067
Mastercard/5200000000001062
Elo/6505050000001067
Amex/340000000001064
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = U
PAResStatus = *Empty*
Xid = *Xid value*

_Action: The establishment must continue with the authorization message._
Timeout on authentication attemptVisa/4000000000001075
Mastercard/5200000000001070
Elo/6505050000001075
Amex/340000000001072
ECI = *Empty*
Enrolled = U
PAResStatus = *Empty*
Xid = *Xid value*

_Action: The establishment must continue with the authorization message.._
Authentication ignoredVisa/4000000000001083
Mastercard/5200000000001088
Elo/6505050000001083
Amex/340000000001080
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = B
PAResStatus = *Empty*
Xid = *Empty*

_Action: The establishment must continue with the authorization message._
Successful WITH Authentication (WITH challengeVisa/4000000000001091
Mastercard/5200000000001096
Elo/6505050000001091
Amex/340000000001098
ECI = 05 (Visa, Elo and American Express)
ECI = 02 (Mastercard)
Enrolled = Y
PAResStatus = C
Xid = *Empty*

**DESAFIO – deverá retornar:**
PAResStatus = Y
Xid = *Xid value*

_Action: The establishment must attach Xid and Eci to the authorization message._
Authentication WITHOUT Success (WITH CHALLENGE)Visa/4000000000001109
Mastercard/5200000000001104
Elo/6505050000001109
Amex/340000000001106
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = C
Xid = *Empty*

**DESAFIO – deverá retornar:**
PAResStatus = N
Xid = *Empty*

_Action: The establishment must NOT continue with the authorization. The establishment must request another payment and is not allowed to submit this transaction for authorization._
Challenge not availableVisa/4000000000001117
Mastercard/5200000000001112
Elo/6505050000001117
Amex/340000000001114
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = C
Xid = *Empty*

**DESAFIO – deverá retornar:**
PAResStatus = U
Xid = *Empty*

_Action: The establishment may retry authentication or process the authorization as the merchant's responsibility/risk._
Authentication with errorVisa/4000000000001125
Mastercard/5200000000001120
Mastercard/5200000000002011
Elo/6505050000001125
Amex/340000000001122
Amex/340000000002013
ECI = 07 (Visa, Elo and American Express)
ECI = 00 (Mastercard)
Enrolled = Y
PAResStatus = C
Xid = *Empty*

**DESAFIO – deverá retornar:**
PAResStatus = U
Xid = *Empty*

_Action: Establishments have the option to retain liability/risk and send the transaction as unauthenticated. An alternative action would be to request another form of payment.._

Note: For expiration date of the card use: 01/yyyy, being yyyy=current year+3; for example: if the current year is 2025, the expiration date should be 01/2028.


Visa 3DS table This topic presents scenarios for approving your application with an emitter Visa.

SettingCardExpected Return
Successfully authenticationVisa/4000000000000002ECI = 05
paresStatus = Y
SignatureVerification = Y
Authentication Successfully, but with invalid parResVisa/4000000000000010veresEnrolled = Y
authenticationResult = -1

Captions


ParesStatus

FieldDescription
YThe client has been successfully authenticated.
AProof of authentication attempt was generated.
BAuthentication ignored
NThe client failed or canceled authentication. Transaction denied.
RAuthentication rejected. (used only in 3DS 2.0)
UAuthentication not completed, regardless of the reason.

VeresEnrolled

FieldDescription
YCard registered or can be registered; you must authenticate. Change of responsibility.
NCard not registered; continue with the authorisation. Change of responsibility.
UUnable to authenticate regardless of the reason. Responsibility continues with establishment.
BWhere authentication has been ignored.

Other Fields

FieldDescription
XIDUnique transaction identifier. Automatically generated and typically has 28 bytes in size encoded in Base64, it must be sent on authorization whenever it is returned.
UCAFUnique identifier generated by the card issuing bank, in this field we will return the cavv, AVV and UCAF values according to their flags, it is encoded in Base64, must always be sent in the authorization.
ECIDisplays the result of carrier card authentication in the 3DS process. One should evaluate the ECI result and decide whether to proceed to authentication taking into account the risks pointed out (issuer or establishment). Possible values: 02 ou 05 - Success in 3DS authentication by the Issuer; Emitter risk. 01 ou 06 - Success in 3DS authentication by flag; Risk issuer when 3DS authentication version 2 is indicated and Establishment risk when 3DS version 1 (downgrade). 00 ou 07 - Authentication failed for various reasons related to the card, issuer, or even technical problems or configuration. Establishment risk. 04 – When you are informed, in Mastercard authentication requests, that this is "Data Only", this will be the returned ECI. Establishment risk. *00, 01 and 02 for Mastercard and 05, 06 and 07 for Visa and other flags.
DIRECTORYSERVERTRANSACTIONID (tdsdsxid)Transaction identifier of server 3 DS version 2, must be sent in authorization whenever it is returned.
SPECIFICATIONVERSION (tdsver)Indicates the 3 DS version used in authentication, it should always be sent in the authorization.