/
TH
thetrainline
/
Trainline Desktop API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 7h ago · Updated 7h ago
Details
Filter operations
Addresses
2
AppSettings
2
Auth
5
Basket
11
Best Fares
1
Calling Points
1
CE
1
Coaches
2
Confirmation
1
Customer
3
Customer status
2
DiscountCards
2
DPI
2
GTM
1
Insurance
2
Journey Search
5
Locations
1
Passenger Delete
1
Passengers
2
Payment
20
post
/payment/card/new/prepare/v2
post
/payment/zerocharge
post
/payment/onaccount
post
/payment/businessCard
post
/payment/card/saved/prepare
post
/payment/card/update
post
/payment/card/enrol
post
/payment/card/validate-and-confirm
post
/payment/card/confirm
post
/payment/card/save/v2
post
/payment/applepay/create-session
post
/payment/applepay
post
/payment/googlepay
post
/payment/paypal
post
/payment/sofort
post
/payment/satispay
post
/payment/ideal
get
/payment/payment-offers
get
/payment/recommended-currency
get
/checkout
Product
16
Railcard Delete
1
Reactivate smart card
1
RebookPredictions
1
Register smart card
1
Search
1
SearchCustomer
1
Sessions
1
Sessions Data
2
Smart Collectin Location
1
Train Times Fares
1
Travel Card
2
Travel document Delete
1
Travel Service Information
1
post
/discount-card-product/set-vendor-marketing-preference
post
/set-cookies
put
/promo-code
Payment
post
/payment/card/saved/prepare
Request body
object
required
basketId
string
cardCVV
string
required
cardExpirationMonth
number
cardExpirationYear
number
cardId
number
required
confirmationEmails
string[]
required
paymentOfferId
string
required
country
string
postCode
string
city
string
state
string
addressLine1
string
addressLine2
string
addressLine3
string
addressLine4
string
addressLine5
string
insuranceDetails
object
Response
OK
Changes
No recorded changes to this endpoint across all 3 revisions of this API.