Paying with account
For suppliers that support account based payment (e.g BSP Cash) your FAB_BasketRQ/BookBasketRequest would look similar to this:
<?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="syndicator_deferred"/>
</BookBasketRequest>
</FAB_BasketRQ>
Note that:
- No
PaymentCardis provided PaymentModeis set tosyndicator_deferred- We know that account based payment is supported for all components of the basket because the following attribute is missing/false in the preceding
FAB_BasketRSCurrentBasket/Itinerary/ItineraryCost/Component[*]HostSystemRequiresPaymentCard
Note
If one or more components require card (HostSystemRequiresPaymentCard set to true) then a card must be provided in either in your request or from Pax2Pay. Account payment would then be used for any components that do not require card.Related pages:
Last modified November 30, 2022