Card Exceptions

Wallet Order Creation Exceptions are thrown at the time of order creation because of an issue with the request.

Exceptions follow the API error format:

{
    "language": "en",
    "exceptionId": "TLFN89",
    "errorCode": "validation.unsupportedCardType.credit",
    "message": "Credit cards are not supported",
    "type": "ValidationException",
    "transient": false
}

A list of errors can be found below. Error type ValidationException will return an HTTP Status Code of 400. Learn more about Errors.

TypeError CodeMessageNotes
ValidationExceptionvalidation.unsupportedCardType.creditCredit cards are not supported
ValidationExceptionvalidation.unsupportedCardType.prepaidPrePaid cards are not supported
ValidationExceptionvalidation.avsWe are not able to use this card.General card validation failure, further details on why the card doesn’t work are unavailable.
ValidationExceptionvalidation.avs.invalidBillingAddressInvalid billing address
ValidationExceptionvalidation.avs.incorrectBillingAddressInvalid billing address. Your address is incorrect
ValidationExceptionvalidation.avs.zipcodeInvalid billing address. Zip code is incorrect
ValidationExceptionvalidation.avs.unavailableInvalid billing address. We were not able to validate your address. Try again later.If our address validation service is unavailable the user will have to try the transaction later
ValidationExceptionvalidation.invalidReferrerIdInvalid referrerAccountId
ValidationExceptionvalidation.phoneNumRequiresCountryCodePlease include your country code preceded by a "+" with your phone number
ValidationExceptionvalidation.unsupportedCountryCountry not supported: “XX”XX is country code submitted by user
ValidationExceptionvalidation.invalidUsStateInvalid US state submitted
ValidationExceptionvalidation.missingAddressStateAddress state must not be empty
ValidationExceptionvalidation.missingGivenNamegivenName must not be empty
ValidationExceptionvalidation.missingFamilyNamefamilyName must not be empty
ValidationExceptionlimits.dailyLimitReachedYou reached your daily limit.
ValidationExceptionlimits.weeklyLimitReachedYou reached your weekly limit.
ValidationExceptionlimits.yearlyLimitReachedYou reached your yearly limit
ValidationExceptionvalidation .invalidPhoneNumberYou did not specify a valid E164 Phone number.
Phone numbers must follow the International E.164 format.
ValidationExceptionvalidation.missingAddressCityCity is mandatory
ValidationExceptionvalidation.stateNotSupportedIf you specify a non supported US state. More info here.
ApiExceptionn/an/aIf there is an unhandled error by the API it will appear as an ApiException without an error code or message
ValidationExceptionhostedCheckout.illegalReferrerinvalid referrer account id for hosted checkout referrer
ValidationExceptionhostedCheckout.featureNotEnabledfeature not enabled for this account id
ValidationExceptionreservation.requiredFieldValueMismatcha reservation locked field value did not match the received value
ValidationExceptionreservation.requiredFieldEmptya reservation required field is empty (required values cannot be empty)
ValidationExceptionreservation.lockEmptyFielda reservation locked field is empty (locked fields cannot be empty and must match)
ValidationExceptionreservation.invalidLockedFieldlocked field is invalid
ValidationExceptionvalidation.sourceCurrencyNotSupportedthe specified sourceCurrency is not supported
ValidationExceptionvalidation.missingGivenNamegivenName is not present
ValidationExceptionvalidation.missingFamilyNamefamilyName is not present
ValidationExceptionvalidation.missingAddressStreet1missing street1 on address field
ValidationExceptionvalidation.missingAddressStatemissing state on address field
ValidationExceptionvalidation.missingAddressCitymissing city on address field
ValidationExceptionvalidation.missingAddressStatemissing state on address field
ValidationExceptionvalidation.amountSourceCurrencyif amount or source currency are locked, you must lock both (amount and sourceCurrency)
ValidationExceptionvalidation.invalidPaymentMethodinvalid payment method provided (apple-pay or debit-card are the accepted values)
ValidationExceptionvalidation.invalidRedirectUrlredirectUrl is not valid (must be a full http url with protocol)
ValidationExceptionvalidation.invalidFailureRedirectUrlfailureRedirectUrl is not valid (must be a full http url with protocol)
ValidationExceptionvalidation.referrerAccountIdinvalid referrer account id for hosted checkout referrer
ValidationExceptionvalidation.lockCountryinvalid locked country (if any of phone or country are locked, you must lock both)
ValidationExceptionvalidation.countryMissingmissing locked field country
ValidationExceptionvalidation.invalidPhoneNumberinvalid phone number (phones must be in e.164 format with country code)
ValidationExceptionvalidation.invalidEmailinvalid email
ValidationExceptiondebitCardWhiteLabel.illegalReferrerillegal referrer
ValidationExceptiondebitCardWhiteLabel.featureNotEnabledfeature to debit card not enabled for the current authentication
ValidationExceptionvalidation.invalidCodeinvalid authorization code
ValidationExceptionvalidation.invalidReservationinvalid reservation
ValidationExceptionvalidation.invalidCodeLengthinvalid authorization code length
ValidationExceptionvalidation.orderNotFoundorder not found
ValidationExceptionvalidation.invalidOrderStatusinvalid order status. Order cannot be authorized at the moment.
ValidationExceptionvalidation.authorizationCodeNotFoundAuthorization codes not found
ValidationExceptionvalidation.authorizationInvalidReservationinvalid reservation id while authorizing the order
ValidationExceptionvalidation.authorizationMaxAttemptsmax attempts to authorize an order
ValidationExceptionvalidation.authorizationAlreadyValidatedauthorization code already validated for the current order
ValidationExceptionvalidation.authorizationInvalidStateinvalid authorization state
ValidationExceptionvalidation.authorizationCodeExpiredauthorization expired
ValidationExceptionvalidation.authorizationCodeMismatchauthorization code mismatch
ValidationExceptionvalidation.orderAuthorizationDetailsNotAvailableauth details not available. This usually happens
ValidationExceptionvalidation.cardExpirationYearcard expiration year invalid
ValidationExceptionvalidation.cardExpirationMonthcard expiration month invalid
ValidationExceptionvalidation.cardExpirationMonthOutOfRangecard expiration month must be from 01-12 range.
ValidationExceptionvalidation.invalidExpirationDateinvalid expiration date, usually in the past
ValidationExceptionvalidation.invalidDebitCardNumberinvalid debit card number
ValidationExceptionvalidation.walletOrderAuthorizationCodeMissingauthorization request without a auth code on it

Wallet Order Errors

Error messages are failures that happen after the order has been created. These errors will show up over 3 fields on the wallet order:

errorCategory
errorCode
errorMessage

A full list of errors can be found below:

errorCategoryerrorCodeerrorMessageNotes
GENERALUNSUPPORTED_COUNTRYWe do not support this country.
GENERALUNSUPPORTED_STATEWe do not support this state at this time but hope to soon.
GENERALUNABLE_TO_PROCESSSorry, but we are unable to process your order at this time.
GENERALSMS_CONFIRMATION_FAILEDSMS confirmation failedFor debit card tx only
GENERALPHONE_NUMBER_MUST_BE_MOBILEOnly mobile cellphone numbers are supported.
GENERALTRANSACTION_TIMEOUTTransaction timed out, please try again.
GENERALUNKNOWN_ERRORWe are unable to process your order at this time.
PAYMENTISO_8583_XXSee ISO 8583 error message list ->XX replaced by ISO 8583 code. See full list here: https://developers.google.com/standard-payments/v1/fops/card/response-codes
PAYMENTBILLING_ADDRESS_MISMATCHBilling address error, please check your info and try again.
PAYMENTTHREE_D_SECURE_AUTHENTICATION_FAILED3DS authentication failed.
PAYMENTUNKNOWN_ERRORIssue with payment, please check your info and try again
RATE_LIMITEXCEEDED_DAILY_LIMITTransaction limit exceeded, please try again later.
RATE_LIMITEXCEEDED_WEEKLY_LIMITTransaction limit exceeded, please try again later.
RATE_LIMITEXCEEDED_YEARLY_LIMITTransaction limit exceeded, please try again later.
RATE_LIMITORDER_AMOUNT_TOO_HIGHTransaction amount too high, please try a smaller amount.