Create Booking
create_bookingFull Description
Complete a booking session using payment.approval_id and a shared payment token. Use the session_id returned by create_estimates or create_estimate. Save customer, arrival window, description, instructions, and tip with update_booking_session. Get exact payment requirements from get_booking_session or update_booking_session. This may authorize payment before scheduling or dispatch. Arrival means arrival at the first stop. Use a new UUID idempotency key for each intended booking; retry the identical request with the same key. Reusing a key does not update the original booking. Use a new key for corrected details or replacement payment. Get a new estimate and session when changing the route, vehicle, or add-ons.
Parameters (3 required)
idempotency_keystringA UUID for this booking request. Reuse it only when retrying the same inputs.
paymentobjectsession_idstringSession ID returned by create_estimates or create_estimate.