{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Confirmations API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Confirmations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Confirm Payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-requests/:payment_request_lifecycle_id/payment-confirmation-advices",
            "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": "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 send payment status information for the request for payment message."
        },
        {
          "info": {
            "name": "Add and Validate a Document - Confirm the details of a document.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/document-verifications/document-data-confirmations",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              },
              {
                "name": "X-Encrypted-Payload",
                "value": "true"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "- After the user verifies and checks if the data extracted from the\ndocuments match the current status (for example, Address).\n\n- The user sends data back to MIDS to confirm the details.\n\n- Perform verifications with IVPs and store the data into the PDS.   \n**This API is mandatory.**\n"
        },
        {
          "info": {
            "name": "Add and Validate a Document - Confirm the identity was stored to the PDS.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/document-verifications/update-id-confirmations",
            "headers": [
              {
                "name": "X-User-Identity",
                "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete the document verification data on the Identity verification vendor\nonce the user confirms the PDS update.   \n**This API is mandatory.**\n"
        }
      ]
    }
  ],
  "bundled": true
}