{
  "opencollection": "1.0.0",
  "info": {
    "name": "Modern Treasury AccountCapability LedgerAccountSettlement API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "LedgerAccountSettlement",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "patch ledger_account_settlement_entries",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:3000/api/ledger_account_settlements/:id/ledger_entries",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Add ledger entries to a draft ledger account settlement."
        },
        {
          "info": {
            "name": "delete ledger_account_settlement_entries",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:3000/api/ledger_account_settlements/:id/ledger_entries",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Remove ledger entries from a draft ledger account settlement."
        },
        {
          "info": {
            "name": "list ledger_account_settlements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/ledger_account_settlements",
            "params": [
              {
                "name": "after_cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "metadata",
                "value": "",
                "type": "query",
                "description": "For example, if you want to query for records with metadata key `Type` and value `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query parameters."
              },
              {
                "name": "id[]",
                "value": "",
                "type": "query",
                "description": "If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with `id[]=`, for example `?id[]=123&id[]=abc`."
              },
              {
                "name": "settled_ledger_account_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "settlement_entry_direction",
                "value": "",
                "type": "query"
              },
              {
                "name": "ledger_transaction_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "ledger_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "created_at",
                "value": "",
                "type": "query",
                "description": "Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the created at timestamp. For example, for all times after Jan 1 2000 12:00 UTC, use created_at%5Bgt%5D=2000-01-01T12:00:00Z."
              },
              {
                "name": "updated_at",
                "value": "",
                "type": "query",
                "description": "Use `gt` (>), `gte` (>=), `lt` (<), `lte` (<=), or `eq` (=) to filter by the updated at timestamp. For example, for all times after Jan 1 2000 12:00 UTC, use updated_at%5Bgt%5D=2000-01-01T12:00:00Z."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a list of ledger account settlements."
        },
        {
          "info": {
            "name": "create ledger_account_settlement",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:3000/api/ledger_account_settlements",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a ledger account settlement."
        },
        {
          "info": {
            "name": "get ledger_account_settlement",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/ledger_account_settlements/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get details on a single ledger account settlement."
        },
        {
          "info": {
            "name": "update ledger_account_settlement",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://localhost:3000/api/ledger_account_settlements/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update the details of a ledger account settlement."
        }
      ]
    }
  ],
  "bundled": true
}