
boa tarde, pessoal.
estou com problemas ao tentar configurar o webhook em node.js
estou recebendo a resposta:
{
"result": {
"nome": "erro_interno_servidor",
"mensagem": "Erro interno do servidor"
}
}
metado chamado:
let body = {
"webhookUrl": "https://api.chafè.com/dev/webhook"
//"webhookUrl": "https://api.xn--chaf-8oa.com/dev/webhook"
}
let params = {
chave: "+5521983222997"
}
try{
const response = await gerencianet.pixConfigWebhook(params, body)
return response;
}catch(e){
console.error("--> Erro ao configurar pixConfigWebhook", e);
return e;
}
alguém pode me ajudar ?