Push Transactions (XML)

Description

This Push Transaction message delivers a notification that a payment or refund has occurred by Levart or a third party payment gateway.

Note

Transactions can be unrelated to bookings i.e. paying for a drinks at the bar. It is still recommended to confirm every Transaction  as any unconfirmed transactions will continue to be sent until confirmation is received.

Direction

Levart → PMS

Request

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap12:Body>
        <TransactionNotifRQ xmlns="http://www.levart.com.au/">
            <Authentication>
                <Username>dfdsfsdf</Username>
                <Password>abc123</Password> 
            </Authentication>
            <TimeStamp>2024-02-22T09:29:42+08:00</TimeStamp>
            <MessageID>1d435751-4c4a-4c92-b705-7d6579f4f14e</MessageID>
            <MessageType>PushTransaction</MessageType>
            <TransactionData>
                <TransactionID>682</TransactionID>
                <RelatedReference>58020193</RelatedReference>
                <RelatedSource>Levart</RelatedSource>
                <GatewayID>StripeSmart</GatewayID>
                <GatewayReference>pi_3OmQsyGh4NcHCnHJ0HQfyb7S</GatewayReference>
                <CardMask>XXXXXXXXXXXX4444</CardMask>
                <CardType>visa</CardType>
                <Type>Payment</Type>
                <Currency>AUD</Currency>
                <CardFee>0.91</CardFee>
                <TransactionFee>0.00</TransactionFee>
                <AmountNet>85.40</AmountNet>
                <AmountGross>86.31</AmountGross>
                <ProcessedTime>2024-02-22T09:15:45+08:00</ProcessedTime>
                <Description>Deposit - Full Payment</Description>
            </TransactionData>
        </TransactionNotifRQ>
    </soap12:Body>
</soap12:Envelope>

Specification XML Request

ElementNumTypeDescription
Authentication1ObjectAuthentication object
Authentication > Username1StringUnique username for the property.
Authentication > Password1StringUnique password for the property.
MessageID1StringUnique Message ID
MessageType1StringSet to 'PushTransaction'
TimeStamp1DateTimeDate and time of the transaction in ISO 8601 format. e.g. 2024-01-28T15:15:00+08:00
TransactionData1ObjectTransactionData object
TransactionData > TransactionID1StringUnique ID for Levart
TransactionData > RelatedReference1StringRelated booking reference.
TransactionData > RelatedSource1StringThe source of the booking e.g. Levart, Booking.com, Expedia 
TransactionData > GatewayID1StringThe gateway identifier. e.g. LevartPay, StripeSmart
TransactionData > GatewayReference1StringThe reference given by the payment gateway for this payment.
TransactionData > CardMask1StringMasked out card detailed used to make the payment.
TransactionData > CardType1StringCard type: visa, mastercard, amex, dinersCard
TransactionData > Type1StringPayment or Refund
TransactionData > Currency1StringCurrency of the transacion e.g. AUD, USD or NZD
TransactionData > CardFee1CurrencyCard fee included in the transaction
TransactionData > TransactionFee1CurrencyTransaction fee included in the transaction
TransactionData > AmountNet1CurrencyAmount of the transaction net of any TransactionFee or CardFee
TransactionData > AmountGross1CurrencyGross amount of the transation including all fees
TransactionData > ProcessedTime1DateTimeTime the transaction was processed by the payment gateway.
TransactionData > Description1StringFree form description text e.g. First nights accommodation.

Response (Success)

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap12:Body>
        <TransactionNotifRS xmlns="http://www.levart.com.au/">
            <MessageID>1d435751-4c4a-4c92-b705-7d6579f4f14e</MessageID>
            <TimeStamp>2024-02-22T09:29:42+08:00</TimeStamp>
            <Status>Success</Status>
            <ConfirmationID>234234</ConfirmationID> 
        </TransactionNotifRS>
    </soap12:Body>
</soap12:Envelope>

Response (Error)

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soap12:Body>
        <TransactionNotifRS xmlns="http://www.levart.com.au/">
            <MessageID>1d435751-4c4a-4c92-b705-7d6579f4f14e</MessageID>
            <TimeStamp>2024-02-22T09:29:42+08:00</TimeStamp>
            <Status>Error</Status>
            <ErrorMessage>Invalid username or password.</ErrorMessage> 
        </TransactionNotifRS>
    </soap12:Body>
</soap12:Envelope>


Specification XML Response

ElementNumTypeDescription
MessageID1StringUnique Message ID (Same as the Request Message ID)
TimeStamp1DateTimeDate and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00
Status1StringElement contains either Error or Success
ErrorMessage0..1StringThe error message description (On Error).
ConfirmationID0..1StringThe Confirmation string provided by the PMS system (On Success).