{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Access API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Access",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate Access Token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/widgets/access-tokens"
          },
          "docs": "Generate a new access token for the vendor site."
        },
        {
          "info": {
            "name": "Add and Validate a Document - Request a token to enroll an additional document.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/multi-access-tokens",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns a `SDK Token` used for multiple document enrollment to be passed\nto the `MIDS verification SDK` module.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Request a token to enroll an identity.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/access-tokens",
            "headers": [
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns a `SDK Token` token to be passed to the MIDS verification SDK\nmodule.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "The provider token is retrieved by country code and SDK version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/data-extractions/access-tokens",
            "headers": [
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Return a provider token to be passed to the MIDS Liveness SDK module."
        }
      ]
    }
  ],
  "bundled": true
}