Skip to main content
Complete reference for all enum values used in the Partner API.

Booking Status

Represents the lifecycle state of a booking.
ValueDescription
in progressThe booking is active. A service appointment has been created and the service is either upcoming or currently being performed. This is the normal operating state.
waiting paymentThe booking is waiting for payment from the customer. For CLEANOS responsibility, CleanLife has sent (or is sending) a payment link. For PARTNER responsibility, this state should not appear — bookings skip directly to in progress.
successThe service has been completed successfully. This is the terminal success state.
canceledThe booking has been cancelled by the partner, the customer, or CleanLife operations. This is a terminal state.
failedThe booking could not be completed (typically due to a payment or validation error). This is a terminal error state — disregard the booking and create a new one.
Enum values contain spaces (e.g., in progress, waiting payment). URL-encode them when using as query parameter filters: ?status=in%20progress.

Payment Status

Returned on booking responses and derived from booking state and payment confirmation:
ValueDescription
NOT_REQUIREDNo payment is associated with this booking (free service, or the booking model does not require payment tracking).
PENDINGPayment is required but not yet collected. For CLEANOS responsibility: waiting for customer payment. For PARTNER responsibility: awaiting confirm-payment call.
PAIDPayment has been confirmed. Either a CleanLife payment record exists, or the partner called confirm-payment.
FAILEDPayment processing failed. The booking is in failed status.
CANCELLEDThe booking was cancelled.

Partner Account Status

Status of your partner account.
ValueDescription
ACTIVEPartner account is fully operational. API calls are accepted.
SUSPENDEDPartner account has been temporarily suspended. API calls will be rejected with 401 UNAUTHORIZED.
INACTIVEPartner account is deactivated. API calls will be rejected.

Payment Responsibility

Determines who is responsible for collecting payment from the end customer.
ValueDescription
CLEANOSCleanLife collects payment from the customer. You create bookings; CleanLife handles payment links and refunds.
PARTNERThe partner collects payment from their own customers. CleanLife accepts the booking immediately without requiring payment. The partner must call confirm-payment after collecting.

Webhook Domain Environment

Used when registering allowed webhook domains.
ValueDescription
productionA production domain. Requests from this domain are allowed.
sandboxA sandbox/testing domain. May be restricted (SANDBOX_DOMAIN_NOT_ALLOWED). Contact CleanLife to enable sandbox access.

Webhook Subscription Status

Controls whether a webhook subscription is actively delivering events.
ValueDescription
ACTIVEThe subscription is active. Events matching the subscribed list will be delivered to the URL.
INACTIVEThe subscription is paused. New events will not be delivered.

Webhook Delivery Status

Tracks the delivery state of a single webhook event dispatch.
ValueDescription
PENDINGThe delivery is waiting to be dispatched, currently being dispatched, or is waiting for the next scheduled retry.
DELIVEREDYour endpoint returned a 2xx HTTP response. The delivery is complete.
FAILEDAll automatic retry attempts were exhausted without a successful delivery. Manual retry is required via POST /partners/webhooks/deliveries/:id/retry.

Appointment Status

Status of the service appointment linked to a booking. Received in webhook payloads and booking responses.
ValueDescription
NewAppointment created but not yet assigned to a team.
ScheduledAppointment assigned to a team with a confirmed start/end time.
ConfirmedAppointment has been confirmed (e.g., by operations).
In The WayThe assigned team is traveling to the service location.
In The locationThe team has arrived at the service location.
In ProgressThe service is actively being performed.
FinishedThe team has completed their work at the site.
CompletedThe appointment has been fully processed and closed.
Cannot CompleteThe team was unable to complete the service (e.g., no access).
CancelledThe appointment was cancelled.

Work Type

Optional parameter on booking creation, used to classify the type of work performed. Contact the CleanLife team for the full list of accepted values. Common values (representative):
ValueDescription
REGULARStandard cleaning session
(others)Contact CleanLife integration team for the full list

Webhook Events

All available webhook event types you can subscribe to.
ValueDescription
booking.createdA new booking was successfully created via the Partner API
booking.updatedA booking was updated (date, timeslot, or external reference changed)
booking.cancelledA booking was cancelled
booking.payment_failedAsynchronous payment link processing failed (CLEANOS responsibility only)
booking.payment_confirmedA partner confirmed payment (PARTNER responsibility only)
booking.appointment_status_changedThe linked service appointment changed its status