{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Tokens API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Tokens",
        "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."
        },
        {
          "info": {
            "name": "Register a token linked to a user and a virtual card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_guid/tokens",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              },
              {
                "name": "account_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the card being queried"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows users to register a token linked to a user and a virtual card"
        },
        {
          "info": {
            "name": "Retrieve token details linked to a user and a virtual card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_guid/tokens/:token_guid",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              },
              {
                "name": "account_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the card being queried"
              },
              {
                "name": "token_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the token being queried"
              }
            ]
          },
          "docs": "This endpoint allows users to retrieve token details linked to a user and a virtual card"
        },
        {
          "info": {
            "name": "Update a token linked to a user and a virtual card",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_guid/tokens/:token_guid",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              },
              {
                "name": "account_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the card being queried"
              },
              {
                "name": "token_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the token being queried"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows users to update a token linked to a user and a virtual card"
        },
        {
          "info": {
            "name": "Delete a token linked to a user and a virtual card",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_guid/tokens/:token_guid",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              },
              {
                "name": "account_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the card being queried"
              },
              {
                "name": "token_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the token being queried"
              }
            ]
          },
          "docs": "This endpoint allows users to delete a token linked to a user and a virtual card"
        },
        {
          "info": {
            "name": "Mastercard Create a User Data Token Which Is Used in the Redirection Url That Redirects the Cardholder to the Website for Submitting a New Claim.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/user-data-tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a user data token for submitting claim."
        }
      ]
    }
  ],
  "bundled": true
}