Skip to main content
POST
/
v1
/
brands
/
{brandId}
/
room-charge
/
{integrationType}
/
validate
Validate room charge
curl --request POST \
  --url https://api.letsway.com/v1/brands/{brandId}/room-charge/{integrationType}/validate \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "reservationId": "res-123",
  "arrivalDate": "2024-03-10",
  "departureDate": "2024-03-15",
  "status": "CONFIRMED",
  "confirmationId": "CONFIRM-456",
  "guests": [
    {
      "lastName": "Doe",
      "firstName": "John"
    }
  ],
  "comments": [
    {
      "id": "comment-001",
      "type": "General",
      "title": "Request",
      "comment": {
        "value": "Special request: late check-out"
      }
    }
  ],
  "fixedCharges": [
    {
      "description": "Late checkout fee",
      "amount": 50
    }
  ],
  "postings": [
    {
      "transactionNo": 12345
    }
  ],
  "arrivalTime": "14:00",
  "departureTime": "11:00"
}

Path Parameters

brandId
string
integrationType
string

Body

application/json

The body is of type object.

Response

200 - application/json

Validate room charge

reservationId
string
required

Reservation ID

Example:

"res-123"

arrivalDate
string
required

Arrival date (formatted as YYYY-MM-DD)

Example:

"2024-03-10"

departureDate
string
required

Departure date (formatted as YYYY-MM-DD)

Example:

"2024-03-15"

status
string
required

Reservation status

Example:

"CONFIRMED"

confirmationId
string | null

Confirmation ID (if applicable)

Example:

"CONFIRM-456"

guests
object[] | null

Guests associated with the reservation

comments
object[] | null

Comments related to the reservation

fixedCharges
object[] | null

Fixed charges associated with the reservation

postings
object[] | null

Postings associated with the reservation

arrivalTime
string | null

Arrival time (Stayntouch specific)

Example:

"14:00"

departureTime
string | null

Departure time (Stayntouch specific)

Example:

"11:00"