{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Accounts API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search by 6 - 8 Digit BINs, or up to the 11th digit of an account range",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/bin-ranges/account-searches",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Find a specific account range by providing an 8 digit BIN, or up to 11 digits of an account range"
        },
        {
          "info": {
            "name": "View identity lifecycle activities which have occurred in a time period.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/user-account-activity-searches",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve decrypted user activities and present them to the user in the\nTP app. Does not require a minimum authentication standard.\n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Retrieve a list of all virtual cards linked to a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              }
            ]
          },
          "docs": "This endpoint allows users to retrieve a list of all virtual cards linked to a user"
        },
        {
          "info": {
            "name": "Register a virtual card linked to a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts",
            "params": [
              {
                "name": "user_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the user being queried"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows users to register a virtual card linked to a user"
        },
        {
          "info": {
            "name": "Retrieve virtual card account details linked to a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_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"
              }
            ]
          },
          "docs": "This endpoint allows users to retrieve virtual card account details linked to a user"
        },
        {
          "info": {
            "name": "Update virtual card account details linked to a user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_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"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows users to update virtual card account details linked to a user"
        },
        {
          "info": {
            "name": "Delete a virtual card account linked to a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:user_guid/virtual-card-accounts/:account_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"
              }
            ]
          },
          "docs": "This endpoint allows users to delete a virtual card account linked to a user"
        },
        {
          "info": {
            "name": "Delete all virtual cards linked to a real card",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/real-card-accounts/:account_guid",
            "params": [
              {
                "name": "account_guid",
                "value": "8f242496-b71a-11eb-8529-0242ac130003",
                "type": "path",
                "description": "The globally unique identifier of the card being queried"
              }
            ]
          },
          "docs": "This endpoint allows users to delete all virtual cards linked to a real card account_guid"
        },
        {
          "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": "Enrolls a new account for an existing User. An Account is a unique card, as compared to a User which is a unique cardholder. Use this operation only for subsequent account enrollments of an existing user.\n",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns Account enrollment details."
        },
        {
          "info": {
            "name": "Updates details for an enrolled account.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/accounts",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a currently enrolled account. An account is a unique card, as compared to a user which is a unique cardholder."
        },
        {
          "info": {
            "name": "Retrieves Account details using the Account Id, including the Account standing, enrollment date, and more.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/accounts/:id",
            "params": [
              {
                "name": "id",
                "value": "268810378058708149455458707247",
                "type": "path",
                "description": "The unique identifier for the given account. Account Id is always RANAC."
              },
              {
                "name": "account_id_type",
                "value": "RANAC",
                "type": "query",
                "description": "Determines the type of account identification. Supported identifier is RANAC."
              },
              {
                "name": "user_id_type",
                "value": "RANCU",
                "type": "query",
                "description": "Determines the type of user identification. Supported identifier is RANCU."
              },
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "The number of items you ask the start of the list to be offset from. Zero-based offset index, must NOT be negative, default value is 0."
              },
              {
                "name": "limit",
                "value": "2",
                "type": "query",
                "description": "The number of items you ask the list to be limited to. Must be greater than 0 and less than or equal to 25, default value is 25."
              }
            ]
          },
          "docs": "Retrieves Account details using the Account Id, including the Account standing, enrollment date, and more. An Account is a unique card, as compared to a User which is a unique cardholder."
        }
      ]
    }
  ],
  "bundled": true
}