{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Profiles API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Calculates a climate profile based on the answers from a survey obtained from the Surveys Service.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/profiles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The Profile Service employs a sophisticated algorithm to compute a detailed climate profile, drawing upon the responses gathered through a survey obtained from the Surveys Service. This process involves a meticulous analysis of user-provided answers to generate a comprehensive and nuanced representation of their climate preferences and perspectives. See (https://surveyjs.io/survey-creator)"
        },
        {
          "info": {
            "name": "View an Identity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/user-profiles/identity-searches",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve decrypted identities along with rotated PDS to present the user\nwith the registered identity in the TP app. Does not require a minimum authentication standard.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Create a new user.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/user-profiles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "- This endpoint registers a user profile using the given\n`user profile ID`.\n\n- An error will be returned if the user profile already exists.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Delete an Identity.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/user-profiles",
            "params": [
              {
                "name": "user_profile_id",
                "value": "ee13a7ec-5a5a-4618-a55d-5e1ed016ccd5",
                "type": "query",
                "description": "UUID identifying the user, which the TP App generates using the MIDS Core SDK."
              },
              {
                "name": "user_consent",
                "value": "ACCEPT",
                "type": "query",
                "description": "Confirmation provided by the TP that the user has consented that the ID-Network can have access to their identity for the purposes of the API call. Should be ACCEPT, a forbidden exception will be thrown if it is any other value."
              }
            ]
          },
          "docs": "Enable TP app to mark user account as deleted on Mastercard ID Network. Requires GPA authentication.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Delete Document.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/user-profiles/identity-attribute-deletions",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete an identity attribute from a PDS and update the affected assurance levels. Requires GPA authentication.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Mastercard Get Details of Organization Profiles.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/org-profiles",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ]
          },
          "docs": "Returns organization profile details containing member name, id and type."
        }
      ]
    }
  ],
  "bundled": true
}