Add one or more payments to an existing booking without changing its status.
Use this endpoint to record payments for bookings that are already confirmed or in progress.
Scope Required:bookings:write
URL Parameters:
booking_id (required): The booking code to add payments (must exist and not be cancelled)
Body Parameters:
payments (required): Array of payment records, at least one payment is required
Payments are added to existing payments (not replaced)
If booking_id refers to a booking that has since been merged into a
group booking (a “đơn đoàn” — status Merged), the payment is redirected
to its master booking instead, because payments always live on the
master after a merge. The data in the response then describes the
MASTER booking, whose id may differ from the booking_id you sent —
this is intentional (see BookingService::addPayment()), not a bug.