fetch('https://www.etsy.com/api/v3/ajax/shop/shopID/plaid-integration/flow/same-day-micro-deposits/execute', { method: 'POST', body: '{"publicToken":"Rpublic-token","plaidLinkAccountId":"RaccoountID","plaidLinkSessionId":"Rsession-id"}', headers: new Headers({ 'Content-Type': 'application/json', 'cookie':'Rcookie', 'x-csrf-token': 'Rcsrf' }) }) .then(res => res.json()) .then(console.log)