I have a reactjs app with Django as backend. There\'s a page that has a toggle which makes an API call to the backend
updateIsPaid: id => instance(