{
  "opencollection": "1.0.0",
  "info": {
    "name": "CDR Banking Accounts Direct Debits API",
    "version": "1.36.0"
  },
  "items": [
    {
      "info": {
        "name": "Direct Debits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Direct Debits For Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mtls.dh.example.com/cds-au/v1/banking/accounts/:accountId/direct-debits",
            "headers": [
              {
                "name": "x-v",
                "value": ""
              },
              {
                "name": "x-min-v",
                "value": ""
              },
              {
                "name": "x-fapi-interaction-id",
                "value": ""
              },
              {
                "name": "x-fapi-auth-date",
                "value": ""
              },
              {
                "name": "x-fapi-customer-ip-address",
                "value": ""
              },
              {
                "name": "x-cds-client-headers",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "ID of the account to get direct debit authorisations for.  Must have previously been returned by one of the account list end points."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page of results to request (standard pagination)"
              },
              {
                "name": "page-size",
                "value": "",
                "type": "query",
                "description": "Page size to request. Default is 25 (standard pagination)"
              }
            ]
          },
          "docs": "Obtain direct debit authorisations for a specific account"
        },
        {
          "info": {
            "name": "Get Bulk Direct Debits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mtls.dh.example.com/cds-au/v1/banking/accounts/direct-debits",
            "headers": [
              {
                "name": "x-v",
                "value": ""
              },
              {
                "name": "x-min-v",
                "value": ""
              },
              {
                "name": "x-fapi-interaction-id",
                "value": ""
              },
              {
                "name": "x-fapi-auth-date",
                "value": ""
              },
              {
                "name": "x-fapi-customer-ip-address",
                "value": ""
              },
              {
                "name": "x-cds-client-headers",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "product-category",
                "value": "",
                "type": "query",
                "description": "Used to filter results on the productCategory field applicable to accounts. Any one of the valid values for this field can be supplied. If absent then all accounts returned."
              },
              {
                "name": "open-status",
                "value": "",
                "type": "query",
                "description": "Used to filter results according to open/closed status. Values can be OPEN, CLOSED or ALL. If absent then ALL is assumed"
              },
              {
                "name": "is-owned",
                "value": "",
                "type": "query",
                "description": "Filters accounts based on whether they are owned by the authorised customer.  True for owned accounts, false for unowned accounts and absent for all accounts"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page of results to request (standard pagination)"
              },
              {
                "name": "page-size",
                "value": "",
                "type": "query",
                "description": "Page size to request. Default is 25 (standard pagination)"
              }
            ]
          },
          "docs": "Obtain direct debit authorisations for multiple, filtered accounts"
        },
        {
          "info": {
            "name": "Get Direct Debits For Specific Accounts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://mtls.dh.example.com/cds-au/v1/banking/accounts/direct-debits",
            "headers": [
              {
                "name": "x-v",
                "value": ""
              },
              {
                "name": "x-min-v",
                "value": ""
              },
              {
                "name": "x-fapi-interaction-id",
                "value": ""
              },
              {
                "name": "x-fapi-auth-date",
                "value": ""
              },
              {
                "name": "x-fapi-customer-ip-address",
                "value": ""
              },
              {
                "name": "x-cds-client-headers",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page of results to request (standard pagination)"
              },
              {
                "name": "page-size",
                "value": "",
                "type": "query",
                "description": "Page size to request. Default is 25 (standard pagination)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Obtain direct debit authorisations for a specified list of accounts"
        }
      ]
    }
  ],
  "bundled": true
}