{
  "opencollection": "1.0.0",
  "info": {
    "name": "Clients AR Account reports Credit limit API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Credit limit",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List client credit limits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.agicap.com/public/client-risk/v1/entities/:entityId/credit-limits",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "clientExternalIds",
                "value": "",
                "type": "query",
                "description": "Filter credit limits by client external identifiers. Supports multiple values."
              },
              {
                "name": "token",
                "value": "",
                "type": "query",
                "description": "Opaque pagination token for retrieving the next page"
              },
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieve a paginated list of client credit limits for the given entity."
        },
        {
          "info": {
            "name": "Create client credit limits",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.agicap.com/public/client-risk/v1/entities/:entityId/credit-limits",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create client credit limits in bulk by clientExternalId. Maximum 1000 items per request."
        },
        {
          "info": {
            "name": "Update client credit limits",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.agicap.com/public/client-risk/v1/entities/:entityId/credit-limits",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update client credit limits in bulk by clientExternalId. Non-existing clients or clients without a credit limit are ignored. Maximum 1000 items per request."
        },
        {
          "info": {
            "name": "Delete client credit limits",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.agicap.com/public/client-risk/v1/entities/:entityId/credit-limits",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete client credit limits in bulk by clientExternalId. Maximum 1000 items per request."
        }
      ]
    }
  ],
  "bundled": true
}