{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Payment  Card API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Payment  Card",
        "type": "folder"
      },
      "items": [
        {
          "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": "Fetches Historical Transactions and its Transaction Footprints",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/payment-cards/:payment_card_id/transaction-footprints",
            "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."
              },
              {
                "name": "from_date",
                "value": "2018-05-07",
                "type": "query",
                "description": "Start date for searching transaction (Format- YYYY-MM-DD)."
              },
              {
                "name": "to_date",
                "value": "2021-05-07",
                "type": "query",
                "description": "End date for searching transaction (Format- YYYY-MM-DD)."
              },
              {
                "name": "offset",
                "value": "50",
                "type": "query",
                "description": "The number of items you need the start of the list to be offset from."
              },
              {
                "name": "limit",
                "value": "50",
                "type": "query",
                "description": "The number of items you asked the list to be limited to."
              }
            ]
          },
          "docs": "Allows a Service Provider to fetch historical transactions for a payment card. Note that a maximum of one year of transactions can be retrieved using this API. Also, the payment card has to be registered first using /payment-cards service."
        },
        {
          "info": {
            "name": "Register a Payment Card (to be deprecated)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-cards",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows a registered Service Provider to add a new Payment Card to its profile. This endpoint uses [Mastercard payload encryption](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#mastercard-encryption). Refer to the [Payload Encryption](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/) section for implementation details."
        },
        {
          "info": {
            "name": "Batch Registration of Payment Cards (to be deprecated)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-card-enrolments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Allows a registered Service Provider to add a list of new Payment Cards **(at most maximum of 100 payment cards)** to its profile. This endpoint uses [Mastercard payload encryption](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encryption/#mastercard-encryption). Refer to the [Payload Encryption](https://developer.mastercard.com/platform/documentation/security-and-authentication/securing-sensitive-data-using-payload-encr"
        }
      ]
    }
  ],
  "bundled": true
}