{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mastercard Bill Payment Validator Account Opening Status API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Status",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mastercard Payment Request Status Retrieval Request.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/payment-requests/:payment_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": "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 Mastercard to retrieve payment request status from DSP."
        },
        {
          "info": {
            "name": "Mastercard Agreement Request Status Retrieval Request.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/agreements/:agreement_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": "agreement_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier assigned by Mastercard, to the agreement, to be used in Payment Requests for routing them to the destined participant."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Enables CSP to retrieve agreement status from DSP."
        },
        {
          "info": {
            "name": "Mastercard Get Status of the Dpa Add/update Async (batch) Job by Batch Id.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/srci/:src-client-id/dpas/batch/status/:batch-id",
            "headers": [
              {
                "name": "correlation-id",
                "value": "0000016e0364631b-e4cefc"
              }
            ],
            "params": [
              {
                "name": "src-client-id",
                "value": "5e0d4b84-189d-4c86-822d-590602f62062",
                "type": "path",
                "description": "A unique identifier assigned by Mastercard during onboarding which signifies the responsible party Integrating to Mastercard Checkout Solutions (MCS)."
              },
              {
                "name": "batch-id",
                "value": "1c9d3e43-f232-44a1-9552-7da22aaf5590",
                "type": "path",
                "description": "A unique identifier associated with the submitted Digital Payment Application (DPA) batch. The Batch ID can be used to retrieve the status of the batch by calling GET DPA status endpoint."
              }
            ]
          },
          "docs": "The GET Status API allows the SRC Initiator to retrieve the status of a DPA Registration request submitted earlier."
        },
        {
          "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."
        },
        {
          "info": {
            "name": "Mastercard Change Sub-merchant Status.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/alerts/merchants/:member_id/sub-merchants/:sub_merchant_id/status-changes",
            "headers": [
              {
                "name": "User-Id",
                "value": "princess.diana"
              },
              {
                "name": "Submitter-First-Name",
                "value": "Diana"
              },
              {
                "name": "Submitter-Last-Name",
                "value": "Princess"
              }
            ],
            "params": [
              {
                "name": "member_id",
                "value": "99ca4b15-72a6-41dd-8127-573d4b07669c",
                "type": "path",
                "description": "Merchant member ID (parent of the sub-merchant)"
              },
              {
                "name": "sub_merchant_id",
                "value": "cc2cac41-d127-4c06-9646-c0f2ad76c444",
                "type": "path",
                "description": "Sub-merchant member ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns sub-merchant details with updated status."
        },
        {
          "info": {
            "name": "API used by external Vendors to provide the orders status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/vendors/:vendor_id/orders/status",
            "params": [
              {
                "name": "vendor_id",
                "value": "carltonone",
                "type": "path",
                "description": "The internal Mastercard vendor Id for order fulfilment."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The Loyalty Rewards Order Management Mastercard API is used by external vendor to provide orders status"
        }
      ]
    }
  ],
  "bundled": true
}