Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
ChangelogThe affiliate on a partner-host trip

2026-11-17 — The affiliate on a partner-host trip

A booking on a partner booking host records the partner affiliate the guest came through (#8821 ). Nothing existing changes.

Added — CreateTripPaymentIntentInput.affiliateToken

  • The partner booking host’s website server mints it beside bookingSurfaceToken. It carries the affiliate link (?aff=<code> and its utm_* values) the visit arrived through.
  • A token that does not verify, a click older than 30 days, or a code that is not an active affiliate of the host’s partner stamps nothing. It never refuses the checkout.
  • With no valid link, a redeemed promo code that an affiliate owns stamps that affiliate.

Added — tripAffiliateAttribution(tripId)

  • The affiliate, its source (LINK or PROMO_CODE), the click time, the utm_* values and the redeemed promo code of one trip.
  • AKIN staff for any trip, a partner admin for its own partner’s trips, and a property admin for a trip with one of its own properties.
  • A partner API key is refused.

Not changed

  • ?ref= stays the member referral.
  • No affiliate is written into a PMS reservation
Last updated on