{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Insights API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Insights",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get insights based on the contents of your climate profile.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/insights",
            "params": [
              {
                "name": "branding",
                "value": "branding",
                "type": "query",
                "description": "If you have a branded content version, please supply it here"
              },
              {
                "name": "heading",
                "value": "false",
                "type": "query",
                "description": "If you want to display heading of the insights content"
              },
              {
                "name": "page_size",
                "value": "20",
                "type": "query",
                "description": "size of page upto which data should be present"
              },
              {
                "name": "page",
                "value": "2",
                "type": "query",
                "description": "Page number of the page whose data should be present in response"
              },
              {
                "name": "version",
                "value": "1.1",
                "type": "query",
                "description": "version of insights"
              },
              {
                "name": "language",
                "value": "en",
                "type": "query",
                "description": "language in which user wants to see insights to their climate profile"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The Insights service delivers insights and other suggestions that can inform you about what you can do to reduce your footprint."
        },
        {
          "info": {
            "name": "Fetches an Insight details based on provided Insight id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/insights/:id",
            "params": [
              {
                "name": "branding",
                "value": "branding",
                "type": "query",
                "description": "If you have a branded content version, please supply it here"
              },
              {
                "name": "language",
                "value": "en",
                "type": "query",
                "description": "language in which user wants to see insights to their climate profile"
              },
              {
                "name": "version",
                "value": "1.1",
                "type": "query",
                "description": "version of insights"
              },
              {
                "name": "id",
                "value": "T101",
                "type": "path",
                "description": "for specific insight Id user wants to see insight to their climate profile"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Fetches a given Insight and marks it as viewed in your profile. Issuer has to save the profile locally and send it in future communication with Engagement Services"
        },
        {
          "info": {
            "name": "To send user interaction data to MIDs so MIDs and RPs have insight into the usage of the Claim Share API.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/claim-share-insights/:arid",
            "params": [
              {
                "name": "arid",
                "value": "df52649e-4096-456a-bca0-751ee470009f",
                "type": "path",
                "description": "UUID represents the ARID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "To give insights on user interaction with the Claim Share API to MIDs and RPs."
        }
      ]
    }
  ],
  "bundled": true
}