{"info":{"_postman_id":"2b74959b-3bc1-5e94-ffb0-fda62dd9244a","name":"NABAPI","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Fx rates","item":[{"name":"get Fx rates","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");"]}}],"id":"fcc74725-c439-a4b9-1bae-8dd2bcdc2d7a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/fxrates?v=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","fxrates"],"query":[{"key":"v","value":"1"}]},"description":"get fx rates"},"response":[],"_postman_id":"fcc74725-c439-a4b9-1bae-8dd2bcdc2d7a"}],"id":"12aa3960-06b4-4007-80ee-1b62b19bd4dd","_postman_id":"12aa3960-06b4-4007-80ee-1b62b19bd4dd"},{"name":"Locations","item":[{"name":"Get Locations","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");","","",""]}}],"id":"709eef04-5e4d-dbed-f326-0fadd5aa7a22","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/locations?v=1&locationType=atm&startIndex=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","locations"],"query":[{"key":"v","value":"1"},{"key":"locationType","value":"atm"},{"key":"startIndex","value":"1"}]},"description":"Get Locations"},"response":[],"_postman_id":"709eef04-5e4d-dbed-f326-0fadd5aa7a22"},{"name":"Get Locations by Address","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");",""]}}],"id":"0a0984c2-2821-d2e5-51d9-0e5b1fbfd294","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/locations?v=1&locationType=atm&searchCriteria=addr&address=7030+TAS+Australia&startIndex=1&endIndex=10&radius=10&radiusB=1&radiusC=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","locations"],"query":[{"key":"v","value":"1"},{"key":"locationType","value":"atm"},{"key":"searchCriteria","value":"addr"},{"key":"address","value":"7030+TAS+Australia"},{"key":"startIndex","value":"1"},{"key":"endIndex","value":"10"},{"key":"radius","value":"10"},{"key":"radiusB","value":"1"},{"key":"radiusC","value":"1"}]},"description":"Get Locations by Address"},"response":[],"_postman_id":"0a0984c2-2821-d2e5-51d9-0e5b1fbfd294"},{"name":"Get Locations by Geo Coordinates- basic","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");","",""]}}],"id":"2958b376-72d2-8d97-2fff-0c629b0b6776","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/locations?v=1&locationType=abc&searchCriteria=geo&swLat=-44.9&neLat=-10.4&neLng=153.800&swLng=112.7600&startIndex=1&endIndex=1&fields=basic","protocol":"https","host":["sandbox","api","nab"],"path":["v2","locations"],"query":[{"key":"v","value":"1"},{"key":"locationType","value":"abc"},{"key":"searchCriteria","value":"geo"},{"key":"swLat","value":"-44.9"},{"key":"neLat","value":"-10.4"},{"key":"neLng","value":"153.800"},{"key":"swLng","value":"112.7600"},{"key":"startIndex","value":"1"},{"key":"endIndex","value":"1"},{"key":"fields","value":"basic"}]}},"response":[],"_postman_id":"2958b376-72d2-8d97-2fff-0c629b0b6776"},{"name":"Get Location","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");",""]}}],"id":"c61b2e81-0ceb-c602-e7cd-c483cd9ce545","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/location/atm_2A05?v=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","location","atm_2A05"],"query":[{"key":"v","value":"1"}]}},"response":[],"_postman_id":"c61b2e81-0ceb-c602-e7cd-c483cd9ce545"},{"name":"Get Locations by Geo Coordinates -extended","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");"]}}],"id":"efdd8871-46a9-fcfb-867e-7525f95d2d0a","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-nab-key","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/locations?v=1&locationType=abc&searchCriteria=geo&swLat=-44.9&neLat=-10.4&neLng=153.800&swLng=112.7600&startIndex=1&endIndex=1&fields=extended","protocol":"https","host":["sandbox","api","nab"],"path":["v2","locations"],"query":[{"key":"v","value":"1"},{"key":"locationType","value":"abc"},{"key":"searchCriteria","value":"geo"},{"key":"swLat","value":"-44.9"},{"key":"neLat","value":"-10.4"},{"key":"neLng","value":"153.800"},{"key":"swLng","value":"112.7600"},{"key":"startIndex","value":"1"},{"key":"endIndex","value":"1"},{"key":"fields","value":"extended"}]}},"response":[],"_postman_id":"efdd8871-46a9-fcfb-867e-7525f95d2d0a"}],"id":"ebba8a1b-7da0-baab-6448-b26990517e98","_postman_id":"ebba8a1b-7da0-baab-6448-b26990517e98"},{"name":"Accounts","item":[{"name":"Get List of Accounts","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");","","var responseData = JSON.parse(responseBody);","postman.setGlobalVariable(\"accountToken\",responseData.response.accountSummaries[0].accountToken);","postman.setGlobalVariable(\"accountToken2\",responseData.response.accountSummaries[1].accountToken);","postman.setGlobalVariable(\"accountToken3\",responseData.response.accountSummaries[2].accountToken);"]}}],"id":"77114584-4fab-00f5-8875-96fcf6f509a4","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://sandbox.api.nab/v2/accounts?v=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","accounts"],"query":[{"key":"v","value":"1"}]}},"response":[],"_postman_id":"77114584-4fab-00f5-8875-96fcf6f509a4"},{"name":"Get Selected Account Balance","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Status code is 200\"] = responseCode.code === 200;","","tests[\"Content-Type is present\"] = postman.getResponseHeader(\"Content-Type\");"]}}],"id":"9f2b5218-a45d-cfb8-5000-5ce1dec57554","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":""},{"key":"Origin","value":""}],"body":{"mode":"raw","raw":"{\r\n    \"request\": {\r\n        \"baseCurrency\": \"AUD\",\r\n        \"accounts\": [\r\n            {\r\n                \"accountToken\": \"{{accountToken}}\"\r\n            },\r\n            {\r\n                \"accountToken\": \"{{accountToken2}}\"\r\n            },\r\n            {\r\n                \"accountToken\": \"{{accountToken3}}\"\r\n            }\r\n        ]\r\n    }\r\n}"},"url":{"raw":"https://sandbox.api.nab/v2/accounts/balance?v=1","protocol":"https","host":["sandbox","api","nab"],"path":["v2","accounts","balance"],"query":[{"key":"v","value":"1"}]}},"response":[],"_postman_id":"9f2b5218-a45d-cfb8-5000-5ce1dec57554"}],"id":"c3dcf68e-5146-65a4-eac5-837a464c92d0","_postman_id":"c3dcf68e-5146-65a4-eac5-837a464c92d0"}]}