Place a reservation (async — a call is placed to the merchant)
Returns booking_id with state=queued immediately. Poll GET /v1/bookings/{id} or supply callback_url for webhooks. With accept_within_window=true (recommended), merchant counter-offers inside ±window_minutes auto-confirm without a round-trip. Retry safety: send a unique client_reference_id (or Idempotency-Key header); retrying with the same value returns the existing booking (200, idempotent_replay=true) instead of double-booking.
post/v1/bookings
Request
- Base URL: https://mercantry.org
- URL: https://mercantry.org/v1/bookings
- Auth: one of:
- none
- API key in header x-api-key
Headers
Idempotency-Keystring
Alias for body field client_reference_id (body wins if both are sent).
Request body
Response
Idempotent replay: {ok, booking_id, state, idempotent_replay: true} — an existing booking matched client_reference_id; nothing new was created.
Changes
No recorded changes to this operation across all 1 revision of this API.