Skip to main content
Turn a finalized trip into a checkout link the user can pay through. Use it once the trip is set and traveler details are filled in, for example after the user picks a Paris to Tokyo round trip and adds a hotel for the stay. The returned URL is what the user opens in a browser to complete payment.

Usage

jinko book [options]

Options

FlagRequiredDescriptionDefault
--trip-id <id>Yestrip ID (from trip command)

Examples

# Schedule checkout, get the Stripe URL
jinko book --trip-id 42
# → { "checkout_url": "https://app.gojinko.com/checkout?sid=..." }
Open the checkout_url in a browser. Stripe webhooks fulfill the booking, no confirm step needed.