Modern Treasury · Schema

ledger_account_settlement_create_request

FintechPaymentsACHWiresTreasury

Properties

Name Type Description
description string The description of the ledger account settlement.
status string The status of the ledger account settlement. It is set to `pending` by default. To post a ledger account settlement at creation, use `posted`.
settled_ledger_account_id string The id of the settled ledger account whose ledger entries are queried against, and its balance is reduced as a result.
contra_ledger_account_id string The id of the contra ledger account that sends to or receives funds from the settled ledger account.
allow_either_direction boolean If true, the settlement amount and settlement_entry_direction will bring the settlement ledger account's balance closer to zero, even if the balance is negative.
effective_at_upper_bound string The exclusive upper bound of the effective_at timestamp of the ledger entries to be included in the ledger account settlement. The default value is the created_at timestamp of the ledger account settl
metadata object Additional data represented as key-value pairs. Both the key and value must be strings.
skip_settlement_ledger_transaction boolean It is set to `false` by default. It should be set to `true` when migrating existing settlements.
View JSON Schema on GitHub

JSON Schema

modern-treasury-ledger-account-settlement-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ledger_account_settlement_create_request",
  "title": "ledger_account_settlement_create_request",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "The description of the ledger account settlement.",
      "nullable": true
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "posted",
        "drafting"
      ],
      "description": "The status of the ledger account settlement. It is set to `pending` by default. To post a ledger account settlement at creation, use `posted`.",
      "nullable": true
    },
    "settled_ledger_account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The id of the settled ledger account whose ledger entries are queried against, and its balance is reduced as a result."
    },
    "contra_ledger_account_id": {
      "type": "string",
      "format": "uuid",
      "description": "The id of the contra ledger account that sends to or receives funds from the settled ledger account."
    },
    "allow_either_direction": {
      "type": "boolean",
      "description": "If true, the settlement amount and settlement_entry_direction will bring the settlement ledger account's balance closer to zero, even if the balance is negative.",
      "nullable": true
    },
    "effective_at_upper_bound": {
      "type": "string",
      "format": "date-time",
      "description": "The exclusive upper bound of the effective_at timestamp of the ledger entries to be included in the ledger account settlement. The default value is the created_at timestamp of the ledger account settlement.",
      "nullable": true
    },
    "metadata": {
      "type": "object",
      "description": "Additional data represented as key-value pairs. Both the key and value must be strings.",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key": "value",
        "foo": "bar",
        "modern": "treasury"
      }
    },
    "skip_settlement_ledger_transaction": {
      "type": "boolean",
      "description": "It is set to `false` by default. It should be set to `true` when migrating existing settlements.",
      "nullable": true
    }
  },
  "required": [
    "settled_ledger_account_id",
    "contra_ledger_account_id"
  ]
}

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/modern-treasury-ledger-account-settlement-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.