{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Providers API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Providers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetches an existing Service Provider",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/service-providers"
          },
          "docs": "Allows a registered Service Provider to fetch its information from the server."
        },
        {
          "info": {
            "name": "Updates an existing Service Provider details",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/service-providers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows a registered Service Provider to update its configuration on the server. A Service Provider should call this API first after the successful creation of the project on Mastercard Developers before they call other APIs."
        },
        {
          "info": {
            "name": "Bulk Registration of Payment Cards",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service-providers/payment-cards",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows a registered service provider to add a list of new payment cards to its profile.This endpoint uses [Mastercard payload encryption](https://mstr.cd/2UPfda0). Refer to the [Payload Encryption](https://developer.mastercard.com/carbon-calculator/documentation/tutorials-and-guides/payload-encryption/) page for implementation details."
        },
        {
          "info": {
            "name": "Delete a Payment Card",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/service-providers/payment-cards/:payment_card_id",
            "params": [
              {
                "name": "payment_card_id",
                "value": "83c0711e-1851-4771-950a-055dded7f168",
                "type": "path",
                "description": "Unique ID provided in the response while registering a payment card."
              }
            ]
          },
          "docs": "Allows a registered Service Provider to delete single Payment Card at a time from its profile. Any data associated with a requested paymentCardId will also be deleted permanently.\n\nOn the successful response from the server, a Service Provider should remove all the requested paymentCardIds from the system.\n\nOnce a request has been received from a Service Provider, data deletion will happen immediately."
        },
        {
          "info": {
            "name": "Mastercard Retrieve Debtor Service Providers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/debtor-service-providers",
            "headers": [
              {
                "name": "X-Request-ID",
                "value": ""
              },
              {
                "name": "X-Product-ID",
                "value": ""
              },
              {
                "name": "X-Participant-ID",
                "value": ""
              },
              {
                "name": "X-JWS-Signature",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "category_purpose",
                "value": "",
                "type": "query",
                "description": "Category purpose codes for which the DSP list should be filtered. If not provided, all the DSPs will be listed irrespective of categoryPurpose codes supported. *Refer to Codes and Formats section for more details."
              },
              {
                "name": "feature",
                "value": "",
                "type": "query",
                "description": "Feature types  for which the DSP list should filtered. If not provided, all the DSPs will be listed irrespective of features supported. *Refer to Codes and Formats section for more details."
              }
            ]
          },
          "docs": "Enables a CSP to retrieve list of DSPs with details (univeral link, logo url, categoryPurpose and features supported etc)."
        }
      ]
    }
  ],
  "bundled": true
}