{
  "opencollection": "1.0.0",
  "info": {
    "name": "Scotiabank Scotia TranXact APIs Account Validation Accounts API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://developer.api.scotiabank.com/auth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.scotiabank.com/v1/accounts"
          },
          "docs": "Retrieve a list of eligible deposit accounts for the authenticated customer."
        },
        {
          "info": {
            "name": "Get Account Balance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.scotiabank.com/v1/accounts/:account_id/balance",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account identifier"
              },
              {
                "name": "date",
                "value": "",
                "type": "query",
                "description": "Date for prior-day balance (YYYY-MM-DD format, defaults to current day)"
              }
            ]
          },
          "docs": "Retrieve the current or prior day account balance. Supports retrieval of enriched balance data including opening and closing balances."
        },
        {
          "info": {
            "name": "List Account Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.scotiabank.com/v1/accounts/:account_id/transactions",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Account identifier"
              },
              {
                "name": "from_date",
                "value": "",
                "type": "query",
                "description": "Start date for transactions (YYYY-MM-DD)"
              },
              {
                "name": "to_date",
                "value": "",
                "type": "query",
                "description": "End date for transactions (YYYY-MM-DD)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve enriched transaction data for an account. Data available for up to two years prior to the current date."
        }
      ]
    }
  ],
  "bundled": true
}