{
  "opencollection": "1.0.0",
  "info": {
    "name": "CyberSource Merged Spec bankAccountValidation TransactionBatches API",
    "version": "0.0.1"
  },
  "items": [
    {
      "info": {
        "name": "TransactionBatches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a List of Batch Files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/pts/v1/transaction-batches",
            "params": [
              {
                "name": "startTime",
                "value": "",
                "type": "query",
                "description": "Valid report Start Time in **ISO 8601 format**\nPlease refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14)\n\n **Example date format:**\n  - yyyy-MM-dd'T'HH:mm:ss.SSSZZ\n"
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query",
                "description": "Valid report End Time in **ISO 8601 format**\nPlease refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14)\n\n **Example date format:**\n  - yyyy-MM-dd'T'HH:mm:ss.SSSZZ\n"
              }
            ]
          },
          "docs": "Provide the date and time search range to get a list of Batch Files ready for settlement"
        },
        {
          "info": {
            "name": "Get Individual Batch File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/pts/v1/transaction-batches/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The batch id assigned for the template."
              }
            ]
          },
          "docs": "This API provides details like upload date, completion date, transaction count and accepted and rejected transaction count of the individual batch file using the batch id"
        },
        {
          "info": {
            "name": "Get Transaction Details for a given Batch Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/pts/v1/transaction-batch-details/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The batch id assigned for the template."
              },
              {
                "name": "uploadDate",
                "value": "",
                "type": "query",
                "description": "Date in which the original batch file was uploaded. Date must be in ISO-8601 format.\nPlease refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14)\n**Example date format:**\n - yyyy-MM-dd\n"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Allows you to filter by rejected response.\n\nValid values:\n- Rejected\n"
              }
            ]
          },
          "docs": "Provides real-time detailed status information about the transactions that you previously uploaded in the Business Center or processed with the Offline Transaction File Submission service.\n"
        },
        {
          "info": {
            "name": "Upload a Batch File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/pts/v1/transaction-batch-upload"
          },
          "docs": "This endpoint enables the upload of a batch file containing transactions for processing."
        }
      ]
    }
  ],
  "bundled": true
}