medianfi-com · Schema

CreateBusinessEventRequest

Business rules (supported event type, resolvable accounts, postable period/account) are enforced by the controller and the resolve-time posting guard, not this schema. Unknown extra keys are allowed.

FinanceBookkeepingArtificial IntelligenceStartupsAccounting

Properties

Name Type Description
idempotencyKey string Optional trimmed client operation key, unique per company. Retain it across retries; use a new key for a new intentional operation. Keyless legacy creates remain separate. Customer creates compare can
eventType string Generator key, e.g. adjusting_entry. Defaults to "custom" when absent.
title string
description stringnull
amountCents integer
eventDate string ISO date (YYYY-MM-DD). Derived from parameters or today when absent.
parameters object Generator parameters (e.g. debitAccount, creditAccount, amount).
allowWithoutJournalEntry boolean Opt into the save-now/fix-later flow — the event saves with metadata.jeGenerationSkipped naming the blocker instead of the request failing with 422.
entityId string
View JSON Schema on GitHub

JSON Schema

medianfi-com-create-business-event-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medianfi-com/json-schema/medianfi-com-create-business-event-request-schema.json",
  "title": "CreateBusinessEventRequest",
  "description": "Business rules (supported event type, resolvable accounts, postable period/account) are enforced by the controller and the resolve-time posting guard, not this schema. Unknown extra keys are allowed.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medianfi-com-business-events-api-openapi.yml#/components/schemas/CreateBusinessEventRequest",
  "type": "object",
  "properties": {
    "idempotencyKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Optional trimmed client operation key, unique per company. Retain it across retries; use a new key for a new intentional operation. Keyless legacy creates remain separate. Customer creates compare canonical request values (object key order ignored) and bind the authorized primary entity; unfinished creates require review and cannot be retried as new postings."
    },
    "eventType": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Generator key, e.g. adjusting_entry. Defaults to \"custom\" when absent."
    },
    "title": {
      "type": "string",
      "maxLength": 300
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 5000
    },
    "amountCents": {
      "type": "integer"
    },
    "eventDate": {
      "type": "string",
      "description": "ISO date (YYYY-MM-DD). Derived from parameters or today when absent."
    },
    "parameters": {
      "type": "object",
      "additionalProperties": true,
      "description": "Generator parameters (e.g. debitAccount, creditAccount, amount)."
    },
    "allowWithoutJournalEntry": {
      "type": "boolean",
      "description": "Opt into the save-now/fix-later flow — the event saves with metadata.jeGenerationSkipped naming the blocker instead of the request failing with 422.\n"
    },
    "entityId": {
      "type": "string",
      "format": "uuid"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/medianfi-com-create-business-event-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.