Skip to main content
Glama
eliaskress

FlowCheck Financial API MCP Server

by eliaskress

flowcheck_create_webhook

Register HTTPS webhooks to receive real-time notifications for financial events like payouts, refunds, and balance changes, with HMAC-SHA256 verification for security.

Instructions

Register a new HTTPS webhook endpoint. Returns a signing secret for HMAC-SHA256 verification. Available events: payout.matched, payout.discrepancy, payout.missing, refund.detected, balance.threshold

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesHTTPS webhook URL you own
eventsYesEvents to subscribe to

Implementation Reference

  • The handler function for the flowcheck_create_webhook tool.
    async ({ url, events }) => {
      const result = await client.request("POST", "/webhooks", {
        body: { url, events },
      });
      return { content: [{ type: "text" as const, text: result }] };
    },
  • The input schema defining the required parameters (url and events) for the flowcheck_create_webhook tool.
    inputSchema: z.object({
      url: z
        .string()
        .url()
        .describe("HTTPS webhook URL you own"),
      events: z
        .array(
          z.enum([
            "payout.matched",
            "payout.discrepancy",
            "payout.missing",
            "refund.detected",
            "balance.threshold",
          ]),
        )
        .describe("Events to subscribe to"),
    }),
  • The registration of the flowcheck_create_webhook tool using the MCP server.
    server.registerTool(
      "flowcheck_create_webhook",
      {
        title: "Create Webhook",
        description:
          "Register a new HTTPS webhook endpoint. " +
          "Returns a signing secret for HMAC-SHA256 verification. " +
          "Available events: payout.matched, payout.discrepancy, " +
          "payout.missing, refund.detected, balance.threshold",
        inputSchema: z.object({
          url: z
            .string()
            .url()
            .describe("HTTPS webhook URL you own"),
          events: z
            .array(
              z.enum([
                "payout.matched",
                "payout.discrepancy",
                "payout.missing",
                "refund.detected",
                "balance.threshold",
              ]),
            )
            .describe("Events to subscribe to"),
        }),
      },
      async ({ url, events }) => {
        const result = await client.request("POST", "/webhooks", {
          body: { url, events },
        });
        return { content: [{ type: "text" as const, text: result }] };
      },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eliaskress/flow-check-financial-api-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server