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

# Work with Straddle from your terminal

> Read API resources, automate tasks, and investigate synchronized payment data with the Straddle CLI.

Use the Straddle CLI to inspect payments, call the Pay by Bank and Embed APIs, and answer questions from a local copy of your data.

> [card] [Install and connect the CLI](https://docs.straddle.com/developer-tools/cli/install.md)
>
> Install the CLI, configure your API key and account context, and verify an API read.

## Find the command for your task

Discover payment workflows and inspect their options:

```bash theme={null}
straddle which "reconcile funding" --json
straddle reconcile --help
```

For API operations, inspect the resource's commands with `straddle customers --help`. Coding agents can read the full command description from `straddle agent-context`.

## Choose how to work

> [card] [Configure credentials and context](https://docs.straddle.com/developer-tools/cli/auth-context.md)
>
> Select sandbox or production, your integration type, and an acting account.

> [card] [Use the CLI with agents](https://docs.straddle.com/developer-tools/cli/agent-use.md)
>
> Discover commands, preview requests, and consume JSON output.

> [card] [Synchronize and query data](https://docs.straddle.com/developer-tools/cli/local-data.md)
>
> Prepare a local SQLite store for search, SQL, and payment analysis.

> [card] [Investigate a payment question](https://docs.straddle.com/playbooks/overview.md)
>
> Follow a playbook for payment progress, reconciliation, returns, or charge and payout volume.

In a terminal, resource commands show readable output. Add `--agent` for compact JSON and automation defaults, or `--json` for JSON without changing confirmation behavior. See [output modes](https://docs.straddle.com/developer-tools/cli/agent-use.md#choose-an-output-mode).


## Related topics

- [Choose your tools](https://docs.straddle.com/developer-tools/routing.md)
- [Connect your agent to Straddle](https://docs.straddle.com/developer-tools/mcp/overview.md)
- [Install the Straddle CLI](https://docs.straddle.com/developer-tools/cli/install.md)
- [Build your Straddle integration with AI](https://docs.straddle.com/developer-tools/overview.md)
- [Welcome to Straddle](https://docs.straddle.com/guides/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.