Record a payment collected at the kiosk

Bookings

post/api/integrations/{pcode}/kiosk/payments/{bookingId}x-api-key

Records on the booking a payment the kiosk has already collected, by card or in cash, as reception would: it counts towards what the booking has paid, and the invoice is issued by the property as usual — this call does not invoice. Read what is due first with GET /api/v2/bookings/{pcode}/payments/{bookingId} and the booking detail. collectedAt dates the payment on that day in the property time zone. transactionId is stored as the payment reference behind your partner slug (<slug>:<transactionId>, which is how it reads in the booking payments) and makes it safe to retry: sending a transaction of yours that is already on the booking writes nothing and answers 200 with what is there and replayed: true; the same transactionId with a different amount answers 409 kioskPaymentIdReused, and so does the same transactionId already recorded on another booking of the same group, whatever the amount. Only your own payments are matched: another kiosk’s, or reception’s, with the same reference never are. A checked-out booking still takes it. Answers 409 kioskBookingNotActive for a cancelled booking, a no-show or a block, and 409 kioskInProgress while another kiosk write for the same booking runs — retry in a moment. Partner keys only, with this endpoint granted to the connection.

Console

Runs against the API from your browser, with the same request your server will send.

Environment

Production

https://uni-api.hotelgest.com

Calls hit live data with your own API key. A POST, PUT, PATCH or DELETE here changes a real property.

Credentials

The API key, sent on every request. A property admin creates it in the PMS under Settings → API keys; a partner receives one per property when the property activates its integration. It works only for the property it was issued for, and only on the endpoints granted to it.

This endpoint needs a credential. Without it you will get a 401.

Stored in this browser only. Never sent anywhere but the API host above.

Path parameters

Body

Arm production

Writing methods are locked until you arm them. This is live hotel data.

POST is locked on production. Arm it above if you mean it.

posthttps://uni-api.hotelgest.com/api/integrations/123456/kiosk/payments/789

Send the request to see the real response here.

Nothing is mocked. What comes back is what the API returned.

Requests go straight from your browser to the API host above — nothing is proxied through this site.

Path parameters

pcode
number

Property code. Identifies the property (hotel, apartment building, hostel) the request applies to. It must match the property your API key was issued for.

bookingId
number

Booking ID. Obtained from the search endpoints (GET /api/v2/bookings/{pcode}/search) or returned by the booking creation endpoint.

Request body

transactionId
string

The kiosk's own id for the transaction, 1 to 50 characters: letters, digits, ., _, / or -. It is stored as the payment's reference behind your partner slug (<slug>:<transactionId>), and sending the same transaction again never records it twice.

amount
number

Amount collected, in the property currency, more than 0, up to two decimals

method
enum

How the guest paid: card or cash

One of:cardcash

collectedAt
string

When it was collected, ISO 8601 with its offset. The payment is dated on that day, in the property time zone

Example
1{
2 "transactionId": "RMK-20261103-000123",
3 "amount": 246,
4 "method": "card",
5 "collectedAt": "2026-11-03T15:10:00+01:00"
6}

Responses

Ok. If your API key answers encrypted — every key issued now does, and every partner credential — this body arrives as the encryption envelope ({ crypto, protected, wrappedKey, iv, payload, tag }, a compact JWE), and the schema below is what its payload decrypts to. See https://public-api.hotelgest.com/public/guides/encryption

transactionId
string

The kiosk’s own id for the transaction, as it was sent

replayed
boolean

True when the payment was already on the booking and nothing was written this time: a resend of the same transaction

paymentId
number

ID of the payment on the booking, as GET /api/v2/bookings/{pcode}/payments/{bookingId} lists it

amount
number

Amount recorded

Example response
1{
2 "transactionId": "RMK-20261103-000123",
3 "replayed": false,
4 "paymentId": 13214021,
5 "amount": 246
6}

What is a pcode?

The property code. Every endpoint is scoped to one property, and your API key only works for the property it was issued for.

Rate limits

100 requests per minute per source IP, 120 per API key and 300 per property, each counted across every endpoint together — not per endpoint. Over any of them you get a 429 with the seconds to wait in Retry-After-<limit> (apikey-ip, apikey or apikey-pcode): stop and wait it out. Repeat offences on a key or a property are blocked for longer each time, up to 7 days.