{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stark Bank Balance Invoice Pull Subscription API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Digital-Signature",
      "value": "{{Digital-Signature}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Invoice Pull Subscription",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Invoice Pull Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Filter entities created after this date."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Filter entities created before this date."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "String used to get the next batch of results. Our SDKs handle this for you."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "List of strings to expand the invoice pull subscription information. Options: \"data\"."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "List of strings to filter response JSON keys. Not available in the SDKs."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "List of strings to get specific entities by ids."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per cursor. Max = 100."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter invoice pull subscriptions by the specified status."
              },
              {
                "name": "tags",
                "value": "",
                "type": "query",
                "description": "Filter entities that contain the specified tags."
              }
            ]
          },
          "docs": "Here you can list and filter all invoice pull subscriptions you have made. We return it paged."
        },
        {
          "info": {
            "name": "Create Invoice Pull Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this route to create new invoice pull subscriptions."
        },
        {
          "info": {
            "name": "Get an Invoice Pull Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "String used to get the specific invoice pull subscription by its ID."
              }
            ]
          },
          "docs": "Get a single invoice pull subscription by its id."
        },
        {
          "info": {
            "name": "Cancel an Invoice Pull Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "String used to get the specific invoice pull subscription by its ID."
              }
            ]
          },
          "docs": "Cancel an existing invoice pull subscription. The subscription must be with \"active\" status to be canceled."
        },
        {
          "info": {
            "name": "List Invoice Pull Subscription Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription/log",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Filter entities created after this date."
              },
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "Filter entities created before this date."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "String used to get the next batch of results. Our SDKs handle this for you."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "List of strings to filter response JSON keys. Not available in the SDKs."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results per cursor. Max = 100."
              },
              {
                "name": "subscriptionIds",
                "value": "",
                "type": "query",
                "description": "List of strings to get specific entities by ids."
              },
              {
                "name": "tags",
                "value": "",
                "type": "query",
                "description": "Filter entities that contain the specified tags."
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "Filter logs by log types."
              }
            ]
          },
          "docs": "Get a paged list of invoice pull subscription logs. A log tracks a change in the entity according to its life cycle."
        },
        {
          "info": {
            "name": "Get an Invoice Pull Subscription Log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/invoice-pull-subscription/log/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "String used to get the specific invoice pull subscription log by its ID."
              }
            ]
          },
          "docs": "Get a single invoice pull subscription log by its id."
        }
      ]
    }
  ],
  "bundled": true
}