# Payman Connect - [Payman Connect](https://paymanai.mintlify.app/introduction.md): Money tasks, run against real accounts, with the owner's approval. - [Try it](https://paymanai.mintlify.app/try-it.md): The customer's side of Connect, running. - [MCP server](https://paymanai.mintlify.app/mcp-server.md): Payman in Claude, ChatGPT, Grok or Cursor, against your own accounts. - [Quickstart](https://paymanai.mintlify.app/quickstart.md): One secret, one mount, one call. - [Next.js](https://paymanai.mintlify.app/nextjs.md): The three Payman routes on the App Router. - [Any framework](https://paymanai.mintlify.app/frameworks.md): Web-standard handlers for Hono, SvelteKit, Remix, Bun, Deno - [The connection](https://paymanai.mintlify.app/build/how-it-works.md): Consent, the held question, and the automatic replay. - [The Wallet](https://paymanai.mintlify.app/build/wallet.md): One customer, one or more connected accounts. - [Actions](https://paymanai.mintlify.app/build/actions.md): Run an instruction, handle one of four results. - [Structured financial data](https://paymanai.mintlify.app/build/financial-data.md): Read accounts, balances, and transaction records through the SDK, MCP, or HTTP API. - [Add it as a tool](https://paymanai.mintlify.app/build/tool-integration.md): One tool in the model loop you already run. - [Approvals](https://paymanai.mintlify.app/build/approvals.md): Render payment approvals and receipts - [Keys and environments](https://paymanai.mintlify.app/reference/keys.md): One secret, two environments, how credentials end. - [Providers](https://paymanai.mintlify.app/reference/providers.md): What a customer can connect, and what each one can do. - [The wire protocol](https://paymanai.mintlify.app/reference/http-api.md): The HTTP contract underneath the SDK - [Security rules](https://paymanai.mintlify.app/reference/security-rules.md): What the SDK enforces and what stays yours. - [Limits and errors](https://paymanai.mintlify.app/reference/limits-and-errors.md): Lifetimes, rate-limit keying, every error code. - [Example app](https://paymanai.mintlify.app/reference/example-app.md): The whole pattern, as one small readable app. - [Exchange an authorization code for a grant token](https://paymanai.mintlify.app/api-reference/connect/exchange-an-authorization-code-for-a-grant-token.md): Server to server, authenticated by the app key alone — there is no grant yet, and minting one is the point. The key decides only *which app is asking*; whether anything is minted at all was decided by a person at authorize time and is carried entirely by the code. - [Read your own registration with your app key](https://paymanai.mintlify.app/api-reference/connect/read-your-own-registration-with-your-app-key.md): The self-read: the app's own registration, answered to the credential the app already holds. Registration metadata only — the values the developer registered, plus the console origin and endpoint paths an SDK needs to run the whole handshake without being separately configured with any of them. - [Send a message to the granted deployment and wait for the answer](https://paymanai.mintlify.app/api-reference/connect/send-a-message-to-the-granted-deployment-and-wait-for-the-answer.md): Payman Connect resolves the grant to its one deployment, attaches that deployment's key and configuration, forwards the message, and returns what the agent said. - [Send a message to the granted deployment and stream the answer](https://paymanai.mintlify.app/api-reference/connect/send-a-message-to-the-granted-deployment-and-stream-the-answer.md): The streaming form of `connectInteract`, relayed through the same proxy: the customer's agent's NDJSON verbatim, one JSON object per line. Anything that can fail cheaply fails before the first byte, so an early failure is still a normal JSON error; a mid-stream failure arrives as one final `StreamEr… - [Answer a run that stopped to ask something](https://paymanai.mintlify.app/api-reference/connect/answer-a-run-that-stopped-to-ask-something.md): A money tool can stop a run to ask a question — which recipient, confirm this transfer — and the run blocks until it is answered. The answer goes back over the runtime's api-key surface, which the caller must never hold, so it is proxied here. No deployment segment in the path: the grant names the d… - [List consented connections for structured reads](https://paymanai.mintlify.app/api-reference/connect/list-consented-connections-for-structured-reads.md): Requires financial_data:read and CONNECT_STRUCTURED_READS. Provider capability metadata does not check current bank health or configured runtime tools. - [Start a durable account read](https://paymanai.mintlify.app/api-reference/connect/start-a-durable-account-read.md): Available only when CONNECT_STRUCTURED_READS is enabled. Queue an explicitly read-only operation for one authorized connection. A new requestId creates a fresh read; repeating it joins the same job. Requires financial_data:read. Snapshot transactions require a date window of at most 94 days inclusiv… - [Retrieve saved read progress or export its rows](https://paymanai.mintlify.app/api-reference/connect/retrieve-saved-read-progress-or-export-its-rows.md): Retrieves only this grant's unexpired job, with authorization checked again. No new bank request is made. JSON contains state, pages, nextCursor, rowsComplete, fetchedAt, intent (null when not supplied), and an error or partial-result reason when applicable. - [Ask whether the account owner has approved a frozen operation yet](https://paymanai.mintlify.app/api-reference/connect/ask-whether-the-account-owner-has-approved-a-frozen-operation-yet.md): A state and a clock, for the app that is waiting. - [The canonical payman_money_task tool definition](https://paymanai.mintlify.app/api-reference/connect/the-canonical-payman_money_task-tool-definition.md): The exact object a developer pastes into their agent's `tools` array, plus the four documented result shapes and the wire conditions that produce them. ## OpenAPI Specs - [openapi](/api-reference/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.