Skip to main content
Use this page when wiring Dollr documentation into ChatGPT, Claude, Cursor, VS Code, or your own RAG pipeline.
The Dollr payment API (https://api.heydollr.app) is separate from the documentation MCP (https://docs.heydollr.app/mcp). MCP only helps AI tools read these docs — it does not execute payments.
ResourceURLUse case
llms.txtdocs.heydollr.app/llms.txtCompact site index + flows for agent context
llms-full.txtdocs.heydollr.app/llms-full.txtEvery doc path with descriptions
OpenAPIapi.heydollr.app/openapi.jsonSchemas, codegen, Postman import
Docs MCPhttps://docs.heydollr.app/mcpRead/search published docs from an MCP client

Copy page Markdown

On any doc page, open the contextual menu (top of page) → Copy page. Paste into your AI chat for questions about that specific guide or API concept. For whole-site context, prefer llms.txt or llms-full.txt over copying many pages manually.

Documentation MCP (read-only)

Mintlify hosts a documentation MCP endpoint for this site. It lets compatible clients search and retrieve Dollr doc content. Endpoint: https://docs.heydollr.app/mcp Use the MCP endpoint URL above in your client config.

Manual setup (Cursor)

Add to your user or project mcp.json:
{
  "mcpServers": {
    "dollr-docs": {
      "url": "https://docs.heydollr.app/mcp"
    }
  }
}
Reload the editor, then ask: “Search Dollr docs for invoice collection flow.”

Manual setup (Claude Desktop)

Add a custom connector or MCP server pointing at https://docs.heydollr.app/mcp per Anthropic’s current MCP documentation.

Manual setup (other clients)

Any MCP client that supports HTTP/SSE remote servers can use the same URL. Refer to your client’s docs for the exact config shape.
Do not put Dollr Client ID or Client Secret into MCP config. API secrets belong only in your backend when calling https://api.heydollr.app.

Mintlify Assistant (built-in)

The docs site includes Mintlify’s Assistant panel on the right (header sparkle icon, Ask AI anchor, or Assistant in the contextual menu). It answers from published Dollr documentation.

One-time setup (Mintlify Dashboard)

  1. Open Mintlify Dashboard → Assistant for the dollr_api_docs project.
  2. Enable the assistant.
  3. Add up to three starter questions (site-wide). Suggested copy — paste into the dashboard:
#Starter question
1How do I collect a mobile money payment in Liberia with the Dollr API?
2What is the difference between Dollr invoices and orders, and when should I use each?
3How do I authenticate and avoid duplicate charges when a payment is PROCESSING?
  1. Optional: set a deflection email (e.g. dev@heydollr.app) when the assistant cannot answer.
  2. Optional: add search domains only if you want the assistant to pull public context outside the docs.
Custom behavior instructions for the assistant live in .mintlify/Assistant.md in the repo (synced on deploy).

On-site behavior (already in repo)

  • Open on load: ?assistant=open plus assets/javascripts/assistant-default-open.js opens the panel by default; readers can close or expand it. Closing once keeps it closed for that browser session.
  • Keyboard shortcut: ⌘I (macOS) / Ctrl+I (Windows).
  • Contextual menu: includes Assistant, Copy page, View, Claude, and ChatGPT.

Ask about the current page

The contextual menu also includes Open in Claude and Open in ChatGPT — they start a conversation with the current page as context. Use those for one-off questions; use llms.txt + MCP for building integrations.

Agent guardrails (summary)

When implementing Dollr for production:
  1. Auth — OAuth client credentials; expires_in is in minutes; refresh before expiry.
  2. Idempotency — Generate UUID v4 reference_id before POST /v1/executions/*; poll status before retrying.
  3. MoMoPROCESSING can last minutes; do not re-execute with a new reference_id during that window.
  4. Secrets — Server-side only; never in mobile apps or browser bundles.
  5. Support payload — Include reference_id, HTTP status, redacted request/response, method, provider, market.
Full checklist: Support · Errors: Knowledge Base
Last modified on May 22, 2026