{
  "resource": "https://back.p2p-flowie.com/exchange",
  "resource_name": "Flowie Exchange API",
  "authorization_servers": [
    "https://back.p2p-flowie.com/exchange",
    "https://login.flowie.me"
  ],
  "bearer_methods_supported": ["header"],
  "resource_documentation": "https://docs.get-flowie.com/reference",
  "x_flowie": {
    "description": "The Flowie Exchange API accepts a Bearer token in the Authorization header: an OAuth access token from the https://back.p2p-flowie.com/exchange authorization server (sign-in with the normal Flowie login, SSO included; dynamic client registration and PKCE S256 supported), or an Exchange API key (flw_live_… in production, flw_test_… for sandbox) for integrations. AI assistants should connect through MCP and sign in, no API key needed: see https://docs.get-flowie.com/mcp.md.",
    "authorization_server_metadata": "https://back.p2p-flowie.com/exchange/.well-known/oauth-authorization-server",
    "registration_endpoint": "https://back.p2p-flowie.com/exchange/v1/oauth/register",
    "dynamic_client_registration_supported": true,
    "mcp_servers": {
      "app": {
        "description": "The Flowie app as an MCP server, acting as the signed-in user. OAuth sign-in only. What a person using Flowie through an AI assistant wants.",
        "production": "https://back.p2p-flowie.com/agent-hub/mcp",
        "staging": "https://back.flowie.ink/agent-hub/mcp"
      },
      "api": {
        "description": "The Exchange API (e-invoicing) as tools, for integrations. OAuth sign-in or an API key.",
        "production": "https://back.p2p-flowie.com/exchange/mcp",
        "staging": "https://back.flowie.ink/exchange/mcp"
      },
      "setup": "https://docs.get-flowie.com/mcp.md"
    },
    "sandbox_resource": "https://back.flowie.ink/exchange",
    "sandbox_authorization_servers": [
      "https://back.flowie.ink/exchange",
      "https://login.flowieapp.io"
    ],
    "sandbox_key_endpoint": "https://back.flowie.ink/exchange/v1/sandbox/bootstrap",
    "api_key_prefixes": ["flw_live_", "flw_plat_live_", "flw_wl_live_", "flw_test_"],
    "token_formats_supported": ["oauth_access_token", "api_key", "jwt"],
    "auth_guide": "https://get-flowie.com/auth.md",
    "openapi": "https://get-flowie.com/openapi.json",
    "contact": "https://get-flowie.com/contact"
  }
}
