{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stark Bank Balance Split Profile API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Digital-Signature",
      "value": "{{Digital-Signature}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Split Profile",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Split Profiles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/split-profile",
            "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": "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 split profiles by the specified status."
              },
              {
                "name": "tags",
                "value": "",
                "type": "query",
                "description": "Filter entities that contain the specified tags."
              }
            ]
          },
          "docs": "Get a list of Split Profiles in chunks of up to 100. If you need smaller chunks, use the limit parameter."
        },
        {
          "info": {
            "name": "Put a Split Profile",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.starkbank.com/v2/split-profile",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a list containing a single Split Profile object. If the object has already been created, its rules will be updated."
        },
        {
          "info": {
            "name": "Get a Split Profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/split-profile/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Split Profile entity"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "List of strings to filter response JSON keys. Not available in the SDKs."
              }
            ]
          },
          "docs": "Retrieve a single Split Profile object by its ID, which was previously created."
        },
        {
          "info": {
            "name": "List Split Profile Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/split-profile/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": "profileIds",
                "value": "",
                "type": "query",
                "description": "List of Split Profile ids to filter retrieved objects. ex: ['5656565656565656', '4545454545454545']."
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "filter retrieved objects by event types. ex: 'processing' or 'success'"
              }
            ]
          },
          "docs": "Get a paged list of Split Profile logs. A log tracks a change in the Split Profile entity according to its life cycle."
        },
        {
          "info": {
            "name": "Get a Split Profile Log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.starkbank.com/v2/split-profile/log/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the log entity."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "List of strings to filter response JSON keys. Not available in the SDKs."
              }
            ]
          },
          "docs": "Get a single Split Profile Log by its id."
        }
      ]
    }
  ],
  "bundled": true
}