{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Scans API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Scans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve an outcome for an authentication.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/authentication-decisions/scans/:scan_id",
            "headers": [
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "params": [
              {
                "name": "scan_id",
                "value": "1234",
                "type": "path",
                "description": "Scan ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticate user identity and retrieve identity attributes without updating selfie.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Returns the status of the document verification.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/data-extractions/scans/:scan_id",
            "headers": [
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "params": [
              {
                "name": "scan_id",
                "value": "5226539e-78e7-45ac-a924-072d1301c24c",
                "type": "path",
                "description": "UUID returned to the application/webpage on completion of the users interactions with the ID-V SDK."
              },
              {
                "name": "user_consent",
                "value": "ACCEPT",
                "type": "query",
                "description": "The value which best reflects the input of the User with regard to Consent to use their data (ACCEPT, DECLINE, REVOKE, EXPIRE)."
              },
              {
                "name": "retrieve_selfie",
                "value": "true",
                "type": "query",
                "description": "Flag indicating if the selfie needs to be retrieved."
              },
              {
                "name": "retrieve_document_images",
                "value": "true",
                "type": "query",
                "description": "Flag indicating if the document images needs to be retrieved."
              },
              {
                "name": "retrieve_facemap",
                "value": "true",
                "type": "query",
                "description": "Flag indicating if the facemap needs to be retrieved."
              },
              {
                "name": "document_type",
                "value": "DRIVING_LICENSE",
                "type": "query",
                "description": "The type of document scanned (DRIVING_LICENSE, PASSPORT, ID_CARD)."
              },
              {
                "name": "user_selected_country",
                "value": "USA",
                "type": "query",
                "description": "The ISO 3166-1 alpha3 code which corresponds to the country from where the request to ID is originating from."
              }
            ]
          },
          "docs": "Returns the status of the document verification as it's being processed by the vendor."
        }
      ]
    }
  ],
  "bundled": true
}