Add/Modify/Cancel Booking

REQUEST_PATH : Booking/v1/Create/ManagePayments

Parameter

Type

Required

Description

reference

String

Yes

Unique Reference that identifies a booking in PMS

arrival

Date

Yes

Arrival Date in format d-m-Y

departure

Date

Yes

Departure Date in format d-m-Y

status

String

Yes

Status of booking – booked or cancelled

email

String

Yes

Primary Guest’s Email Address

lastName

String

Yes

Primary Guest’s Lastname

totalCost

Float

Yes

Total Cost of Booking

firstNightCost

Float

Yes

Total cost of first payable night. If a multiple room booking, add first night cost across rooms

Request Data

{
    reference: '123456789',
    arrival: '10-12-2024',
    departure: '15-12-2024',
    status: 'booked',
    email: 'test@levart.com.au',
    lastName: 'Test',
    totalCost: '150',
    firstNightCost: '80'
}

Response Data

{
	"success": true,
	"message": "Booking details updated successfully.",
	"booking": {
		"bookingReference": "123456789",
		"site": "www.test12.dev.levart.com.au",
		"propertyName": "Aman's Test Site",
		"arrival": "10-12-2024",
		"departure": "15-12-2024",
		"status": "booked",
		"totalCost": 150,
		"currency": "AUD",
		"guest": {
			"lastName": "Test",
			"email": "test@levart.com.au"
		},
        "payment": {
			"cardHolderName": "Aman",
			"cardNumber": "XXXX-XXXX-XXXX-X111",
			"cardType": "Visa",
			"cardExpiry": "01\/2025",
			"token": "03b0725121e9c3690a5fa9ce3c778dd6"
		}
	}
}