const response = await fetch('/api/services/app/DC_DiscordWallets/DiscordWebhookSendOTP', {
method: 'POST',
headers: {
"Content-Type": "application/json-patch+json"
},
body: JSON.stringify({
"discordId": "text",
"stakeAddress": "text",
"webhookUrl": "text"
}),
});
const data = await response.json();