const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v2/statements/{statementId}/download', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));