Helena Voss · Operations admin

Integrations

Public API & webhooks

A REST surface for corporate travel portals, ERPs and data warehouses, with signed webhooks for booking status, invoicing, payment and settlement events. Demo keys are read-only display values.

REST endpoints

https://project--1c2ca2fb-668c-4514-b7d1-40d84cebaa5b.lovable.app

MethodPathSummaryScope
GET/api/public/v1/bookingsList bookings filtered by market, status and date rangebookings.read
GET/api/public/v1/bookings/{ref}Retrieve a single booking with allocation and flight watchbookings.read
POST/api/public/v1/bookingsCreate a booking from a quote referencebookings.write
POST/api/public/v1/bookings/{ref}/cancelCancel a booking and trigger the cancellation webhookbookings.write
GET/api/public/v1/invoicesList invoices and credit notes with tax bucketsinvoices.read
GET/api/public/v1/paymentsList payments with 3DS2 authentication outcomepayments.read
GET/api/public/v1/settlementsList chauffeur settlements for a periodpayments.read
GET/api/public/v1/fleetList fleet units with compliance and dispatch statefleet.read
GET/api/public/track/{ref}Live tracking stream for a booking referencetracking.read
curl "https://project--1c2ca2fb-668c-4514-b7d1-40d84cebaa5b.lovable.app/api/public/v1/bookings?market=UK&status=allocated" \
  -H "Authorization: Bearer mrd_demo_9f21..." \
  -H "Accept: application/json"

API keys & scopes

Keys are scoped least-privilege and rate limited per integration. Revoking a key takes effect immediately.

Corporate travel portal (Barrington)

mrd_demo_9f21••••••••••••4a70

active
bookings.readbookings.writeinvoices.readtracking.read

Created 12 Feb 2026 · last used 02 Jul 2026 08:41 · 600 req / min

Finance data warehouse

mrd_demo_31bc••••••••••••8e12

active
invoices.readpayments.read

Created 03 Apr 2026 · last used 01 Jul 2026 23:05 · 120 req / min

Legacy dispatch bridge

mrd_demo_77aa••••••••••••01c4

revoked
bookings.readfleet.read

Created 18 Nov 2025 · last used 22 May 2026 14:12 · 60 req / min

bookings.read — List and read bookings, status and allocation

bookings.write — Create, reschedule and cancel bookings

invoices.read — Read invoices, credit notes and tax buckets

payments.read — Read payments, 3DS2 outcomes and settlements

fleet.read — Read fleet units, chauffeurs and compliance status

tracking.read — Read live chauffeur position, status and ETA

Webhook endpoints

Tick the events each destination should receive. Deliveries retry with exponential backoff and pause after repeated failures.

https://portal.barrington-demo.co.uk/hooks/meridian

whsec_••••••••••••7f21 · 1,284 delivered / 3 failed (24 h) · 8 attempts · exponential backoff to 6 h

https://erp.groupe-vallier-demo.fr/api/meridian/events

whsec_••••••••••••1a04 · 612 delivered / 0 failed (24 h) · 8 attempts · exponential backoff to 6 h

https://payroll-demo.internal/meridian/settlements

whsec_••••••••••••93be · 41 delivered / 12 failed (24 h) · paused after 12 consecutive failures

Signature verification

Meridian-Signature: t=<unix>,v1=<hex>
v1 = HMAC_SHA256(secret, "<t>.<raw body>")
Compare with a timing-safe equality check and reject timestamps older than 5 minutes.

Sample payload

{
  "id": "evt_demo_0001",
  "type": "booking.status_changed",
  "created": "2026-07-02T09:14:02Z",
  "livemode": false,
  "data": {
    "ref": "LDN-24818",
    "market": "UK",
    "status": "en_route",
    "pickup": "The Berkeley, Wilton Place",
    "dropoff": "Heathrow T5",
    "pickup_at": "2026-07-02T09:40:00Z",
    "vehicle_class": "BUS",
    "chauffeur": {
      "name": "Priya Raman",
      "unit": "V-02"
    },
    "total": {
      "net": 118.33,
      "tax": 23.67,
      "gross": 142,
      "currency": "GBP"
    }
  }
}
EventDestinationSentAttemptResponsePayload
booking.status_changedevt_9f21ahttps://portal.barrington-demo.co.uk/hooks/meridian02 Jul 09:14:02Z1 · 184 ms200{"ref":"LDN-24818","status":"pob","chauffeur":"Priya Raman","eta_dropoff":"09:52Z"}
invoice.createdevt_9f219https://erp.groupe-vallier-demo.fr/api/meridian/events02 Jul 08:00:11Z1 · 233 ms200{"number":"FR-2026-0512","account":"Groupe Vallier","net":11260,"tax":1216,"currency":"EUR"}
payment.failedevt_9f214https://erp.groupe-vallier-demo.fr/api/meridian/events02 Jul 11:06:40Z1 · 197 ms200{"payment_id":"pi_demo_84131","reason":"3ds_challenge_abandoned","invoice":"INV-UK-2026-0839"}
settlement.paidevt_9f1f8https://payroll-demo.internal/meridian/settlements01 Jul 18:22:09Z8 · 30,000 ms502{"settlement":"SET-UK-2026-31","driver":"James Okafor","payable":651.1,"currency":"GBP"}