{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Service API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Service",
        "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."
        }
      ]
    }
  ],
  "bundled": true
}