Modern Treasury · Schema

ledger_create_request

FintechPaymentsACHWiresTreasury

Properties

Name Type Description
name string The name of the ledger.
description string An optional free-form description for internal use.
metadata object Additional data represented as key-value pairs. Both the key and value must be strings.
View JSON Schema on GitHub

JSON Schema

modern-treasury-ledger-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ledger_create_request",
  "title": "ledger_create_request",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the ledger."
    },
    "description": {
      "type": "string",
      "description": "An optional free-form description for internal use.",
      "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"
      }
    }
  },
  "required": [
    "name"
  ]
}