Response Reason Code
  • 28 Apr 2025
  • 2 Minutes to read
  • Dark
    Light

Response Reason Code

  • Dark
    Light

Article summary

Callback Handler - Response Reason Code

The reasons key in the Callback handler response returns an array of reason codes if the offer is unavailable and null if the offer is available. For token_retrieved status, reason codes can be provided if the token value is null.

The details for each status and reason code has been provided below:

OFFER_UNAVAILABLE

CodeDescriptionSample MessagePossible Solution
0 Flex Pay campaign is disabledn/aReach out to your account manager to discuss the details of your Flex Pay campaign
1 order_amount amount is below minimum price threshold Treat yourself! Upgrade your hotel room, choose a luxury vehicle, or add trip insurance to get your cart over $XXX.User can return to shopping to increase amount total
2 order_amount amount is above maximum price threshold Your cart is too high! Pay Monthly is only available for trips from $XXX to $XXX.User must reduce their amount total
3 orderInfo object is missing trip datesn/aPlease, validate that you are sending the trip dates as expected based on the schema required fields
4 The trip start date falls below minimum day window Your departure date is too soon! Itineraries must have a departure date at least XX day(s) away in order to be eligible for Pay Monthly.User must return and change flight dates to make Flex Pay available
5 The trip start date falls above maximum day windown/aFlex Pay is not available this far in advance based on the users selection
6 orderInfo object is missing travelersn/aPlease, validate that you are sending the travelers information as expected based on the schema required fields
7 Flex Pay API timeoutn/aFlex Pay will work to resolve this issue
8 Fatal Errorn/aPlease, validate that you are sending the trip dates as expected based on the schema required fields; if this is correct, please reach out to your Uplift account manager for additional support
9 Missing Productn/aPlease, validate that you are sending all required fields as expected based on the schema required fields
10 Origin destination not supportedn/aRepresenting an origin destination that was deemed to not be supported during discussions with Flex Pay
11 Language is not supportedn/aCurrent supported languages:
  • English - en
  • French - fr
12 Currency is not supportedn/aCurrent supported currencies:
  • USD
  • CAD
13 Country is not supportedn/aCurrent supported countries:
  • United States - US
  • Canada - CA
14 Product is not supportedn/a orderInfo contains attributes not pertaining to the configured vertical for the partner

TOKEN_RETRIEVED

CodeDescriptionSample MessagePossible Solution
7 Flex Pay API timeoutn/aFlex Pay will work to resolve this issue
8 Flex Pay Internal Errorsn/aPlease reach out to your Flex Pay Account Manager and/or Integration Lead for additional support

Was this article helpful?