{
  "opencollection": "1.0.0",
  "info": {
    "name": "Due Account API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Account",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get account categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.due.network/v1/account_categories/",
            "params": [
              {
                "name": "next",
                "value": "",
                "type": "query"
              },
              {
                "name": "accountType",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a list of available account categories"
        },
        {
          "info": {
            "name": "Get account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.due.network/v1/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves full account details, including status history, KYC status, and ToS acceptance."
        },
        {
          "info": {
            "name": "List accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.due.network/v1/accounts/"
          },
          "docs": "Lists all accounts linked to your platform or user."
        },
        {
          "info": {
            "name": "Create account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.due.network/v1/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new customer account (business or individual)"
        }
      ]
    }
  ],
  "bundled": true
}