A comprehensive technical architecture document, zero-loss escrow specification, and carrier-grade messaging infrastructure powering Tanzania's next-generation short-stay platform.
4-digit physical check-in PIN vault holding 100% funds
Instant SMS dispatch across Vodacom, Tigo, Airtel & Halotel
Matches human trip purpose across 70+ African wards
M-Pesa, Mixx by Yas, Airtel Money & HaloPesa integration
The visual grammar of X-OM represents modern architectural precision, trusted financial holding, and seamless local mobility.
The electric cyan-to-azure gradient represents real-time connectivity, while the solid navy container anchors institutional escrow trust.
Standard hex and token colors across Flutter mobile apps, Supabase Edge Functions, and web interfaces.
Primary UI: Plus Jakarta Sans & Inter (Weight 400 to 800)
Arrival PINs & Financial Reference: JetBrains Mono (Monospace)
Traditional short stays in East Africa suffer from frequent payment fraud. X-OM replaces blind trust with automated cryptographic PIN verification.
Guest selects stay and pays via M-Pesa / Mixx / Airtel / HaloPesa. Funds are locked in X-OM Escrow, NOT sent to the host's personal phone.
Supabase generates a secure 4-digit Arrival PIN. Textify Africa dispatches the secret code immediately to the guest's mobile phone via SMS.
Guest arrives at the property, verifies that amenities (AC, Wi-Fi, cleanliness) match listing specifications before releasing any funds.
Host enters the guest's PIN into X-OM Host Desk. Funds disburse instantly to host's mobile wallet. In case of dispute, 100% refund is guaranteed.
Server-side PostgreSQL trigger enforcing escrow lock until check-in confirmation:
CREATE OR REPLACE FUNCTION confirm_short_stay_arrival_pin(
p_booking_id UUID,
p_entered_pin TEXT
) RETURNS JSONB AS $$
BEGIN
-- 1. Verify 4-digit PIN match against encrypted escrow record
IF NOT EXISTS (
SELECT 1 FROM short_stay_bookings
WHERE id = p_booking_id AND arrival_pin = p_entered_pin AND status = 'confirmed'
) THEN
RAISE EXCEPTION 'Invalid check-in PIN. Funds remain locked in platform escrow.';
END IF;
-- 2. Mark stay checked-in and trigger automated host payout
UPDATE short_stay_bookings
SET status = 'checked_in', checked_in_at = NOW()
WHERE id = p_booking_id;
RETURN jsonb_build_object('status', 'released', 'settled_at', NOW());
END;
$$ LANGUAGE plpgsql SECURITY DEFINER;
Designed specifically for the East African telecom landscape, ensuring guests and hosts communicate even with zero mobile data.
To prevent duplicate SMS billing and handle high-volume check-in peaks, X-OM utilizes PostgreSQL FOR UPDATE SKIP LOCKED batch claiming.
XOM.Legacy platforms ask "Where are you going?" and dump hundreds of disconnected listings across an unfamiliar city. X-OM is the first accommodation AI in Africa engineered to ask "Why are you traveling?" โ matching human trip intention directly to hyper-accurate urban geography and infrastructure realities.
How natural language and purpose-based routing transforms the African guest experience:
Trader traveling upcountry to stock shop inventory.
Family accompanying patient for treatment & convalescence.
Software dev or student needing 100% uninterrupted uptime.
Weekend escape or Zanzibar beachside workation.
Unlike flat text search engines, X-OM maintains an ontological graph of African urban geography indexed in Swahili and English colloquial terms:
Hananasif, Mikocheni, Msasani, Oyster Bay, Kawe, Mwananyamala, Kigogo, Magomeni, Tandale, Kijitonyama
Upanga, Kariakoo, Kisutu, Posta, Kivukoni, Gerezani, Jangwani, Buguruni, Tabata, Segerea
Sinza, Mwenge, Manzese, Kimara, Mbezi, Goba, Makumbusho, Mabibo, Kibamba
Stone Town, Nungwi, Kendwa, Paje, Jambiani, Kiwengwa, Bagamoyo, Kigamboni
The Offline Telecom Hand-off: Once the AI resolves intent into the perfect stay and payment locks in Escrow, Textify Africa's GSM gateway delivers the 4-digit check-in PIN and offline Swahili landmark directions (e.g., "Mtaa wa Kawawa mkabala na kituo cha Mwendokasi") directly to the traveler's phone. Even if mobile data drops in transit, the guest checks in seamlessly without ever being stranded.
Core endpoints connecting client apps, Supabase Edge Functions, and telecommunications workers.
/functions/v1/send-textify-message
Dispatches queued transactional SMS and WhatsApp notifications through Textify Africa.
Authorization: Bearer <SUPABASE_SERVICE_ROLE_KEY>
x-xom-textify-worker-secret: <ENCRYPTED_VAULT_SECRET>
Content-Type: application/json
{
"limit": 10
}
{
"ok": true,
"claimed": 2,
"outcomes": [
{ "id": "b7829a...", "result": "sent", "provider": "textify" },
{ "id": "c4910e...", "result": "sent", "provider": "textify" }
]
}