Accounts for API Testing

The test accounts listed below can be used to test API functionality in the sandbox environment. The sandbox is an entirely separate environment from the production environment.

Credit Card Authorization

The following card numbers may be used to trigger specific credit card authorization responses:

Approved Response

Card type

Card number

Response

Visa 4387751111111111 APPROVED
Mastercard 5442981111111114 APPROVED
American Express 370000000000101 APPROVED
Discover 6011000994462780 APPROVED
Diners 3059551425451230 APPROVED
Mastercard 2221111111111112 APPROVED
JCB 3528345678912672 APPROVED
Visa 4223990881745868 AcceptOrderWithException
Mastercard 5430928475494119 AcceptOrderWithException
American Express 372831744565357 AcceptOrderWithException
Discover 6229255254396320 AcceptOrderWithException

Declined Response

Card type

Card number

Response

Visa 4000000000001992 DECL
Mastercard 5200000000000031 DECL
American Express 378282246310005 DECL
Discover 6011000990139424 DECL
Diners 3566002020360505 DECL
Mastercard 2221111222222204 DECL
JCB 3528345678912789 DECL
Visa 4000000000000069 DECLF
Mastercard 5453988556029616 DECLF
American Express 372820041623084 DECLF
Discover 6011419232438438 DECLF
Visa 4000000000000077 DECLR
Mastercard 5159005233344289 DECLR
American Express 372886386554531 DECLR
Discover 6229256737248989 DECLR

AVS/CSC Response

Card type

Card number

Response

Visa 4000000000000259 AVS
Mastercard 5200000080600031 AVS
American Express 377186172181127 AVS
Discover 6011000000000012 AVS
Diners 3566002024560506 AVS
JCB 3528345678912888 AVS
Visa 4253349000000007 CSC
Mastercard 5200262390600040 CSC
American Express 377186352141149 CSC
Discover 6011000000000020 CSC
Diners 3566002465560536 CSC
JCB 3528345678913118 CSC
Visa 4161616161616008 AVSCSC
Mastercard 5200262394670080 AVSCSC
American Express 340000000000009 AVSCSC
Discover 6011070056008045 AVSCSC
Diners 3566283457402578 AVSCSC
JCB 3528345678913225 AVSCSC

Processor Timeout Response

Card type

Card number

Response

Visa 4000000000000051 PaymentProcessorTimeout
Mastercard 5200042350670062 PaymentProcessorTimeout
American Express 340315280207300 PaymentProcessorTimeout
Discover 6011070045008080 PaymentProcessorTimeout
Diners 3566273857402500 PaymentProcessorTimeout

Private Label Credit Card Authorization

The following card numbers may be used to trigger specific private label credit card authorization responses:

Approved Response

Card type

Card number

Response

GE PLCC 6045860000000001 APPROVED
GE PLCC 6045868755155763 AcceptOrderWithException

Declined Response

Card type

Card number

Response

GE PLCC 6045860000000506 DECL
GE PLCC 6045867755225337 DECLF
GE PLCC 6045865275347326 DECLR

AVS/CSC Response

Card type

Card number

Response

GE PLCC 6045860662123356 AVS
GE PLCC 6045860072026116 CSC
GE PLCC 6045864216240328 AVSCSC

Processor Timeout Response

Card type

Card number

Response

GE PLCC 6045860000000639 PaymentProcessorTimeout

Validate Card

The following card numbers may be used to trigger specific validate card responses:

Valid Response

Card type

Card number

Response

Visa 4111111111111111 VALID
Mastercard 5442981111111114 VALID
Amercian Express 370000000000101 VALID
Discover 6011000994462780 VALID
GE PLCC 6045860000000001 VALID

Invalid Response

Card type

Card number

Response

Visa 4000000000001992 INVALID
Mastercard 5200000000000031 INVALID
Amercian Express 378282246310005 INVALID
Discover 6011000990139424 INVALID
GE PLCC 6045860000000506 INVALID

Timeout Response

Card type

Card number

Response

Visa 4000000000000051 TIMEOUT
Mastercard 5200042350670062 TIMEOUT
Amercian Express 340315280207300 TIMEOUT
Discover 6011000000004311 TIMEOUT
GE PLCC 6011070045008080 TIMEOUT

Terms and Conditions

The following card numbers may be used to trigger specific terms and conditions responses:

Success Response

Card type

Card number

Response

Finance Rate

Terms and Conditions Text

GE PLCC 6045860000000001 Success 19.7000 Fixed
GE PLCC 6045862641557530 Success 13.4850 Variable
GE PLCC 6045867548637855 Success Auth Stand-in

Fail Response

Card type

Card number

Response

Card type

Card number

Response

GE PLCC 6045860000000506 Fail

Timeout Response

Card type

Card number

Response

GE PLCC 6045860000000639 Timeout

Gift Card Balance Inquiry

A gift card is a prepaid payment that is issued with a set amount, which eventually gets exhausted.
The test cards below are fixed amount gift cards and will never have a zero balance unless stated otherwise.

Success Response

Tender code

Card number

Response

Balance

Value Link 6260027330835187 Success 1000.00
Value Link 6260021185416342 Success 100.00
Value Link 6260028750021621 Success 10.00
Value Link 6276682056123226 Success 50.00

Fail Response

Tender code

Card number

Response

Balance

Value Link 6276686771688520 Fail 0.00

Timeout Response

Tender code

Card number

Response

Balance

Value Link 6130312130432866 Timeout 0.00

PayPal

We do not support mock test data for PayPal. Please review the below link about negative testing handling.

A PayPal business buyer account should be used in order for the testing to work properly.

All the test scenarios are driven by the specific value in the request's amount field. The ErrorCode in the Response matches the Amount in the Request, as shown in the following examples.

Example 1. The Request contains the amount 104.11:

<Amount currencyCode="USD">104.11</Amount>

The Response contains the following:

<ErrorMessage>This Express Checkout session has expired. Token value is no longer valid.</ErrorMessage>
<ShortErrorMessage>This Express Checkout session has expired.</ShortErrorMessage>
<ErrorCode>10411</ErrorCode>

Example 2. The Request contains the amount 107.55:

<Amount currencyCode="USD">107.55</Amount>

The Response contains the following:

<ErrorMessage>Currency is not supported.</ErrorMessage>
<ShortErrorMessage>Unsupported Currency.</ShortErrorMessage>
<ErrorCode>10755</ErrorCode>

Ajax Tokenization and 3DS

There are test cards for testing Radial's JavaScript APIs for Ajax tokenization and 3DS. For details, see Testing JavaScript API Integration.