Confirm Booking
POST /properties/{tenant_id}/bookings/{booking_id}/confirm
POST
/properties/{tenant_id}/bookings/{booking_id}/confirm
Confirm a pending booking, optionally adding payments. The booking status will be updated to “confirmed”.
Scope Required: bookings:write
URL Parameters:
booking_id(required): The booking code to confirm (must exist and be in pending status)
Body Parameters:
payments(optional): Array of payment records to attach during confirmationpayments[].amount(required): Payment amount (numeric, min: 0)payments[].method(optional): Payment method (one of system payment method (cash, bank_transfer, debt, atm_transfer, credit_card, apple_pay, pos, wechat_pay..v.v))payments[].paid_at(optional): Payment date (format: Y-m-d H:i:s)payments[].notes(optional): Payment notes (max: 500 characters)
Important Notes:
- Only pending bookings can be confirmed
- Payments are optional - booking can be confirmed without payment
- Booking status will be updated to “confirmed” automatically
- If booking is already confirmed, checked_in, checked_out, or cancelled, the request will fail
Authorizations
Phần tiêu đề “Authorizations ”Parameters
Phần tiêu đề “ Parameters ”Path Parameters
Phần tiêu đề “Path Parameters ” tenant_id
required
string
booking_id
required
string
Request Body required
Phần tiêu đề “Request Body required ” ConfirmBookingRequest
object
booking_id
required
string
payments
array | null
object
amount
required
number
method
string | null
paid_at
string | null format: date-time
Example
2025-11-19 16:54:00 notes
string | null
Responses
Phần tiêu đề “ Responses ”object
Validation error
object
message
required
Errors overview.
string
errors
required
A detailed description of each field that failed validation.
object
key
additional properties
Array<string>
Bài này có giúp được bạn không?
Cảm ơn bạn. Phản hồi đã được ghi lại.
Chưa giúp được ở đâu?
Vẫn chưa xong việc?
Hỗ trợ trực tiếp 8:00–22:00 hằng ngày, kể cả cuối tuần.