fetch('/payment', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Accept': 'application/json', 'url': '/payment', "X-CSRF-Token": document.querySelector('input[name=_token]').value }, })