{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Subscriptions API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieving subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions",
            "params": [
              {
                "name": "offset",
                "value": "0",
                "type": "query",
                "description": "For pagination of responses - the offset from which to calculate the list of returned subscriptions. Defaults to 0"
              },
              {
                "name": "limit",
                "value": "10",
                "type": "query",
                "description": "Number of Subscriptions to be returned per page. By Default 25 Subscriptions are returned per page"
              },
              {
                "name": "sort",
                "value": "name",
                "type": "query",
                "description": "Sort the returned subscriptions using the indicated fields and direction. For example, 'name' sorts by name ascending, '-id' sorts by subscription id descending. Defaults to sort by subscription name in ascending order"
              }
            ]
          },
          "docs": "Retrieve the subscriptions defined for this client."
        },
        {
          "info": {
            "name": "Creating subscriptions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a subscription that will cause notifications to be generated for the specified events."
        },
        {
          "info": {
            "name": "Retrieving subscription by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "0CNSa91bf379b48a593fd17f07f431bad8fb296796498f4e9982ea134394c1fa4f071556724070",
                "type": "path",
                "description": "Subscription ID - Find a Subscription ID by running POST /subscriptions or GET /subscriptions"
              }
            ]
          },
          "docs": "Retrieve the details of a subscription."
        },
        {
          "info": {
            "name": "Updating subscription",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "0CNSa91bf379b48a593fd17f07f431bad8fb296796498f4e9982ea134394c1fa4f071556724070",
                "type": "path",
                "description": "Subscription ID - Find a Subscription ID by running POST /subscriptions or GET /subscriptions"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing subscription."
        },
        {
          "info": {
            "name": "Deleting subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "0CNSa91bf379b48a593fd17f07f431bad8fb296796498f4e9982ea134394c1fa4f071556724070",
                "type": "path",
                "description": "Subscription ID - Find a Subscription ID by running POST /subscriptions or GET /subscriptions"
              }
            ]
          },
          "docs": "Deletes a subscription, with the effect that no further notifications will be generated for that subscription."
        },
        {
          "info": {
            "name": "Mastercard Inquire on a Subscription to Determine if an Account Is Already Being Watched or Not.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/subscription-inquiries",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "An inquiry request is used to check if an account is already being watched or not. Based on the response back, the ABU Integrator can choose to take action if necessary; to subscribe to watch an account or unsubscribe, to stop watching an account."
        },
        {
          "info": {
            "name": "Mastercard Unsubscribe From an Account to Stop Receiving Updates for Account Information in the Future.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/subscription-deletions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "ABU Integrators can unsubscribe from an account to stop automatically receiving notifications with account information when updates occur."
        }
      ]
    }
  ],
  "bundled": true
}