SIHOT.PMS calls your server. You implement the endpoints and act as identity provider. See Introduction.
When a user redeems an external gift voucher on a guest folio. Other processes in SIHOT.PMS do not call your server.
No. SIHOT.PMS always redeems the complete remaining value that your server returns.
Your server. SIHOT.PMS does not evaluate status, sellDate or expiryDate. Reject vouchers that cannot be redeemed with result.success = false and an errorMessage.
No. The interface has no cancel endpoint. If a gift voucher payment is cancelled in SIHOT.PMS, the hotel has to arrange the correction with you.
hotelUuid?From the hotel: it provides its property UUID. Assign it to the client id of the hotel and include it in the tokens you issue for this client id.
X-SIHOT-Env?To make sure that your system only communicates with a SIHOT.PMS installation of the same environment, so that a test system never communicates with a production system. Accept requests only if the header matches the environment of your system. See Environment Check.
env?It is optional, but strongly recommended, and it will become mandatory in a later version. Take the value from the header X-SIHOT-Env of the token request. See Authentication.
200 (or 201) for processed requests and 400 for business errors, both with the complete response structure and result.success. SIHOT.PMS decides by result.success. With any other status, SIHOT.PMS reports an error with the HTTP status and does not evaluate the body. See Implementation Basics.
Yes. A hotel can connect up to three gift voucher systems through this interface. Each one has its own base URL and credentials.
Please contact us.