Booking status: state machine position + structured outcome

get/v1/bookings/{booking_id}

Request

  • Base URL: https://mercantry.org
  • URL: https://mercantry.org/v1/bookings/{booking_id}
  • Auth: none declared

Path parameters

booking_idstring uuid required

Query parameters

include_eventsboolean

Include the full audit log.

Response

Booking status.

booking_idstring uuid
merchant_idstring uuid
state'pending' | 'queued' | 'in_progress' | 'needs_input' | 'confirmed' | 'failed' | 'cancelled'
failure_reason'no_answer' | 'fully_booked' | 'closed' | 'policy_mismatch' | 'merchant_declined' | 'bad_data' | 'expired_sla' | 'needs_input_timeout'
requested_timestring
window_minutesinteger
party_sizeinteger
confirmed_timestring
confirmation_codestring
merchant_instructionsstring
needs_input_deadlinestring
attemptsinteger
sla_deadlinestring

Terminal state guaranteed by this time (REQ-FUL-6).

created_atstring
updated_atstring

Changes

No recorded changes to this operation across all 1 revision of this API.