# Quickstart

> From nothing to a paid sandbox payment in five commands.

```bash
npx talo-hub login                                  # the person authorizes Talo sandbox in the browser; exits by itself when they do
npx talo-hub keys create --name my-shop --scope charge --dotenv .env.local   # the server's key, written straight to the file
npx talo-hub payments create --amount 15000 --external-id order-1001
npx talo-hub sandbox pay <payment_id>
npx talo-hub events list
```

The payment answer has `id`, `status` (PENDING), `cvu`, `alias`, `amount`, `paid` and `refunded` (numbers, 0 at first) and `expires_at`. Show the buyer the CVU or alias with the exact amount. Creating it emits `payment.created`; after the simulated transfer the status is SUCCESS and the events are `payment.updated` and `payment.paid` (`events list --payment <id>` shows only that payment's).

With MCP instead of the CLI: create_payment, simulate_transfer, get_payment, list_events.

To show the payment to a buyer: send them to its `payment_url` (Talo's own page), or render the `<talo-checkout>` widget on your page with the payment's `id` and `checkout_token` (a read-only token for that payment, also in the answer). To sell without a checkout, create a payment link: `npx talo-hub links create --title "Clase de yoga" --amount 15000`. See [checkout](https://talopartnerhub.vercel.app/docs/checkout.md).

---
Human page: https://talopartnerhub.vercel.app/docs · All pages: https://talopartnerhub.vercel.app/docs/index.md
