How to Test

GetQuote

The following card numbers and PINs can be used in prep​rod to return the HTTP status and error codes. They should be sent in the POST /GetQuote and when calling GET /GetQuote the result will be returned.

ValuesHttps StatusReturn
Card Number: 6011379978546531
PIN: 2322
400exchange.card.value.out.of.range
Card Number: 6011262071056030
PIN: 4322
400exchange.card.merchant.unavailable
Card Number: 6011846553474867
PIN: 5433
400exchange.card.not.accepted
Card Number: 6011062564338576
PIN: 2544
400exchange.invalid.card
Card Number: 6011083300977519
PIN: 2124
200(success)
actualCardValue $50.00
exchangeCardValue: $45.00

Fraud Check

ValuesHttp StatusReturn
Card Number: 6011379978546531
PIN: 2322
400exchange.card.value.out.of.range
Card Number: 6011261489394678400exchange.card.already.acquired
Card Number: 6011363118633326400exchange.quote.time.out.of.range
Cardholder Name: David Moore400exchange.fraud.check.submission.error
Any values200(Success)
CanSell = true
Cardholder Name: Joseph Thompson200(Success)
CanSell = false
exchange.fraud.check.hard.decline
Cardholder Name: Katherine Nelson200(Success)
CanSell = false
exchange.fraud.check.soft.decline
Cardholder Name: Chloe Hill200Will result in a failed Acquire
PartnerCustomerId: 8F147529-D683-464C-9E12-CE6F50D26031200(Success)
CanSell = false
exchange.fraud.check.soft.decline
PartnerCustomerId: 15270192-7643-448f-9193-8755b78bd86e200Will result in a failed Acquire

Acquire Card

ValuesHttps StatusReturn
(Previous FraudCheck should use Chloe Hill for Cardholder Name)400Exchange will not acquire the card from the card holder due to detection of fraud.
(Previous FraudCheck should use 15270192-7643-448f-9193-8755b78bd86e for CPartnerCustomerId)400Exchange will not acquire the card from the card holder due to detection of fraud.
Any Value200success

Acquire Card Reversal

ValuesHttps StatusReturn
A valid transaction id from AcquireCard200success