> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dev.gojinko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# jinko checkout

> Checkout a trip — returns a checkout URL the user opens to pay, plus agent payment params

Finalize a finalized trip. 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 response carries two payment paths: `checkout_url` is what a human opens in a browser to pay, and `agent_spt_params` (max amount, currency, profile) is what an agent uses to mint a Shared Payment Token and pay programmatically via `agent-pay submit`.

## Usage

```bash theme={null}
jinko checkout [options]
```

## Options

| Flag             | Required | Description                 | Default |
| ---------------- | -------- | --------------------------- | ------- |
| `--trip-id <id>` | Yes      | trip ID (from trip command) |         |
