{
  "name": "DePix App",
  "description": "Non-custodial Pix payment gateway on the Liquid Network. Agents can accept Pix payments (checkouts, products and dated charges), on-ramp BRL to DePix and off-ramp DePix to Pix via REST API. DePix is the BRL stablecoin; DePix App is the gateway service.",
  "version": "0.5.2",
  "updated": "2026-09-03",
  "urls": {
    "website": "https://depixapp.com",
    "docs_html": "https://depixapp.com/docs/en/",
    "docs_markdown": "https://depixapp.com/docs.md",
    "openapi": "https://depixapp.com/openapi.json",
    "llms_txt": "https://depixapp.com/llms.txt",
    "api_base": "https://api.depixapp.com",
    "mcp_repo": "https://github.com/depixapp/depix-mcp",
    "api_base_note": "Every documented path already carries its own /api/ prefix, e.g. https://api.depixapp.com/api/checkouts. Do not append /api to this base.",
    "fees": "https://depixapp.com/en/#landing-fees"
  },
  "auth": {
    "type": "api_key",
    "scheme": "bearer",
    "header": "Authorization: Bearer <key>",
    "key_formats": [
      "sk_test_ (sandbox, self-serve)",
      "sk_live_ (production, requires approval)"
    ],
    "scopes": [
      "merchant_read",
      "merchant_write",
      "wallet_read",
      "wallet_write"
    ],
    "scope_families": {
      "merchant_*": "Merchant/gateway side — read checkouts, products, charges and account (merchant_read); create checkouts and CRUD products/charges (merchant_write). A charge is a product with kind='charge': a payment link with a due date and optional late fees, listed only with kind=charge.",
      "wallet_*": "Wallet side — read deposit/withdrawal status (wallet_read); move money via on/off-ramp Pix (wallet_write). Never granted by default."
    },
    "how_to_obtain": "Two paths. Human merchants: create an account at https://depixapp.com/app/ (a Google or GitHub sign-in creates it), open a merchant profile, then create keys in the API Keys area (sandbox keys are immediate). Agent accounts: self-onboard with no email and no dashboard — generate an Ed25519 keypair and call POST /api/agents/register signing the request with it, passing an operator op_… token (a human gets it by connecting a GitHub/Google identity at https://api.depixapp.com/api/agents/oauth/start; the same token is shown again on every visit, so losing it costs nothing); a sandbox key and a wallet-only starter live key are auto-issued in the registration response. Running `npx -y @depixapp/mcp` locally, the register_account tool does all of this in-process and stores the keys encrypted on that machine. See agent_onboarding below and https://depixapp.com/docs/en/#agents."
  },
  "capabilities": [
    "create_checkout",
    "get_checkout",
    "list_checkouts",
    "simulate_payment_sandbox",
    "create_product",
    "list_products",
    "deposit_pix_to_depix",
    "withdraw_depix_to_pix",
    "signed_webhooks"
  ],
  "constraints": {
    "custody": "non-custodial — the API never holds funds or private keys; signing is client-side",
    "amounts": "integer BRL cents",
    "payer_tax_number": "CPF/CNPJ of the PAYER is required on money-moving endpoints (deposit and checkout); a missing value returns 400 tax_number_required.",
    "idempotency": "Idempotency-Key header supported on POST /api/deposit, /api/withdraw, /api/checkouts",
    "rate_limits": "per-IP, per-user, per-merchant and optional per-key; 429 with Retry-After",
    "webhooks": "HMAC-signed; checkout.* for all merchants, deposit.*/withdraw.* for API-key operations; status can also be polled",
    "fees": "Deducted from the amount — the DePix credited and the Pix paid out are NET. Deposit 2% + R$ 0,99; withdrawal 1% + R$ 1,00 up to R$ 100,00 and 2% above it. Current rates and worked examples: https://depixapp.com/en/#landing-fees",
    "depix_asset_id": "02f22f8d9c76ab41661a2729e4752e2c5d1a263012141b86ea98af5472df5189 (Liquid mainnet, 8 decimals, 1 DePix = 1 BRL)"
  },
  "agent_sdk": {
    "name": "@depixapp/sdk",
    "role": "engine lineage / code-level SDK — NOT the primary agent surface",
    "summary": "The code-level lineage of the same wallet engine that powers the 29 `wallet_*` tools inside `@depixapp/mcp`. Non-custodial Liquid-Network wallet SDK for autonomous agents: wallet-first, intent-based API — create/restore a wallet from a seed the agent controls, then convert(), quote(), send(), receive(), deposit() and withdraw() across assets and networks, with routing, settlement and crash-recovery built in. Reach for it when YOU are writing the code; when an AGENT is driving, connect `@depixapp/mcp` instead (see the `mcp` block) — that is the successor public surface.",
    "language": "TypeScript (ESM, Node >= 22.4)",
    "license": "AGPL-3.0-only",
    "custody": "non-custodial — the seed never leaves the agent; all signing is client-side",
    "capabilities": [
      "convert",
      "quote",
      "deposit_pix_to_depix",
      "withdraw_depix_to_pix",
      "send",
      "receive",
      "lightning_pay",
      "lightning_receive",
      "stablecoin_cross_network",
      "guardrails",
      "diagnostics",
      "recover"
    ],
    "mcp_server": "Do NOT run this package as an MCP server. The wallet tools (wallet_convert, wallet_quote, wallet_send, …) ship inside `@depixapp/mcp` — run `npx -y @depixapp/mcp` (stdio, 62 tools, first run `npx -y @depixapp/mcp init`). See the `mcp` block.",
    "install": "npm install @depixapp/sdk",
    "npm": "https://www.npmjs.com/package/@depixapp/sdk",
    "manifest_note": "AGENTS.md (the start-here guide for agents — routing table, units, examples) ships inside the npm tarball.",
    "version": "1.2.2",
    "relationship": "Same engine, two surfaces. `@depixapp/mcp` (Apache-2.0) is the agent-facing surface and the one to reach for; this SDK is the code-level lineage of its wallet engine and stays published for code-first integrations. This REST API is the Pix on/off-ramp and merchant side that both consume.",
    "lightning": "lightning_pay / lightning_receive settle through Boltz swaps; DePix itself is not issued on Lightning."
  },
  "contact": {
    "security": "https://depixapp.com/.well-known/security.txt",
    "support": "https://depixapp.com/app/"
  },
  "mcp": {
    "product": "@depixapp/mcp",
    "license": "Apache-2.0",
    "npm": "https://www.npmjs.com/package/@depixapp/mcp",
    "repo": "https://github.com/depixapp/depix-mcp",
    "registry_id": "io.github.depixapp/depix-mcp",
    "summary": "ONE MCP server with TWO levels of access — not two products. `@depixapp/mcp` registers 62 tools. Connected to the DePix App-hosted endpoint it exposes the keyless 26 (receive side). Run by the operator over stdio with a seed, the same package exposes all 62 — the extra 36 being the 29 `wallet_*` tools that hold, sign and move funds plus 7 agent-local tools (register_account, agent_status, verify_domain, configure_depix_rail, activate_key, create_key, revoke_key) that self-onboard the account on this machine, toggle its DePix direct rail, switch it to live and mint or revoke its keys. The split is custody, not features withheld: signing happens in-process, so whichever process runs a wallet tool IS the seed holder, and DePix App holds no seeds.",
    "levels": [
      "1 — hosted (mcp.depixapp.com, keyless, 26 tools, receive)",
      "2 — local (npx -y @depixapp/mcp, operator's seed, 62 tools, full wallet)"
    ],
    "gateway": {
      "level": 1,
      "deployment": "DePix App-hosted",
      "package": "@depixapp/mcp",
      "hosted_url": "https://mcp.depixapp.com/mcp",
      "transport": "MCP Streamable HTTP (stateless)",
      "auth": "OAuth 2.1 connector (claude.ai / ChatGPT — capped to read + merchant scopes) or `Authorization: Bearer sk_test_…|sk_live_…`. The key is forwarded verbatim per request and never stored.",
      "tool_count": 26,
      "tool_count_merchant": 20,
      "tool_count_support": 6,
      "summary": "Twenty-six tools over this REST API. Twenty are merchant side — this server reads and creates checkouts and products but never creates deposits or withdrawals, so it cannot move funds on its own. The other six are support-ticket tools (open, get, list, reply, close a support ticket, and attach a file to one). This deployment holds no seed, so the 29 `wallet_*` tools are structurally absent from it, and so are the 7 agent-local tools (the hosted catalog never offers account registration)."
    },
    "wallet": {
      "level": 2,
      "deployment": "operator-run (local stdio)",
      "package": "@depixapp/mcp",
      "command": "npx -y @depixapp/mcp",
      "binary": "depix-mcp",
      "transport": "stdio",
      "init_command": "npx -y @depixapp/mcp init",
      "tool_count_full": 62,
      "tool_count_wallet": 29,
      "tool_count_local": 7,
      "environment_variables": {
        "DEPIX_API_KEY": "required for the 26 gateway tools — sk_test_ / sk_live_.",
        "DEPIX_WALLET_PASSPHRASE": "unlocks the seed created by `init` for the 29 wallet tools. Usually unnecessary — `init` stores the unlock key in the OS keychain — but still honoured when set. With no wallet at all, the wallet tools stay listed and return a typed `wallet_not_configured` error naming `npx -y @depixapp/mcp init`.",
        "DEPIX_WALLET_DIR": "optional — where the encrypted wallet lives; defaults to the per-user data directory."
      },
      "first_run": "`npx -y @depixapp/mcp init` — a TTY-only human ceremony that creates or restores the wallet, sets the spending guardrails, and registers the server with the AI hosts found on that machine, so no `mcpServers` block has to be pasted by hand (printing one is the fallback). It asks for no API key and never writes the passphrase into a host config: the OS keychain holds the unlock key, and the agent opens its own account later with `register_account`. Seed creation is deliberately NOT an MCP tool: the mnemonic must never transit model context or conversation logs.",
      "transport_safety": "stdio is the only default-safe transport for this level. The server loads the seed process-wide and carries no auth of its own; exposing it over HTTP without operator-provided auth + network isolation lets anyone who reaches the port drain the wallet.",
      "summary": "The same server, run where the agent lives, holding the operator's seed. Adds 29 `wallet_*` tools (balances, addresses, Pix on/off-ramp, send, convert, Lightning, gift cards, guardrails, recovery, utxos, sync) that MOVE FUNDS, signed in-process on the operator's machine, plus 7 agent-local tools (register_account, agent_status, verify_domain, configure_depix_rail, activate_key, create_key, revoke_key) for 62 total. Non-custodial: the seed never leaves it."
    }
  },
  "agent_onboarding": {
    "summary": "Agents can self-onboard via /api/agents/* instead of a human creating keys in the dashboard.",
    "auth": "Per-request Ed25519 signature over the agent's own keypair, plus an operator token (op_…) a human gets by connecting an identity at https://api.depixapp.com/api/agents/oauth/start. That page shows the SAME token on every visit, so it is not a show-once secret to hoard — a lost one is recovered by signing in again.",
    "status_endpoint": "GET /api/agents/status — account status, graduation progress and the read-only `pacing` limits, so the agent can pace itself instead of discovering caps through 4xx.",
    "docs": "https://depixapp.com/docs/en/"
  }
}
