Post-Booking Fraud: Re-Scoring Travel Reservations When They Change

2026-12-01来源 dev.toEnglish

Most fraud pipelines score a transaction once, at authorization, and then never look at it again. For a physical product that ships within a day, that is mostly fine. The order is effectively frozen once it leaves the warehouse.

A travel booking is different. It can be modified repeatedly for weeks or months before it is used. The passenger name, the dates, the route, and the contact email can all change after the payment cleared. A fraudster who knows this can book early, when nothing looks urgent, pass checkout screening, and make the change that actually matters later.

This article covers how to treat that window as its own detection problem: how to model the changes, which features matter, what actions you can still take, and how to test the system. For the wider picture of how this fits alongside account, login, checkout, and post-trip controls, see Travel Fraud: How Fraud in the Travel Industry Hits OTAs and Travel Sellers.

Why a Checkout Score Goes Stale

A checkout score is a snapshot. It describes the booking as it existed at the moment of authorization. Every modification after that moment invalidates part of what the model saw.

Consider what a checkout model typically weighs:

  • Lead time (booking date to departure)
  • Relationship between cardholder and traveller name
  • Device, IP, and session history
  • Order value

A booking made 90 days out for a traveller who shares the cardholder's surname scores low on all of these. If, 48 hours before departure, the contact email changes and then the traveller changes to an unrelated name, the risk profile is now completely different. The original score still says "low risk," because nothing recomputed it.

Model the Booking as an Event Stream

The first implementation step is structural. Stop treating the booking as a row that gets updated in place. Treat it as an initial state plus an append-only log of changes.

Useful event types:

Event Typical source Risk relevance
booking.created Checkout Baseline snapshot
contact.email_changed Account / manage-booking page Often precedes takeover of the booking
contact.phone_changed Account / manage-booking page Same
traveller.name_changed Manage-booking, call center High, especially late
itinerary.date_changed Manage-booking, supplier sync Medium
itinerary.route_changed Manage-booking Medium to high
itinerary.schedule_change Supplier (airline-initiated) Usually low; not user-driven
checkin.completed Supplier sync Marks loss of easy reversibility

Two fields on every event matter as much as the change itself:

  • actor: customer self-service, call-center agent, supplier, or internal system
  • context: device ID, IP, session ID, authentication strength of the session that made the change

Keep the original booking.created snapshot immutable. You need it for diffing now and as dispute evidence later.

Compute Features on the Delta, Not the Booking

Don't re-run your checkout model on the modified booking. Its features were designed for a purchase decision, and "lead time" means something different when the booking was made 90 days ago but the name changed yesterday.

Instead, build a small change-risk model (rules first, ML later) on features like these:

  • Field changed and how significant it is (a one-letter name correction vs. an entirely new surname)
  • Hours to departure at time of change
  • Days since booking at time of change (long dormancy followed by a change is a pattern worth weighting)
  • Device/session continuity: is the change coming from the same device that booked?
  • Sequence: did a contact change happen shortly before a traveller change?
  • Change count on this booking and across bookings on the same card or account
  • Actor: self-service changes after a fresh login from a new device deserve more scrutiny than supplier-initiated schedule changes

Here is a minimal rules-based scorer in Python:

from dataclasses import dataclass from datetime import datetime @dataclass class ChangeEvent: booking_id: str kind: str # e.g. "traveller.name_changed" actor: str # "customer" | "agent" | "supplier" | "system" device_id: str | None occurred_at: datetime def name_similarity(a: str, b: str) -> float: # Placeholder: use a proper string-distance function in production a, b = a.lower().strip(), b.lower().strip() return 1.0 if a == b else (0.8 if a.split()[-1] == b.split()[-1] else 0.0) def score_change(event, booking, history) -> int: if event.actor == "supplier" and event.kind == "itinerary.schedule_change": return 0 # airline-initiated; not a customer signal score = 0 hours_to_departure = (booking.departure_at - event.occurred_at).total_seconds() / 3600 days_since_booking = (event.occurred_at - booking.created_at).days if event.kind == "traveller.name_changed": sim = name_similarity(booking.original_traveller, booking.current_traveller) score += 10 if sim < 0.5 else 2 if sim < 0.5 and not surname_matches(booking.cardholder, booking.current_traveller): score += 10 if event.kind in ("contact.email_changed", "contact.phone_changed"): score += 8 if hours_to_departure < 72: score += 10 if days_since_booking > 30: score += 5 # dormant booking suddenly modified if event.device_id and event.device_id != booking.created_device_id: score += 8 recent_contact_change = any( h.kind.startswith("contact.") and (event.occurred_at - h.occurred_at).total_seconds() < 24 * 3600 for h in history ) if event.kind == "traveller.name_changed" and recent_contact_change: score += 15 # classic sequence: take control, then repoint the booking return score 

The weights here are illustrative. Calibrate them against your own labeled history (see Testing below).

Decide What You Can Still Do

The hard constraint in travel is reversibility. Your options shrink as departure approaches, and they shrink sharply after check-in, because cancelling a checked-in passenger may depend on the airline rather than on you.

A decision table keeps the response consistent:

Score band > 7 days to departure 1–7 days < 24h or checked in
Low Allow, log Allow, log Allow, log
Medium Allow, queue for review Step-up verification of the cardholder Manual review, priority queue
High Hold change pending verification Block change, contact original cardholder Escalate to supplier, preserve evidence

A few implementation notes:

  • Gate the change, not just the booking. For high scores, the cleanest action is to refuse or hold the modification itself, leaving the original, already-screened booking intact.
  • Verify through the original channel. Send verification to the contact details captured at booking.created, not the newly changed ones. Otherwise you are confirming with the fraudster.
  • Watch the void window. Many ticketing systems allow a ticket to be voided cheaply for a short period after issue; after that, reversal becomes a refund or exchange with supplier rules attached. Route high-risk changes early enough to use it where possible.

Worked Example

A timeline from a single booking:

  1. Day 0: Flight booked 75 days before departure. Traveller surname matches cardholder. Device D1. Checkout score: low.
  2. Day 73, 21:10: Login from new device D2. Email changed.
  3. Day 73, 21:25: Traveller name changed to an unrelated name, from D2.

Scoring the name change with the function above:

  • New name, low similarity: +10
  • Surname no longer matches cardholder: +10
  • Under 72 hours to departure: +10
  • Booking dormant over 30 days: +5
  • Different device from booking: +8
  • Contact change within 24h prior: +15

Total: 58, which lands in the High band with roughly 50 hours left, so the 1–7 day column applies. The change is blocked and the original cardholder is contacted at the email captured on Day 0. Viewed individually, each event looks unremarkable. The sequence is what gives it away.

Common Mistakes

Overwriting the original record. If the booking table is updated in place, you lose both the diff and the dispute evidence. Use an event log or temporal table.

Treating supplier events as customer actions. Airline schedule changes and disruption rebookings generate date and route changes the customer never initiated. Tag the actor or you will flood reviewers during every storm.

Missing changes made outside your system. A traveller or fraudster may contact the airline or hotel directly. If you only score changes made through your own UI, you need a supplier sync (PNR polling or supplier notifications) that emits the same events.

Non-idempotent event handling. Supplier feeds often deliver duplicates. Key events by a stable identifier so a repeated traveller.name_changed doesn't double the score or trigger two customer contacts.

Ignoring the call center. Agent-initiated changes frequently bypass the self-service rules. Route them through the same scorer, and record the agent ID as the actor.

Product-blind rules. Name changes mean different things across products. Many airlines permit only minor name corrections, while hotel and rental bookings often allow the guest name to change freely. Score per product type.

Testing the System

  • Replay historic bookings. Reconstruct event logs for past bookings, run the scorer, and join the output against later fraud chargebacks. Measure how many fraud cases would have been flagged and how many good bookings would have hit friction.
  • Synthetic sequences. Write unit tests for known patterns: contact-then-name changes, dormant-then-modified bookings, and supplier schedule changes that should score zero.
  • Shadow mode first. Log scores and would-be actions without enforcing them for a few weeks before switching on blocks.
  • Track friction separately. Count step-up challenges and blocked changes on bookings that were later travelled without dispute. That is your false-positive cost.

Where This Fits

Re-scoring changes doesn't replace checkout screening, and it does nothing against a genuine traveller who disputes a trip after taking it. What it covers is the specific gap between a clean purchase and departure. The event log you build for it also pays off later. When a dispute arrives, you already have an immutable record of who booked, who changed what, from which device, and who actually travelled.

原文:https://www.a8q9.cn/en/article/post-booking-fraud-re-scoring-travel-reservations-when-they-change-cdab34.html

相关文章