Loyalty · 10 / 26

Integration Map

How the loyalty platform integrates with the ledger, reservations, flight operations, consent, identity, finance and messaging systems: patterns, latency targets and failure behaviour.

The integration landscape

Integration map of the loyalty platform The app, web and contact centre and partner files reach the platform. The platform calls models through an AI gateway and enterprise systems through a tool gateway. The tool gateway reaches the points ledger, reservations, flight operations, member master and CRM, the consent service, identity and fraud signals, finance and messaging. App and web claims · status Contact centre agent desktop Partner files cards · hotels · retail Loyalty platform orchestrator · agents AI gateway scans · routing Model providers primary · fallback Tool gateway (MCP) scopes · audit Points ledger Reservations Flight operations Member and CRM Consent service Identity and fraud Finance and GL Messaging Only the tool gateway reaches enterprise systems. Models are reached only through the AI gateway.
Two gateways are the only doors: one for models, one for enterprise systems.

The platform touches twelve kinds of system. Each integration is a tool or an event with a stated pattern, owner and failure behaviour, so a failure in one system degrades one capability and never the whole platform.

System by system

SystemDirectionPatternDataLatency targetIf it fails
Points ledgerRead and writeSynchronous API (Application Programming Interface) through the tool gateway; events back by queueEntries, balances, tiersUnder 500 ms per callQueue the posting; show it as pending; route to a person
Reservations (passenger service system)ReadSynchronous API and daily extractsTickets, booking class, flown statusUnder 600 msClaims wait; no credit without evidence
Flight operationsReadEvent stream into the lakehouseDepartures, arrivals, distancesWithin 30 minutes of arrivalEarning waits; claims use ticket data and flag it
Member master and CRMReadSynchronous API, short cacheProfile, contact (masked)Under 300 msVerify by other means or route to a person
Consent and preference serviceReadSynchronous API at send timeChannel and purpose permissionUnder 100 msDo not send; never assume consent
Identity and fraud signalsReadSynchronous API and streamDevice, location, authentication eventsUnder 200 ms for login scoringFall back to the strictest step-up
Partner systemsReceiveSigned batch files and event APIsEarning transactionsFiles within 2 hours of arrivalAlert; nothing is credited from an unvalidated file
Finance and GL (General Ledger)SendDaily and monthly journalsLiability, breakage, expenseDailyRetry; reconcile before close
Messaging (email, push, text)SendQueued send with delivery statusApproved messagesSecondsRetry, then show in the app
Contact centre platformRead and writeEmbedded copilot and ticket APICases, notesUnder 500 msAgents work from the rulebook search
PaymentsReadToken-based payment linksPayment statusNot on a user pathShow the last known status

Patterns used

Synchronous tool call

For reads and short writes. Bounded timeout, one retry, idempotency key on writes.

Outbox and events

A posted entry writes an event in the same transaction. A relay publishes it, so tier updates, messages and finance never miss one.

Cache with a stated age

Member profile and terms are cached briefly. An answer built from a cache says so when it matters.

Signed batch ingest

Partner files are verified, validated and totalled before any line is credited.

Outbox pattern for ledger events Posting a ledger entry writes the entry and an outbox row in one transaction. A relay publishes the event, and the tier engine, the finance feed and the notifier each consume it. If the relay is down, rows wait and publish when it returns. Ledger Outbox relay Event queue Tier engine Notifier Finance feed post entry + outbox row, one transaction poll new rows miles.posted publish event recalculate tier progress send posting notice journal for liability Relay down: rows wait, then publish in order.
Outbox pattern for ledger events

The entry and its event can never disagree, because they are written together. Consumers are idempotent, so a replay does no harm.

Queueing a posting when the ledger is unavailable A credit fails because the ledger does not answer. The platform retries once, then queues the posting with its evidence, shows the claim as pending and opens a task for the review desk. When the ledger recovers the queue is replayed. Claims agent Tool gateway Ledger Posting queue Review desk post_miles, key K2 post no response unavailable retry once, same key queue posting with evidence task: pending posting recovered: replay queue post, key K2
Queueing a posting when the ledger is unavailable

Nothing is lost and nothing is credited twice. The desk sees exactly what is pending and why.

Identity and access

HopHow it authenticates
Staff to platformSingle sign-on with role-based access
Member to app and webAccount login with step-up for risky actions
Service to AI (artificial intelligence) gatewayProject key for the service and environment
Service to tool gatewayService identity with OpenID Connect; the acting person or rule is passed as a claim
Tool gateway to systemsCredentials held only in the gateway, rotated automatically, over mutual TLS (Transport Layer Security) where supported

Ownership and change

SystemOwnerChange process
Points ledgerLoyalty technologyContract changes follow the versioning rule on the contracts page
Earning, tier and award rulesProgram officeRule changes reviewed, versioned and given an effective date
Consent servicePrivacyChanges tested against the send path
GatewaysPlatform teamConfiguration as code, reviewed

Build this for your business

This example is a loyalty platform for an airline, but the same pattern, deterministic financial rules, a governed gateway, runtime security, consent-aware personalisation and measured quality, fits any program that holds a customer balance and makes offers. We can scope a pilot on your own systems.

Book a discovery call