A Lodging object represents lodging information to be sent in with a transaction.

Properties

PropertyTypeDescriptionExample
durationNumber(integer)The duration in days of the lodging period.1
check_in_dateString(YYYY-MM-DD)The check-in date of the lodging period."2024-01-01"
check_out_dateString(YYYY-MM-DD)The check-out date of the lodging period."2024-01-02"
room_rateNumber(float)The rate per day of the lodging period.12.34

Example

{
  "duration": 1,
  "check_in_date": "2024-01-01",
  "check_out_date": "2024-01-02",
  "room_rate": 12.34
}