{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Locations API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Get Location by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              }
            ]
          },
          "docs": "Returns location object"
        },
        {
          "info": {
            "name": "Mastercard Update an Existing Location",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              },
              {
                "name": "If-Match",
                "value": "\"842DFBC17F921E7716642B9164F3B22B\""
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a location object"
        },
        {
          "info": {
            "name": "Mastercard Delete an Existing Location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              }
            ]
          },
          "docs": "Returns 204 status code if Location deleted successfully"
        },
        {
          "info": {
            "name": "Mastercard Get Card Acceptor Names",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_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": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of items to skip before starting to collect the result set"
              },
              {
                "name": "page_number",
                "value": "2",
                "type": "query",
                "description": "current page number"
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query",
                "description": "Direction to sort the data using sort_field in response"
              },
              {
                "name": "sort_field",
                "value": "modifiedDateTime",
                "type": "query",
                "description": "Field to Sort data in response"
              },
              {
                "name": "search_text",
                "value": "Test",
                "type": "query",
                "description": "Input field used as wild search against Card Acceptor. \nThe service searches for substring, following the %search_text% pattern.\n"
              }
            ]
          },
          "docs": "Returns Card Acceptor Names with pagination metadata"
        },
        {
          "info": {
            "name": "Mastercard Add Card Acceptor Names",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_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": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates card acceptor names under a location of an existing sub-merchant"
        },
        {
          "info": {
            "name": "Mastercard Get Card Acceptor Name by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/card-acceptor-names/:id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of the card acceptor name."
              }
            ]
          },
          "docs": "Returns card acceptor name object"
        },
        {
          "info": {
            "name": "Mastercard Update Card Acceptor Name by Id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/card-acceptor-names/:id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              },
              {
                "name": "If-Match",
                "value": "\"842DFBC17F921E7716642B9164F3B22B\""
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of the card acceptor name."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates card acceptor name object"
        },
        {
          "info": {
            "name": "Mastercard Delete Existing Card Acceptor Name",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/card-acceptor-names/:id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of the card acceptor name."
              }
            ]
          },
          "docs": "Returns 204 status code if Card Acceptor Name deleted successfully"
        },
        {
          "info": {
            "name": "Mastercard Get Accepted Acquirer Reference Id and Card Acceptor Id Pairs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/acquirer-merchant-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The number of items to skip before starting to collect the result set"
              },
              {
                "name": "page_number",
                "value": "2",
                "type": "query",
                "description": "current page number"
              },
              {
                "name": "sort_direction",
                "value": "",
                "type": "query",
                "description": "Direction to sort the data using sort_field in response"
              },
              {
                "name": "sort_field",
                "value": "acquirerReferenceId",
                "type": "query",
                "description": "Field to Sort data in response"
              },
              {
                "name": "search_text",
                "value": "Test",
                "type": "query",
                "description": "Input field used as wild search against Acquirer Reference ID and Card Acceptor\nID. The service searches for substring, following the %search_text% pattern.\n"
              }
            ]
          },
          "docs": "Returns accepted Acquirer Reference ID and CardAcceptor ID pairs with pagination metadata"
        },
        {
          "info": {
            "name": "Mastercard Add Acquirer Reference Id and Card Acceptor Id Pairs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/acquirer-merchant-ids",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns added pairs of Acquirer Reference ID and Card Acceptor ID. Non unique pairs are placed in the rejected list."
        },
        {
          "info": {
            "name": "Mastercard Delete Existing Acquirer Reference Id and Card Acceptor Id Pair",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/sub-merchants/:guid/locations/:location_id/acquirer-merchant-ids/:acquirer_merchant_id",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "guid",
                "value": "jK2dA5aybhQQBq6C",
                "type": "path",
                "description": "Consumer Clarity internal merchant's GUID"
              },
              {
                "name": "location_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of location"
              },
              {
                "name": "acquirer_merchant_id",
                "value": "Mxyz123",
                "type": "path",
                "description": "Unique identifier of Acquirer Reference Id and Card Acceptor Id Pair"
              }
            ]
          },
          "docs": "Returns 204 status code if acquirer reference ID and card acceptor ID pair deleted successfully"
        }
      ]
    }
  ],
  "bundled": true
}