<?xml version="1.0" encoding="UTF-8"?>
<!-- 
Following an example of an explicit payment request, separated from a booking request but within the treated complete UC02 workflow:
=> The deposit is payed "via agency collection" with UC02-2
=> Now the balance of the booking is done via tour operator collection by credit card
=> The complete result of the final booking later can be retrieved (in our presented workflow with UC02-3b)
    
Our assumption:
=> There is a web front end existing to perform the credit card payment directly with the Tour Operator
=> Mentioned front end is in line wiht PSD2 requirements
=> The custoner enters the credit card data together with a booking reference + authenticates himself for secure payment
     => Latter is not part of the treated workflow but it must be possible for the "payment front end" to provide the information about a successful or failed authentication

-->
<StringMessageRequest xmlns="http://string.drv.de/xmlschema/string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://string.drv.de/xmlschema/string ..\..\xmlschema\StringMessage.xsd">
	<RoutingHeader>
		<OperatorSystemCode>XTUI</OperatorSystemCode>
		<GdsAgency>009402001</GdsAgency>
	</RoutingHeader>
	<Payload xsi:type="StringVersionSpecificRequestType">
		<Version>1.1.0</Version>
		<Content>
			<StringRequest TimeStamp="2018-09-15T18:10:41" xmlns="http://string.drv.de/xmlschema/string/v1" xsi:schemaLocation="http://string.drv.de/xmlschema/string/v1 ..\..\xmlschema\v1\String.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
				<Requestor>
					<Agency>
						<AgencyID>009402001</AgencyID>
					</Agency>
					<Agent>
						<Id>810</Id>
					</Agent>
				</Requestor>
				<MessageContext>
					<TouroperatorCode>XTUI</TouroperatorCode>
					<TransactionCounter>1</TransactionCounter>
				</MessageContext>
				<RequestedAction xsi:type="ApplyPaymentRequestType">
					<BookingReference>
						<BookingNumber>A2291740-76236909</BookingNumber>
						<BookingInstance>02</BookingInstance>
					</BookingReference>
					<Payments>
						<Payment xsi:type="CreditCardPaymentType">
							<TypeOfPayment>Balance</TypeOfPayment>
							<PaymentAmount>
								<Amount>1897.80</Amount>
								<Currency>EUR</Currency>
							</PaymentAmount>
							<ScaResult>
								<ECI>05</ECI>
								<CAVV>22-349203940-009883232-2256</CAVV>
								<XID>236767-898989-778979</XID>
								<ThreeDsVersion>1.0</ThreeDsVersion>
							</ScaResult>
							<Details xsi:type="CreditCardPaymentDetailsType">
								<CreditCardType>
									<SchemeCode>VI</SchemeCode>
								</CreditCardType>
								<CardNumber>4233456677788887</CardNumber>
								<ExpirationDate>12/19</ExpirationDate>
								<Name>Homburg</Name>
							</Details>
						</Payment>
					</Payments>
				</RequestedAction>
			</StringRequest>
		</Content>
	</Payload>
</StringMessageRequest>
