Skip to main content

Test Cases and Test Cards


Use these test cases and test cards to validate your mass transit integration.

Transit Test Cases

Use these message-level validation (MLV) test cases to validate your mass transit integration:

Case #TransactionCard TypeAmountComments
Visa AVR and Sale for Aggregated Transaction
1Account verification request (AVR)Visa0.00For Visa, an AVR is performed when the card is first used in the transit system or on a more frequent basis depending on what the PTO/PTP requires.
2Deferred sale for aggregated transactionVisa9900.00—
Visa First Ride Protection
3.1Deferred sale for an aggregated transactionVisa9904.00Response is a decline that is eligible for capture.
3.2Follow-on captureVisa9904.00Even though the amount exceeds what is allowed for capture under Visa's First Ride Protection rules, proceed with the capture to complete this test case.
Mastercard Authorization and Capture
4.1Authorization for an aggregated transactionMastercard10.00—
4.2Follow-on capture of an aggregated transactionMastercard9900.00—
Debt Recovery
5.1Deferred saleMastercard, Visa9904.00Response is a decline that is not eligible for capture. Attempt to reclaim debt using mail order or telephone order (MOTO), tap-initiated, merchant-initiated, card-not-present debt recovery.
5.2MOTO debt recoveryMastercard, Visa9601.00Response is a decline, but it allows you to validate the Debt Recovery payload.
6.2Tap-initiated debt recoveryMastercard, Visa9904.00Response is a decline, but it allows you to validate the Debt Recovery payload.
7.2Merchant-initiated debt recoveryMastercard, Visa9904.00Response is a decline, but it allows you to validate the Debt Recovery payload.
8.2Card-not-present debt recovery with payer authenticationMastercard, Visa9904.00Response is a decline, but it allows you to validate the Debt Recovery payload.
9.2Card-not-present debt recovery without payer authenticationMastercard, Visa9904.00Response is a decline, but it allows you to validate the Debt Recovery payload.
Follow-On Transactions
12.2Stand-alone credit on test case 02Visa20.00Validates your ability to process a credit for an overcharged amount.
13.2Void on stand-alone credit test case 12.2Visa9900.00Validates your ability to void a stand-alone credit that was processed incorrectly.
14Reversal of test case 02Visa9900.00Validates your ability to reverse an authorized amount when the final fare is higher than what was originally authorized. After a reversal, resubmit the correct sale amount.
Transaction Search
15.1Deferred saleVisa9900.00Ignore the response to simulate a timeout.
15.2Transaction Search——The test case 15.1 should show as successful, and therefore no further action is required. If the transaction was declined, the transaction would be placed on the deny list, and first ride protection or debt recovery process should be initiated.

China UnionPay Test Cards

Use these China UnionPay (CUP) EMV test card examples to validate your mass transit integration:

Test Card Examples: Cards 01-03

This table lists EMV test card data for cards 01 through 03:

DescriptionCard 01Card 02Card 03
Test Card ScenarioPIN + Signature<br>PIN preceding<br>Non-matching Currency Transaction<br>CVM limit = 9999PIN + Signature<br>PIN preceding<br>Non-matching Currency Transaction<br>CVM not required<br>CVM limit = 9999Apple Pay device<br>wrong 9F46<br>Signature<br>Non-matching Currency Transaction<br>CVM limit = 9999<br>Card Sequence Number = 03<br>9F63 present
Card TypeCreditQusi CreditCredit
PAN/Token621 094 388 801 5621 094 366 600 002 5817 199 997 700 004 0
PAR——1D55503030323647324A524F534238584859553535364D5946595236564A
Support ODAYESYESYES
PAN Len131616
CurrRMBHKDRMB
Track 26210943888015= 301020100000000000006210943666000025= 301020100000000000008171999977000040= 30102010000000000000
CA Index0890B
9F08003000300030
9F51015603440156
DF71———
9F52C000C000C000
qUICS CVN010101
9F63——3831373139393939 00 80 30 40 00 00 00 00
9F681020D0201020D02010201020
DF61404040
CDCVM———
9F77000000000000000000000000000000000000
9F78000000000000000000000000000000000000
9F79000000000000000000000000000000000000
9F6B000000999999000000999999000000999999
DF77———
DF78———
DF79———
DF72———
RSA Len76810241408
9F46040494
9F1007010103000000010A0107010103000000010A0107 02 01 03000000 01 0F 07 02 00000000008030400000000000
8E42031E031F0042031E031F0042031E031F00

Test Card Examples: Cards 04-05

This table lists EMV test card data for cards 04 and 05:

DescriptionCard 04Card 05
Test Card ScenarioHCE device<br>Signature<br>Non-matching Currency Transaction<br>CVM not required<br>CVM limit = 9999<br>CDCVM performed<br>PAR available<br>AID=A0000003330101021111111111111110<br>9F63 presentSignature Non-matching Currency Transaction<br>CVM not required<br>CVM limit = 9999<br>BIN not in deny list
Card TypeQusi CreditCredit
PAN/Token621 094 366 600 000 005 6621 094 344 406 6
PAR——
Support ODAYESYES
PAN Len1913
CurrRMBRMB
Track 26210943666000000056=301020100000000006210943444066=30102010000000000000
CA Index0B0B
9F0800300030
9F5101560156
DF71——
9F52C000C000
qUICS CVN0101
9F633632313039343336 00 20 65 00 00 00 00 00—
9F681020102010201020
DF614040
CDCVMYES—
9F77000000000000000000000000
9F78000000000000000000000000
9F79000000000000000000000000
9F6B000000999999000000999999
DF77——
DF78——
DF79——
DF72——
RSA Len14081152
9F469404
9F1007 02 01 03000000 01 0D A1 00000000 000000000000000007010103000000010A01
8E42031E031F0042031E031F00

Last published: September 29, 2026