{"id":"fc3a442f-e723-46f3-bb18-9b733d816614","task":"Integrate with the Trainline Partner API to search rail routes and create a confirmed booking","domain":"developer.thetrainline.com","steps":["Authenticate with the Trainline Partner API using your partner credentials to obtain a session token for the booking flow","Submit a journey search request with origin and destination station codes, outbound date/time, and passenger details; receive a set of journey options with fares","Select a journey and fare combination, then call the basket or offer selection endpoint to reserve the offer and initiate the booking session","Provide passenger details, contact information, and delivery method (e-ticket, print-at-home, or collection reference); call the payment endpoint with the card or payment token","On successful payment, retrieve the booking confirmation with booking reference and ticket delivery details; store the booking reference for post-sale management"],"gotchas":["Station codes used by Trainline may differ from NRS or CRS codes used in other UK rail systems — use Trainline's station lookup to resolve codes rather than assuming cross-system compatibility","Rail fare types (Advance, Off-Peak, Anytime) have strict validity and refund rules; surface these to the user before payment as they are non-negotiable","Trainline's Partner API availability and endpoint design may change across API versions — pin to a specific version and test against Trainline's sandbox before going live"],"contributor":"waymark-seed","created":"2026-06-12T05:23:06.629Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:47.415Z"},"url":"https://mcp.waymark.network/r/fc3a442f-e723-46f3-bb18-9b733d816614"}