{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Member API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Member",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Get Acquirer Reference Id Configs.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/acquirer-reference-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "acquirer_reference_id",
                "value": "123456",
                "type": "query",
                "description": "BIN that a partner currently services under their portfolio."
              },
              {
                "name": "card_scheme",
                "value": "MASTERCARD",
                "type": "query",
                "description": "Name of card scheme may be one of - MASTERCARD, VISA or any other supported schemes"
              },
              {
                "name": "offset",
                "value": "25",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "page_number",
                "value": "1",
                "type": "query",
                "description": "Current page number"
              }
            ]
          },
          "docs": "Get the acquirer reference id configs filtered by acquirer reference id and card scheme."
        },
        {
          "info": {
            "name": "Mastercard Create Acquirer Reference Id Config.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/acquirer-reference-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an acquirer reference id configuration."
        },
        {
          "info": {
            "name": "Mastercard Update Acquirer Reference Id Config.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/acquirer-reference-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "merchant_identifier_config_id",
                "value": "88ca4b15-72a6-41dd-8127-573d4b07875c",
                "type": "query",
                "description": "The Configuration ID for acquirer reference ID or card acceptor ID or card acceptor name configurations."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an acquirer reference id configuration."
        },
        {
          "info": {
            "name": "Mastercard Delete Acquirer Reference Id Config.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/acquirer-reference-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "merchant_identifier_config_id",
                "value": "88ca4b15-72a6-41dd-8127-573d4b07875c",
                "type": "query",
                "description": "The Configuration ID for acquirer reference ID or card acceptor ID or card acceptor name configurations."
              }
            ]
          },
          "docs": "Delete an acquirer reference id configuration."
        },
        {
          "info": {
            "name": "Mastercard Get a List of Sub-merchants.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "name",
                "value": "Merchant 1",
                "type": "query",
                "description": "The name of the merchant"
              },
              {
                "name": "status",
                "value": "ACTIVATED",
                "type": "query",
                "description": "The status of the merchant"
              },
              {
                "name": "offset",
                "value": "25",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "page_number",
                "value": "1",
                "type": "query",
                "description": "Current page number"
              }
            ]
          },
          "docs": "Returns sub-merchants matching multiple criteria."
        },
        {
          "info": {
            "name": "Mastercard Create a Sub-merchant.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns created sub-merchant details."
        },
        {
          "info": {
            "name": "Mastercard Get a Sub-merchant.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ]
          },
          "docs": "Returns sub-merchant details with matching ID."
        },
        {
          "info": {
            "name": "Mastercard Update a Sub-merchant.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns updated sub-merchant details."
        },
        {
          "info": {
            "name": "Mastercard Change Sub-merchant Status.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/status-changes",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns sub-merchant details with updated status."
        },
        {
          "info": {
            "name": "Mastercard Get Sub-merchant Card Acceptor Id Configs.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              },
              {
                "name": "acquirer_reference_id",
                "value": "123456",
                "type": "query",
                "description": "BIN that a partner currently services under their portfolio."
              },
              {
                "name": "card_acceptor_id",
                "value": "card_acceptor1",
                "type": "query",
                "description": "Identifies the card acceptor ID assigned by the acquirer. This ID must represent a unique identifier for each merchant name/location within the acquirer BIN."
              },
              {
                "name": "offset",
                "value": "25",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "page_number",
                "value": "1",
                "type": "query",
                "description": "Current page number"
              }
            ]
          },
          "docs": "Returns sub-merchant card acceptor id config details."
        },
        {
          "info": {
            "name": "Mastercard Create Sub-merchant Card Acceptor Id Config.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns created sub-merchant card acceptor id config details."
        },
        {
          "info": {
            "name": "Mastercard Delete Sub-merchant Card Acceptor Id Config.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              },
              {
                "name": "merchant_identifier_config_id",
                "value": "88ca4b15-72a6-41dd-8127-573d4b07875c",
                "type": "query",
                "description": "The Configuration ID for acquirer reference ID or card acceptor ID or card acceptor name configurations."
              }
            ]
          },
          "docs": "Returns 200 if sub-merchant card acceptor id configs gets deleted."
        },
        {
          "info": {
            "name": "Mastercard Get Sub-merchant Card Acceptor Name Configs.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-names",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              },
              {
                "name": "card_acceptor_name",
                "value": "Acceptor 1",
                "type": "query",
                "description": "A sub-element of the merchant descriptor that contains the merchant's name or doing business as name as it appears on the cardholder's billing statement."
              },
              {
                "name": "offset",
                "value": "25",
                "type": "query",
                "description": "Number of items per page"
              },
              {
                "name": "page_number",
                "value": "1",
                "type": "query",
                "description": "Current page number"
              }
            ]
          },
          "docs": "Returns sub-merchant card acceptor name config details."
        },
        {
          "info": {
            "name": "Mastercard Create Sub-merchant Card Acceptor Name Config.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-names",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns created sub-merchant card acceptor name config details."
        },
        {
          "info": {
            "name": "Mastercard Delete Sub-merchant Card Acceptor Name Config.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/card-acceptor-names",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              },
              {
                "name": "merchant_identifier_config_id",
                "value": "88ca4b15-72a6-41dd-8127-573d4b07875c",
                "type": "query",
                "description": "The Configuration ID for acquirer reference ID or card acceptor ID or card acceptor name configurations."
              }
            ]
          },
          "docs": "Returns 200 if sub-merchant card acceptor name configs gets deleted."
        }
      ]
    }
  ],
  "bundled": true
}