Paying with a passed in card

For suppliers that require card payment you have the option to pass in a card.

Here is an example of passing in a card:

<?xml version="1.0" encoding="UTF-8"?>
<FAB_BasketRQ Target="test" Version="2002A" xmlns="http://www.xmltravel.com/fab/2002/09">
  <SyndicatorInfo SyndicatorId="ExampleSyndicatorId" SyndicatorPassword="xxxxxxxx"/>
  <SessionInfo FABSessionId="H2P9exxxxiCaAaRqEZw9OQlg" CreateNewSession="false"/>
  <BookBasketRequest BasketId="B1WnxxxxBdIZAWqJGbrufG" ResponseTimeoutSecs="120" TotalCost="194.74">
    <Payment PaymentMode="card_payment_override_lodged">
      <PaymentCard CardNumber="4111111111111111" ExpiryDate="0822" Authorisation="cv2_only" CardType="Visa_Credit_Corporate" CardHoldersName="Mr Name Name" Cv2SecurityNumber="123" CardHoldersEmailAddress="name@example.com" CardHoldersTelephoneNumber="+447928711111">
        <CardHoldersAddress Address1="12 Example Street" Address2="Example" CityOrTown="Example City" PostCode="AB12 123" Country="GB"/>
      </PaymentCard>
    </Payment>
  </BookBasketRequest>
</FAB_BasketRQ>

Note that:

  • You must only pass in card where at least one component of the basket requires card payment. If you pass in card for a basket where no components require card payment FAB will error.
  • If one or more components require card and the rest don’t then account payment would be used for those components that do not require card.
  • To identify if a component requires card payment check the preceding FAB_BasketRS for whether the following attribute is set to true (defaults to false):
    • CurrentBasket/Itinerary/ItineraryCost/Component[*]HostSystemRequiresPaymentCard
  • If more than one component requires card payment you must ensure the passed in card is multi-use.
  • CardType must be as accurate as possible. If in doubt talk to Customer Services.

Last modified November 30, 2022