Online payment
Operationcode: PAYMENT-REQUEST
PAYMENT-REQUEST
Direction
SIHOT.WEB → PMS
Message
This Request is used to post an already made online Payment to SIHOT.PMS Request example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
<OC>PAYMENT-REQUEST</OC>
<TN>1</TN>
<ID>1</ID>
<PAYMENT-REQUEST>
<REFTYPE>ACCOUNTID</REFTYPE>
<REFID>2739</REFID>
<PAYMENT-SYSTEM></PAYMENT-SYSTEM>
<PAYMENT>
<T-PAYMENT>payPal</T-PAYMENT>
<T-CURRENCY>EUR</T-CURRENCY>
<CARDNO>42*****************</CARDNO>
<EXCHANGE-AMOUNT>10.42</EXCHANGE-AMOUNT>
<PAYMENT-AMOUNT>10.42</PAYMENT-AMOUNT>
<TRANSACTION>123</TRANSACTION>
<COMMENT>test</COMMENT>
<CCHANDLE></CCHANDLE>
<CCHANDLEVALIDUNTIL></CCHANDLEVALIDUNTIL>
</PAYMENT>
<PAYING-PERSON>
<COMPANY/>
<NAME>Meiser</NAME>
<NAME2>Claudia</NAME2>
<ADDRESS>2</ADDRESS>
<STREET>Blumenstrasse 3</STREET>
<ZIP>80054</ZIP>
<CITY>München</CITY>
<COUNTRY-CODE>DE</COUNTRY-CODE>
<STATE>BY</STATE>
<POST-AREA>ER</POST-AREA>
<LANG>DE</LANG>
<PHONE1>089/987654</PHONE1>
<PHONE2>089/987655</PHONE2>
<FAX1>089/987610</FAX1>
<FAX2>089/987611</FAX2>
<EMAIL1>c@m.com</EMAIL1>
<EMAIL2>c@m.de</EMAIL2>
<MOBIL1>0151/343434</MOBIL1>
<MOBIL2>0163/345345</MOBIL2>
</PAYING-PERSON>
</PAYMENT-REQUEST>
</SIHOT-DOCUMENT>
Attributes Message
Attribute | Description | Data type |
---|---|---|
ID | Hotel ID | Long |
REFTYPE | Type of referenced account, possible values: ACCOUNTID CLIENT-ACCOUNTID GUEST-ACCOUNTID |
String |
REFID | ObjID of referenced account | Long |
PAYMENT-SYSTEM | Refers to the attached payment gateway, processing the payment | String |
PAYMENT | Payment data block | |
T-PAYMENT | payment method used in sihotWebPayment, e.g. payPal, VI… | |
T-CURRENCY | Currency used in sihotWebPayment e.g. EUR | |
CARDNO | Optional masked cc no | |
EXCHANGE-AMOUNT | Exchange Amount used | |
PAYMENT-AMOUNT | Amount used | |
TRANSACTION | transId usend in SIHOT.Web | |
COMMENT | Comment from payer as entered in sihotweb | |
CCHANDLE | In case of a payment via tokens, the associated token for the payment | |
CCHANDLEVALIDUNTIL | Indicates the expiredate for the token | |
PAYING-PERSON | Data of paying person (guestData) |
Response
<?xml version="1.0" encoding="UTF-8"?>
<SIHOT-Document>
<SIHOT-Version>
<Version>11.0.0.0181</Version>
<EXE>d:\\SIHOT\\v11.0.0.0\\SINETRES.EXE</EXE>
</SIHOT-Version>
<OC>PAYMENT-REQUEST-ANSWER</OC>
<RC>0</RC>
<TN>1</TN>
<MSG/>
<ACCOUNT-HOLDER>Berger, Jörg</ACCOUNT-HOLDER>
<ACCOUNT-NUMBER>242801</ACCOUNT-NUMBER>
<REFERENCE-NUMBER>25</REFERENCE-NUMBER>
<PMS-RESERVATION-NO>\#1/20005599/1 </PMS-RESERVATION-NO>
<RESERVATION-REFERENCE/>
</SIHOT-Document>
Operationcode: PAY-RESERVATION-REQUEST
PAY-RESERVATION-REQUEST
Message
This Request is used to post an already made online Payment to SIHOT
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
<OC>PAY-RESERVATION-REQUEST</OC>
<TN>1</TN>
<ID>1</ID>
<PAYMENT-REQUEST>
<REFTYPE>RESERVATION</REFTYPE>
<REFID>6298</REFID>
<PAYMENT>
<T-PAYMENT>payPal</T-PAYMENT>
<T-CURRENCY>EUR</T-CURRENCY>
<CARDNO>42*****************</CARDNO>
<EXCHANGE-AMOUNT>42.42</EXCHANGE-AMOUNT>
<PAYMENT-AMOUNT>42.42</PAYMENT-AMOUNT>
<TRANSACTION>123</TRANSACTION>
<COMMENT>test</COMMENT>
</PAYMENT>
<PAYING-PERSON>
<COMPANY/>
<NAME>Meiser</NAME>
<NAME2>Claudia</NAME2>
<ADDRESS>2</ADDRESS>
<STREET>Blumenstrasse 3</STREET>
<ZIP>80054</ZIP>
<CITY>München</CITY>
<COUNTRY-CODE>DE</COUNTRY-CODE>
<STATE>BY</STATE>
<POST-AREA>ER</POST-AREA>
<LANG>DE</LANG>
<PHONE1>089/987654</PHONE1>
<PHONE2>089/987655</PHONE2>
<FAX1>089/987610</FAX1>
<FAX2>089/987611</FAX2>
<EMAIL1>c@m.com</EMAIL1>
<EMAIL2>c@m.de</EMAIL2>
<MOBIL1>0151/343434</MOBIL1>
<MOBIL2>0163/345345</MOBIL2>
</PAYING-PERSON>
</PAYMENT-REQUEST>
</SIHOT-DOCUMENT>
Attributes Message
ID | Hotel ID | Long |
---|---|---|
REFTYPE | Type of referenced account, possible values: | |
RESERVATION | String | |
REFID | ObjID of referenced account | Long |
PAYMENT | Payment data block | |
T-PAYMENT | paymentMethod used in sihtWebPayment, e.g. payPal, VI… | |
T-CURRENCY | Currency used in sihtWebPayment e.g. EUR | |
CARDNO | Optional masked cc no | |
EXCHANGE-AMOUNT | Exchange Amount used | |
PAYMENT-AMOUNT | Amount used | |
TRANSACTION | transId usend in SIHOT.Web | |
COMMENT | Comment from payer as entered in sihotweb | |
PAYING-PERSON | Data of paying person (guestData) |
Response
<?xml version="1.0" encoding="UTF-8"?>
<SIHOT-Document>
<SIHOT-Version>
<Version>11.0.0.0181</Version>
<EXE>d:\\SIHOT\\v11.0.0.0\\SINETRES.EXE</EXE>
</SIHOT-Version>
<OC>PAYMENT-REQUEST-ANSWER</OC>
<RC>0</RC>
<TN>1</TN>
<MSG/>
<ACCOUNT-HOLDER>Berger, Jörg</ACCOUNT-HOLDER>
<ACCOUNT-NUMBER>243500</ACCOUNT-NUMBER>
<REFERENCE-NUMBER/>
<PMS-RESERVATION-NO>\#1/20005607/1 </PMS-RESERVATION-NO>
<RESERVATION-REFERENCE/>
</SIHOT-Document>