Consumer Level Lending
post

/utils/offers

Submit itinerary and receive offer calculations.

Assuming the provided itinerary in this endpoint matches itinerary supplied to checkout engine, the offers received here and in checkout module will be identical.

This method is limited to 100 itineraries.

If itinerary fails validation, it will provide you with Failure Type codes. If the itinerary is not eligible for offers, the received offer list will be empty.

Authorization

apiKey - Authorization

Request Body

Schema
array[object]
id
string

Your internal unique identifier within the list provided, responses will related to the IDs provided.

required
type
integer
Code Description
101 Flight Itinerary Type
102 E-Commerce Basket Type
required
balance
integer
1 validation + required
flights
array[object]

Providable only for type 101

hotels
array[object]

Providable only for type 101

rentals
array[object]

Providable only for type 101

products
array[object]

Providable only for type 102

user
object

Responses

Status 200

Schema
array[object]
id
string

Originally provided ID of the itinerary block.

required
failures
array[object]

If itinerary fails to pass our base requirements, the reasons of failure will be listed within this array.

required
offers
array[object]

The Offer Object includes the offerToken, this endpoint will provide this field with a NULL.

required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
Authorization