{ "info": { "_postman_id": "ed4f1e95-3b43-47e4-9e54-7acc2ebbd28d", "name": "Bank Statement API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Get Token", "item": [ { "name": "Get token", "event": [ { "listen": "test", "script": { "exec": [ "let jsonData = pm.response.json();\r", "pm.collectionVariables.set(\"BearerToken\", jsonData.access_token);" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "appClientId", "value": "{{ClientId}}", "type": "text" }, { "key": "appClientSecret", "value": "{{ClientSecret}}", "type": "text" }, { "key": "X-Correlation-ID", "value": "{{$guid}}", "type": "text" }, { "key": "X-Source-System", "value": "", "type": "text", "disabled": true } ], "url": { "raw": "https://{{PUBLIC_HOST}}{{BASE_PATH_TOKEN_SERVICE}}/token?Scope=Informational", "protocol": "https", "host": [ "{{PUBLIC_HOST}}{{BASE_PATH_TOKEN_SERVICE}}" ], "path": [ "token" ], "query": [ { "key": "Scope", "value": "Informational" } ] } }, "response": [] } ] }, { "name": "Health Check", "item": [ { "name": "Healthcheck", "event": [ { "listen": "test", "script": { "exec": [ "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "X-Correlation-ID", "value": "{{$guid}}", "type": "text" }, { "key": "X-Source-System", "value": "", "type": "text", "disabled": true }, { "key": "X-Dependent-Ping", "value": "false", "type": "text" } ], "url": { "raw": "https://{{PUBLIC_HOST}}{{BASE_PATH_BANKSTMT_SERVICE}}/healthcheck", "protocol": "https", "host": [ "{{PUBLIC_HOST}}{{BASE_PATH_BANKSTMT_SERVICE}}" ], "path": [ "healthcheck" ] } }, "response": [] } ] }, { "name": "Get Bank Statement API", "item": [ { "name": "Bank Statements API", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BearerToken}}", "type": "string" } ] }, "method": "GET", "header": [ { "key": "X-Correlation-ID", "value": "{{$guid}}", "type": "text" }, { "key": "X-Source-System", "value": "", "type": "text", "disabled": true } ], "url": { "raw": "https://{{PUBLIC_HOST}}{{BASE_PATH_BANKSTMT_SERVICE}}/img/documents/statement?AccountNumber=&Period=", "protocol": "https", "host": [ "{{PUBLIC_HOST}}{{BASE_PATH_BANKSTMT_SERVICE}}" ], "path": [ "img", "documents", "statement" ], "query": [ { "key": "AccountNumber", "value": "" }, { "key": "Period", "value": "", "description": "YYYYMM" } ] } }, "response": [] } ] } ], "event": [ { "listen": "prerequest", "script": { "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "type": "text/javascript", "exec": [ "" ] } } ], "variable": [ { "key": "BearerToken", "value": "", "type": "default" }, { "key": "PUBLIC_HOST", "value": "api-connect.westernalliancebank.com", "type": "default" }, { "key": "AccountNumber", "value": "", "type": "default" }, { "key": "ClientId", "value": "", "type": "default" }, { "key": "ClientSecret", "value": "", "type": "default" }, { "key": "BASE_PATH_TOKEN_SERVICE", "value": "/entitlements-get-token-eapi/api/v1", "type": "default" }, { "key": "BASE_PATH_BANKSTMT_SERVICE", "value": "/info-bank-statements-eapi/api/v1", "type": "default" } ] }