All possible error codes for the API
| Http Status | Error Code | Message |
|---|---|---|
| 400 | exchange.invalid.sortKey | The sortKey query string parameter {0} is not recognized. |
| 400 | exchange.invalid.productLine | The product line is not recognized |
| 400 | exchange.invalid.card | The card number or PIN number are bad or there is no value found for the card. |
| 400 | exchange.card.merchant.unavailable | We're unable to retrieve a status or balance from the merchant |
| 400 | exchange.reset.not.allowed | Sold cards cannot be reset in this environment. |
| 400 | exchange.fraud.check.failed | Exchange will not acquire the card from the card holder due to detection of fraud. |
| 400 | exchange.card.value.out.of.range | The card cannot be acquired because its current balance is out of range. |
| 400 | exchange.card.already.acquired | This card has already been acquired by the exchange service. |
| 400 | exchange.cardholder.required | Card holder information is required for this request. |
| 400 | exchange.card.required | Card information is required for this request. |
| 400 | exchange.card.not.accepted | We could not accept this card. This is because it's either an Merchandise Return Credit or there is some other limitation on the card where we're not able to use the card if we acquired it from the customer. |
| 400 | exchange.fraudCheckRequired.required | The fraudCheckRequired field is required. |
| 400 | exchange.bhnTenantId.required | The bhnTenantId field is required. |
| 400 | exchange.bhnContractId.required | The bhnContractId field is required. |
| 400 | exchange.cardpoolApiKey.required | The cardpoolApiKey field is required. |
| 400 | exchange.status.required | The transactionStatus field is required. |
| 400 | exchange.type.required | The transactionType field is required. |
| 400 | exchange.cardNumber.required | The cardNumber field is required. |
| 400 | exchange.productLineId.required | The productLineId field is required. |
| 400 | exchange.requestId.header.required | A globally unique requestId is required to be passed in the requestId HTTP header. |
| 400 | exchange.cardholder.name.required | The card holder name is required. |
| 400 | exchange.cardholder.emailAddress.required | The card holder email address is required. |
| 400 | exchange.cardholder.phoneNumber.required | The card holder phone number is required. |
| 400 | exchange.cardholder.emailAddress.invalid | The email address for the card holder is invalid. |
| 400 | exchange.cardholder.phoneNumber.invalid | The phone number for the card holder is invalid. |
| 400 | exchange.driversLicenseNumber.blank | The payee driver's license number provided is blank. |
| 400 | exchange.ipAddress.blank | The payee IP Address provided is blank. |
| 400 | exchange.creditcardinfo.cardNumber.blank | The payment card number provided is blank. |
| 400 | exchange.creditcardinfo.cvv.blank | The payment card verification value provided is blank. |
| 400 | exchange.creditcardinfo.expirationMonth.invalid | The payment card expiration month provided is blank. |
| 400 | exchange.creditcardinfo.expirationYear.invalid | The payment expiration year provided is blank. |
| 400 | exchange.billingaddress.addressLine1.blank | The billing address line 1 provided is blank. |
| 400 | exchange.billingaddress.addressLine2.blank | The billing address line 2 provided is blank. |
| 400 | exchange.billingaddress.city.blank | The billing city provided is blank. |
| 400 | exchange.billingaddress.state.blank | The billing state provided is blank. |
| 400 | exchange.billingaddress.zip.blank | The billing zip code provided is blank. |
| 400 | exchange.cardNumber.is.blank | The card number provided is blank. |
| 400 | exchange.pinNumber.is.blank | The pin number provided is blank. |
| 400 | exchange.productLineId.is.blank | The product line ID provided is blank. |
| 400 | exchange.storeId.is.blank | The store ID provided is blank. |
| 400 | exchange.storeId.invalid.length | The length of the provided store ID is invalid. |
| 404 | exchange.partner.not.found | Exchange Service does not recognize this partner. |
| 409 | exchange.duplicate.transaction | An Exchange Service transaction with RequestId {0} exists. |
| 400 | exchange.card.quote.expired | Exchange will not acquire the card if the quote is older than 24 hours. |
