{
  "opencollection": "1.0.0",
  "info": {
    "name": "US Bank Corporate Account Information API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://api.usbank.com/oauth/authorize",
      "accessTokenUrl": "https://api.usbank.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usbank.com/v1/accounts",
            "headers": [
              {
                "name": "Correlation-ID",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "On-Behalf-Of",
                "value": ""
              }
            ]
          },
          "docs": "Get a list of deposit accounts for the authorized customer."
        }
      ]
    },
    {
      "info": {
        "name": "Balances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Current Day Account Balances",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usbank.com/v1/accounts/current-day-balances",
            "headers": [
              {
                "name": "Correlation-ID",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get account balances for an array of accounts for the current business day. Supports up to 50 accounts per request. Includes available balance, ledger balance, and collected balances."
        },
        {
          "info": {
            "name": "Get Previous Day Account Balances",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.usbank.com/v1/accounts/previous-day-balances",
            "headers": [
              {
                "name": "Correlation-ID",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get account balances for an array of accounts for the previous business day. Supports up to 50 accounts per request."
        }
      ]
    },
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Current Day Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usbank.com/v1/accounts/:accountNumber/current-day-transactions",
            "headers": [
              {
                "name": "Correlation-ID",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "On-Behalf-Of",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "The U.S. Bank account number"
              }
            ]
          },
          "docs": "Get transactions for a specific account for the current business day."
        },
        {
          "info": {
            "name": "Get Account Transactions by Date Range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.usbank.com/v1/accounts/:accountNumber/transactions",
            "headers": [
              {
                "name": "Correlation-ID",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountNumber",
                "value": "",
                "type": "path",
                "description": "The U.S. Bank account number"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query",
                "description": "Start date for transaction history (ISO 8601 date)"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query",
                "description": "End date for transaction history (ISO 8601 date)"
              }
            ]
          },
          "docs": "Get transactions for a specific account for prior business days over a date range. Historical transactions available up to 60 days (or 12/24 months with extended retention)."
        }
      ]
    }
  ],
  "bundled": true
}