{
  "opencollection": "1.0.0",
  "info": {
    "name": "Modern Treasury AccountCapability AccountDetail API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "AccountDetail",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list account_details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/:accounts_type/:account_id/account_details",
            "params": [
              {
                "name": "accounts_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the account."
              },
              {
                "name": "after_cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a list of account details for a single internal or external account."
        },
        {
          "info": {
            "name": "create account_detail",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:3000/api/:accounts_type/:account_id/account_details",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accounts_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create an account detail for an external account."
        },
        {
          "info": {
            "name": "get account_detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/:accounts_type/:account_id/account_details/:id",
            "params": [
              {
                "name": "accounts_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the account."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the account detail."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a single account detail for a single internal or external account."
        },
        {
          "info": {
            "name": "delete account_detail",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:3000/api/:accounts_type/:account_id/account_details/:id",
            "params": [
              {
                "name": "accounts_type",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The ID of the account."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the account detail."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a single account detail for an external account."
        }
      ]
    }
  ],
  "bundled": true
}