> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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

<Note>
  **Amounts in this command's output are already in major units** — plain
  decimals with no `decimal_places` field. Display them as-is, do **not**
  divide. See [Money & prices](/concepts/money).
</Note>

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)                                                                                                                                               |         |
| `--user-intent <text>` | No       | the end user's request in their own words, forwarded to Jinko for observability and relevance (avoid PII). Env fallback: JINKO\_USER\_INTENT. JSON: `intent.user_intent`. |         |
