- Sub-50ms distributed edge point-of-sale across 5 global jurisdictions (US, Thailand, Indonesia, UAE, Cameroon)
- Zero raw card storage with tokenized routing through certified Level-1 PCI-DSS payment gateways
- Store-and-Forward offline transaction ledger handling island power or internet drops with zero data loss
- Multi-currency conversion engine with real-time settlement across USD, THB, AED, IDR, and XAF
1. System Topology & Multi-Jurisdiction Routing #
Siam Sanctuary operates destination salons across multiple continents. A centralized monolith POS causes unacceptable latency and cross-border regulatory bottlenecks.
We utilize a Distributed Edge Point-of-Sale Architecture:
[Anycast Edge CDN (Cloudflare)]
│
┌────────────────────────────┼────────────────────────────┐
▼ ▼ ▼
[Americas Hub: SJU/DOR] [Asia Hub: BKK/HKT] [Middle East Hub: DXB]
• Currency: USD • Currency: THB • Currency: AED
• Gateway: Stripe • Gateway: Omise/PromptPay • Gateway: Network Int'l
• Tax: PR SURI Sales Tax • Tax: Thai Revenue VAT • Tax: UAE FTA 5% VAT
│ │ │
└────────────────────────────┼────────────────────────────┘
▼
[Encrypted Global Data Warehouse]
• Zero PAN / PCI Tokenized Vault
• Event-Driven Audit Ledger
2. Tokenized Payment Flow & PCI-DSS Scope Reduction #
By utilizing hosted PCI-DSS Level 1 field tokenization, Siam Sanctuary completely removes all salon hardware, tablets, and web servers from PCI-DSS regulatory scope (qualifying for the simplified PCI-DSS SAQ-A):
1. [Client Enters Card / Tap Device] ➔ 2. [Encrypted Directly to Stripe/Omise HSM Vault]
│
3. [Client Terminal Receives Cryptographic Token: "tok_991823"]
│
4. [Siam Sanctuary API Charges Token via Backend Gateway Webhook]
- Primary Account Numbers (PAN), CVVs, and magnetic stripe tracks are never transmitted across or stored on local salon tablets.
- All salon Wi-Fi networks feature dedicated isolated VLANs partitioned away from guest guest-access wireless channels with WPA3-Enterprise 802.1X security.
3. Store-and-Forward Offline Resilience Engine #
Tropical destination salons (e.g., beachfront villas in Phuket or Caribbean coastal sanctuaries in Puerto Rico) occasionally face marine cable telecommunications drops or storm outages.
Our client application runs an Offline Store-and-Forward Transaction Queue:
interface OfflineQueueRecord {
id: string; // UUID v4
timestamp: string; // ISO 8601
locationCode: "SJU" | "DOR" | "BKK" | "HKT" | "DPS" | "DXB";
servicePayload: {
serviceId: string;
technicianId: string;
clientLocalId: string;
basePriceCents: number;
tipCents: number;
currency: string;
};
hmacSignature: string; // HMAC-SHA256 with local enclave key
syncStatus: "QUEUED" | "SYNCING" | "CONFIRMED";
}
async function enqueueOfflineAppointment(record: OfflineQueueRecord): Promise<void> {
const db = await openIndexedDB("SiamSanctuary_POS_Store");
const tx = db.transaction("transaction_queue", "readwrite");
await tx.objectStore("transaction_queue").add({
...record,
hmacSignature: await generateHmac(record),
syncStatus: "QUEUED"
});
console.info('[Offline POS] Record ' + record.id + ' stored securely in local enclave.');
}
- Transactions and booking modifications made while offline are signed with a tamper-resistant local key and buffered in IndexedDB.
- As soon as the edge ping detects active telemetry, the synchronization service replays the event queue in idempotent order, resolving timestamps with zero record duplication.
4. Multi-Currency Accounting & Tax Engine #
{
"supported_currencies": ["USD", "THB", "AED", "IDR", "XAF"],
"fx_rate_refresh_interval_seconds": 3600,
"currency_rules": {
"USD": { "precision": 2, "tax_engine": "US_Puerto_Rico_IVU", "default_rate": 0.115 },
"THB": { "precision": 0, "tax_engine": "Thailand_Revenue_VAT", "default_rate": 0.070 },
"AED": { "precision": 2, "tax_engine": "UAE_FTA_VAT", "default_rate": 0.050 },
"IDR": { "precision": 0, "tax_engine": "Indonesia_DGT_PPN", "default_rate": 0.110 }
}
}
5. Security & Infrastructure Audit Checklist #
- Verify TLS 1.3 cipher suite enforcement across all API endpoints with HSTS (> 1\text{ year})
- Confirm guest Wi-Fi and POS VLAN networks are physically isolated on separate subnets
- Test offline transaction queue with simulated network drop for 10 consecutive appointments
- Audit multi-factor biometric authentication enforcement for salon administrative staff
- Rotate localized terminal token keys and webhook HMAC secrets every 90 days
- Export quarterly immutable compliance transaction log for government fiscal authorities