{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chimoney Account SubAccount API",
    "version": "0.2.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "SubAccount",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a new sub-account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chimoney.io/v0.2/sub-account/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new sub-account."
        },
        {
          "info": {
            "name": "Get details of an existing sub account.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chimoney.io/v0.2/sub-account/get",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Sub account ID."
              },
              {
                "name": "communityID",
                "value": "",
                "type": "query",
                "description": "Community ID."
              }
            ]
          },
          "docs": "Get details of an existing sub account."
        },
        {
          "info": {
            "name": "Get all sub-accounts associated with a user.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chimoney.io/v0.2/sub-account/list"
          },
          "docs": "Get all sub-accounts associated with a user."
        },
        {
          "info": {
            "name": "Update a sub-account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chimoney.io/v0.2/sub-account/update",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a sub-account."
        },
        {
          "info": {
            "name": "Delete an existing sub-account.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.chimoney.io/v0.2/sub-account/delete",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Sub account ID."
              }
            ]
          },
          "docs": "Delete an existing sub-account."
        },
        {
          "info": {
            "name": "Create a sub-account community associated with a user.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chimoney.io/v0.2/sub-account/community/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a sub-account community associated with a user."
        },
        {
          "info": {
            "name": "Get community members .",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chimoney.io/v0.2/sub-account/community/members",
            "params": [
              {
                "name": "communityID",
                "value": "",
                "type": "query",
                "description": "Community ID"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "maximum number of users to return - default is 50"
              },
              {
                "name": "startAfterId",
                "value": "",
                "type": "query",
                "description": "ID of the last User Data retrieved - important for retrieivng subsequent pages"
              },
              {
                "name": "startBeforeId",
                "value": "",
                "type": "query",
                "description": "ID of the first User Data retrieved - important for retrieivng previous pages"
              }
            ]
          },
          "docs": "Get community members ."
        }
      ]
    }
  ],
  "bundled": true
}