Frequently Asked Questions

Who calls whom?

SIHOT.POS calls your server. You implement the endpoints, SIHOT.POS sends the requests when the cashier works with vouchers. See Introduction.


Which endpoints do I have to implement?

auth/token, GetVoucher, RedeemVoucher, CancelRedemption, SellVoucher and CancelSellVoucher. Please contact us before you implement CreateVoucher or AddBillToTransaction.


Which HTTP status codes does SIHOT.POS expect?

200 for success. 281 from GetVoucher if the voucher does not exist. For other errors, a status code of 400 or higher with an error message. Other success codes, such as 201 or 204, are treated as errors. See Implementation Basics.


When does SIHOT.POS request a new token?

SIHOT.POS requests a token when it needs one for the first time and then keeps using it. It requests a new token only after a network error, not after a 401 response. Issue tokens that stay valid. See Authentication.


Can a voucher be redeemed partly?

Yes. SIHOT.POS always sends the amount to redeem in redeemValue. Reduce the remaining value by exactly this amount.


How do I mark a voucher that is not sold yet?

Return 1899-12-30T00:00:00Z as saleDate. SIHOT.POS only redeems sold vouchers and only sells vouchers that are not sold yet.


Until when can a voucher be redeemed?

Up to and including the day before expiryDate.


Can SIHOT.POS create new voucher codes?

No. SIHOT.POS sells vouchers that already exist in your system. Please contact us if you need vouchers to be created from SIHOT.POS.


Does SIHOT.POS tell me when a whole bill is cancelled?

Yes, if the bill is cancelled at a SIHOT.POS terminal: SIHOT.POS sends CancelRedemption for each voucher payment on the bill. If your server rejects it, the bill is not cancelled.

No, if the bill is cancelled or credited through the SIHOT.POS REST Open API, or if only the payment method of a settled bill is changed. See Cancel a Redemption.


How do I distinguish several hotels?

Assign a separate customer id and user to each hotel; SIHOT.POS sends them in the token request. If you need separate endpoints per hotel, include a tenant prefix in the base URL. See Implementation Basics.


What if the documentation I need is not available?

Please contact us.