SIHOT.POS calls your server. You implement the endpoints, SIHOT.POS sends the requests when the cashier works with vouchers. See Introduction.
auth/token, GetVoucher, RedeemVoucher, CancelRedemption, SellVoucher and CancelSellVoucher. Please contact us before you implement CreateVoucher or AddBillToTransaction.
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.
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.
Yes. SIHOT.POS always sends the amount to redeem in redeemValue. Reduce the remaining value by exactly this amount.
Return 1899-12-30T00:00:00Z as saleDate. SIHOT.POS only redeems sold vouchers and only sells vouchers that are not sold yet.
Up to and including the day before expiryDate.
No. SIHOT.POS sells vouchers that already exist in your system. Please contact us if you need vouchers to be created from SIHOT.POS.
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.
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.
Please contact us.