{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Retrievals API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Retrievals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the details of a document.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/document-verifications/document-data-retrievals",
            "headers": [
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Informs if the document verification is still being processed or is\nprocessed already. If `SUCCESS`, the document data is returned.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Add and Validate a Document - Retrieve the details of an additional document.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/document-verifications/document-data-retrievals",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Informs if the document verification for the additional document is still being processed (PENDING)\nor is processed already (SUCCESS). If SUCCESS, the document data is\nreturned.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Mastercard Retrieve Payment Request Details.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-request-retrievals",
            "headers": [
              {
                "name": "X-Request-ID",
                "value": ""
              },
              {
                "name": "X-Product-ID",
                "value": ""
              },
              {
                "name": "X-Participant-ID",
                "value": ""
              },
              {
                "name": "X-JWS-Signature",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables DSP to retrieve request for payment using either paymentRequestLifecycleId or paymentRequestReferenceNumber to present it to the debtor and obtain consent for funds transfer."
        },
        {
          "info": {
            "name": "Mastercard Retrieve Agreement Details",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agreement-retrievals",
            "headers": [
              {
                "name": "X-Request-ID",
                "value": ""
              },
              {
                "name": "X-Product-ID",
                "value": ""
              },
              {
                "name": "X-Participant-ID",
                "value": ""
              },
              {
                "name": "X-JWS-Signature",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables DSP to retrieve agreement details, either agreementId or agreementReferenceNumber must be provided to retrieve agreement details."
        },
        {
          "info": {
            "name": "Mastercard Refund Request Status Retrieval Request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-requests/:payment_request_lifecycle_id/refunds/:refund_request_lifecycle_id/status-retrievals",
            "headers": [
              {
                "name": "X-Request-ID",
                "value": ""
              },
              {
                "name": "X-Product-ID",
                "value": ""
              },
              {
                "name": "X-Participant-ID",
                "value": ""
              },
              {
                "name": "X-JWS-Signature",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "refund_request_lifecycle_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier assigned by Mastercard, to identify the refund request in subsequent transactions or services."
              },
              {
                "name": "payment_request_lifecycle_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier assigned by Mastercard, to identify the payment request in subsequent transactions or services."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables DSP to enquire about the status of Refund Request."
        }
      ]
    }
  ],
  "bundled": true
}