Sandbox Testing

Test Cards

PCI requires us and you to use test card numbers when testing. You should never use a real Card Number in the Sandbox Environment. We provide various test cards Test Cards for various scenarios for your use.

How to specify an Amount Value?

In order to handle international currencies, an Amount is a String.
International currencies:

  • use either a point or a comma as their decimal mark and might have a maximum of 0, 1, 2, 3, or 4 decimal places.

For example, when using currency number 840, USD, an Amount must have a decimal point (.) with 2 decimal digits and no commas (,) nor currency sign ($). Examples:

1000.20Valid
1.20Valid
0.20Valid
.20Valid
.4Invalid, 2 decimal digits are required
1.4Invalid, 2 decimal digits are required
1,000.21Invalid, comma not needed
$10.21Invalid, dollar sign not needed

How to generate an error in the Sandbox Environment? (Create Transaction)

For Create Transaction, the Amount is used to trigger various errors while processing the Create Transaction request in the Sandbox Environment (Accel uses a 3-digit Network Response Code):

AmountResponseActual ResponseError Description
Status CodeNetwork Response CodeResource StatusNetwork Response CodeResource Status
0.01200ZZ (or 999)ERRORZZ (or 999)ERRORTransaction Error
0.02207UNKNOWNUNKNOWNTransaction Processing Failed
0.0320000 (or 000)COMPLETED00 (or 000)COMPLETEDTransaction Successful, but upstream processing was delayed for 30 seconds
0.04207UNKNOWN00 (or 000)COMPLETEDTransaction Successful, but upstream processing was delayed for 40 seconds

How to generate an error in the Sandbox Environment? (Delete Transaction)

For Delete Transaction, the Create Transaction Amount is used to trigger various errors while processing the Delete Transaction request in the Sandbox Environment (Accel uses a 3-digit Network Response Code):

AmountCreate Transaction ResponseDelete Transaction ResponseError Description
Status CodeNetwork Response CodeResource StatusStatus CodeReversal Network Response CodeResource Status
0.0720000 (or 000)COMPLETED200ZZ (or 999)UNKNOWNReversal Request failed
0.0820000 (or 000)COMPLETED20021UNKNOWN

Reversal Request failed, the Reversal was too late.


Not available when routed to any Regional Network: Currently only STAR and Accel.

How to generate an error in the Sandbox Environment? (AVS, CVV2)

For AVS, Query Card, the Zip Code, Address, and Security Code are used to trigger various conditions while processing an AVS request in the Sandbox Environment:

RequestResponseComments
Zip CodeAddressSecurity CodeResponse TextNetwork Response CodeCode
AVS ResultsSecurity Code Results
AnyAnyNoneNOT DECLINED85YZip Code and Address were matched
AnyNoneNoneNOT DECLINED85ZZip Code was matched
AnyAny or NoneAnyDEPENDSDEPENDSDEPENDSMDepends upon if Zip Code and Address matches or not, but Security Code was matched
AnyAny or None999DECLINE05DEPENDSNDepends upon if Zip Code and Address matches or not, but Security Code was not matched
99990Any or NoneAny or NoneDECLINE05UInformation not available
99991Any or NoneAny or NoneDECLINE05RAVS unavailable, retry
99992AnyNoneDECLINE05AZip Code was not matched, but Address was matched
99992None or 999 BadNoneDECLINE05NZip Code and Address were not matched
99993Any or NoneAny or NoneDEPENDSDEPENDSDEPENDSDEPENDSAVS Request delayed for 30 seconds
99994Any or NoneAny or NoneUNKNOWNUNKNOWNUNKNOWNUNKNOWNAVS Request timed out

  • Any* - Any Zip Code that is not explicitly used to trigger a condition (99990-99994)
  • Any* - Any Address that is not explicitly used to trigger a condition (999...) - Address only checks the
    Street Number
  • Any* - Any Security Code that is not explicitly used to trigger a condition (999)

How to generate a RTP error in the Sandbox Environment?

For Create Transaction, the Account Number for RTP is used to trigger various errors while processing the Create Transaction request in the Sandbox Environment (RTP uses a 3-character Network Response Code):

Account NumberCreate Transaction ResponseError Description
Status CodeNetwork Response CodeResource Status
100000000...111111111200000COMPLETEDN/A
111111112200P04ERRORInvalid Account
111111113200P11ERRORSender not authorized
111111114200P07ERRORParticipant blocked
111111115200P02ERRORInvalid Account
111111116200P11ERRORTransaction forbidden on this account
111111117200P23ERRORAmount received is not the amount agreed or expected
111111118200P23ERRORAmount exceeds limits
111111120200P21ERRORIncorrect routing number
111111121200P14ERRORParticipant deceased