Skip to main content

BookRequest

BookRequest confirms a booking for a previously quoted option.

input object

Booking inputs detailing travellers and payment.

optionRefIdoptionRefId (string)

Aggregator option identifier returned by the search flow.

languagelanguage (string)

ISO 639-1 language code used for provider communications.

clientReferenceclientReference (string)

Client reference to correlate the booking in external systems.

priceDeltanumber<double>

Expected price variation applied after the quote stage.

paymentCard object

Payment information when the provider requires card details.

typetype (string)

Card type as recognised by providers.

Possible values: [AX, BC, CA, CB, CU, DC, DS, E, EC, ER, EU, JC, L, N, O, OP, R, S, T, TO, TP, VI, XS]

holder object

Card holder information.

namename (string)

Holder given name.

surnamesurname (string)

Holder family name.

titletitle (string)

Courtesy title for the holder.

Possible values: [MR, MRS, MISS, MS, NOT_SPECIFIED]

contactInfo object

Contact details for the holder.

emailemail (string)

Primary email address that providers can use for notifications.

phone object

Traveller phone information for confirmations or alerts.

countryCodecountryCode (string)

International country dialling prefix without the plus sign.

numbernumber (string)

Subscriber number excluding the country code.

addressaddress (string)

Street address of the contact person.

citycity (string)

City associated with the contact address.

countrycountry (string)

Country ISO code associated with the contact address.

postalCodepostalCode (string)

Postal or ZIP code associated with the contact address.

numbernumber (string)

Card number with no separators.

CVCCVC (string)

Card verification code.

expire object

Card expiry details.

monthinteger<int32>

Expiry month expressed from 1 to 12.

yearinteger<int32>

Expiry year expressed with four digits.

isVCCisVCC (boolean)

Indicates whether the card is virtual.

virtualCreditCard object

Additional details for virtual credit cards.

activationDatestring<date-time>

Activation timestamp for the virtual card.

deactivationDatestring<date-time>

Deactivation timestamp for the virtual card.

currentBalancenumber<double>

Current available balance.

currencyCodecurrencyCode (string)

ISO 4217 currency code for the balance.

threeDomainSecurity object

3DS authentication data captured during payment.

versionversion (string)

3DS version used during authentication.

DSTransactionIDDSTransactionID (string)

Directory server transaction identifier.

XIDXID (string)

Transaction identifier (XID).

ECIECI (string)

Electronic commerce indicator.

CAVVCAVV (string)

Cardholder authentication verification value.

payerResponsepayerResponse (string)

Raw payer response returned by the authentication system.

payerResponseStatuspayerResponseStatus (string)

Parsed status for the payer response.

Possible values: [AUTHENTICATION_SUCCESS, AUTHENTICATION_FAILED, AUTHENTICATION_INCOMPLETE, TRANSACTION_ATTEMPT_SUCCESS_A, TRANSACTION_ATTEMPT_SUCCESS_B, AUTHENTICATION_REJECTED]

cardEnrolledStatuscardEnrolledStatus (string)

Enrolment status of the card in 3DS.

Possible values: [CARD_ENROLLED, CARD_NOT_ENROLLED, CANT_AUTHENTICATE]

merchantNamemerchantName (string)

Merchant name presented during authentication.

signatureStatussignatureStatus (string)

Signature validation result.

Possible values: [SIGNATURE_VALIDATED, SIGNATURE_NOT_VALIDATED]

remarks object[]

Remarks transmitted to the provider without transformation.

  • Array [
  • typetype (string)

    Type identifier that categorises the value.

    valuevalue (string)

    Associated value.

  • ]
  • holder object

    Booking holder information.

    namename (string)

    Holder given name.

    surnamesurname (string)

    Holder family name.

    titletitle (string)

    Courtesy title for the holder.

    Possible values: [MR, MRS, MISS, MS, NOT_SPECIFIED]

    contactInfo object

    Contact details for the holder.

    emailemail (string)

    Primary email address that providers can use for notifications.

    phone object

    Traveller phone information for confirmations or alerts.

    countryCodecountryCode (string)

    International country dialling prefix without the plus sign.

    numbernumber (string)

    Subscriber number excluding the country code.

    addressaddress (string)

    Street address of the contact person.

    citycity (string)

    City associated with the contact address.

    countrycountry (string)

    Country ISO code associated with the contact address.

    postalCodepostalCode (string)

    Postal or ZIP code associated with the contact address.

    rooms object[]

    Rooms and associated travellers to confirm.

  • Array [
  • occupancyRefIdinteger<int32>

    Reference to the occupancy from the original search request.

    paxes object[]

    Travellers assigned to this room.

  • Array [
  • namename (string)

    Traveller given name.

    surnamesurname (string)

    Traveller family name.

    ageinteger<int32>

    Traveller age at check-in.

    titletitle (string)

    Courtesy title for the traveller.

    Possible values: [MR, MRS, MISS, MS, NOT_SPECIFIED]

  • ]
  • ]
  • additionalData object

    Provider-specific parameters forwarded as part of the booking.

    property name*value (string)
    settings object

    Execution settings shared across aggregator requests.

    requestIdrequestId (string)

    Unique identifier used to correlate downstream provider calls and responses.

    accessIdsstring[]

    Provider access identifiers that the request should target.

    pos object

    Point of sale information for commercial routing.

    branchOfficebranchOffice (string)

    Branch or office that originated the enquiry, when available.

    auditTransactionsauditTransactions (boolean)

    When true, raw provider transactions are collected for auditing.

    timeoutinteger<int32>

    Maximum time in milliseconds allowed for the aggregator to respond.

    testModetestMode (boolean)

    Enables sandbox flows where providers expose dedicated mock behaviour.

    debugDatadebugData (boolean)

    Enables diagnostic payloads that surface debug data in responses.

    tokentoken (string)

    Token that propagates caller authentication to downstream services.

    BookRequest
    {
    "input": {
    "optionRefId": "string",
    "language": "string",
    "clientReference": "string",
    "priceDelta": 0,
    "paymentCard": {
    "type": "AX",
    "holder": {
    "name": "string",
    "surname": "string",
    "title": "MR",
    "contactInfo": {
    "email": "string",
    "phone": {
    "countryCode": "string",
    "number": "string"
    },
    "address": "string",
    "city": "string",
    "country": "string",
    "postalCode": "string"
    }
    },
    "number": "string",
    "CVC": "string",
    "expire": {
    "month": 0,
    "year": 0
    },
    "isVCC": true,
    "virtualCreditCard": {
    "activationDate": "2024-07-29T15:51:28.071Z",
    "deactivationDate": "2024-07-29T15:51:28.071Z",
    "currentBalance": 0,
    "currencyCode": "string"
    },
    "threeDomainSecurity": {
    "version": "string",
    "DSTransactionID": "string",
    "XID": "string",
    "ECI": "string",
    "CAVV": "string",
    "payerResponse": "string",
    "payerResponseStatus": "AUTHENTICATION_SUCCESS",
    "cardEnrolledStatus": "CARD_ENROLLED",
    "merchantName": "string",
    "signatureStatus": "SIGNATURE_VALIDATED"
    }
    },
    "remarks": [
    {
    "type": "string",
    "value": "string"
    }
    ],
    "holder": {
    "name": "string",
    "surname": "string",
    "title": "MR",
    "contactInfo": {
    "email": "string",
    "phone": {
    "countryCode": "string",
    "number": "string"
    },
    "address": "string",
    "city": "string",
    "country": "string",
    "postalCode": "string"
    }
    },
    "rooms": [
    {
    "occupancyRefId": 0,
    "paxes": [
    {
    "name": "string",
    "surname": "string",
    "age": 0,
    "title": "MR"
    }
    ]
    }
    ],
    "additionalData": {}
    },
    "settings": {
    "requestId": "string",
    "accessIds": [
    "string"
    ],
    "pos": {
    "branchOffice": "string"
    },
    "auditTransactions": true,
    "timeout": 0,
    "testMode": true,
    "debugData": true,
    "token": "string"
    }
    }