SM_HotelResPaymentReadRQ/RS
Sample XML
General Guidelines for Payment Transaction Retrieval
The PMS should pull payment transactions every 2-5 minutes per Hotel. You can pull less frequently if you wish.
SM_HotelResPaymentReadRQ
Element | Number | Description |
SM_HotelResPaymentReadRQ | 1 | Root element |
@Version | 1 | Current Version 1.0 |
@EchoToken | 1 | Globally unique identifier for the request, value will be returned as an EchoToken in the response. |
@TimeStamp | 1 | Time of the transaction in xml schema dateTime format |
SM_HotelResPaymentReadRQ / POS / Source / RequestorID | 1 | This identifies the system which is sending the reservation. This element must appear in the first Source element. |
@Type | 1 | Fixed at 22 (ESRP) |
@ID | 1 | The ID used will be agreed by the trading partners and remain the same throughout the messages. |
SM_HotelResPaymentReadRQ / SelectionCriteria | 1 |
|
@HotelCode | 0..1 | Hotel code as recognised by pmsXchange. Please note if you are using PMS level authentication you can omit the HotelCode to pull all pending transactions for you hotels with a single message. |
@SelectionType | 1 | Must be "Undelivered" |
SM_HotelResPaymentReadRS
Element | Number | Description |
SM_HotelResPaymentReadRS | 1 | Root element |
@Version | 1 | Current Version 1.0 |
@EchoToken | 1 | Globally unique identifier for the request, value will be returned as an EchoToken in the response. |
@TimeStamp | 1 | Time of the transaction in xml schema dateTime format |
SM_HotelResPaymentReadRS/HotelResPaymentList | 1 | List of HotelResPayments |
SM_HotelResPaymentReadRS/HotelResPaymentList/HotelResPayment | 0..n | HotelResPayment data |
@HotelCode | 1 | Hotel code as recognised by pmsXchange |
@TransactionID | 1 | Transaction Identifier |
@CreateDateTime | 1 | Create timestamp |
SM_HotelResPaymentReadRS/HotelResPaymentList/HotelResPayment/UniqueID | 2 | Container for the Reservation Identifier. See Unique ID |
@ID | 1 | Reservation Identifier |
@Type | 1 | 14 and 34 - See UniqueId@Type |
SM_HotelResPaymentReadRS/HotelResPaymentList/HotelResPayment/PaymentInfo | 1 |
PaymentInfo Detail
Element | Number | Description |
PaymentInfo | 1 | Top Level Payment information XML container |
@PaymentTransactionTypeCode | 1 | |
@PaymentType | 1 | Identifies the payment type
|
@Remark | 0..1 | Open Remarks Will include the payment provider used if the transaction was a non-card payment. |
@PaymentRef | 0..1 | Payment reference (ie Paypal reference) |
@ChargeTypeCode | 1 | Charge type code - See Charge Type Mapping Definition |
PaymentInfo\PaymentCard | 0..1 |
|
@CardCode | 1 | Credit card issuer code. See the OTA Payment Card Provider Codes |
@CardType | 1 | Credit/Debit OTA_Card_Type Def |
@ExpireDate | 1 | MMYY format card expire date |
@Mask | 1 | Masked CC number |
@CardHolderName | 1 | Name of card holder |
PaymentInfo\PaymentAmount | 1 | Payment Amount container |
@Amount | 1 | Transaction amount |
@CurrencyCode | 1 | Currency Code |
@Due | 0..1 | Amount outstanding |
Payment Charge Type Mapping Definition
Code | Description |
RM | Room |
FD | Food/Beverage |
OT | Other |
EX | Stay Extras |