Histórico

EXIBINDO RESPOSTAS:

Avatar discord do usuario gabreudev

gabreudev

Ver no Discord

JSONObject options = configuringJsonObject();

options.put("x-skip-mtls-checking", "true");

HashMap params = new HashMap<>();
params.put("chave", "minhachave");

JSONObject body = new JSONObject();
body.put("webhookUrl", "https://37c3-45-170-222-201.ngrok-free.app/webhook/");

try {
EfiPay efi = new EfiPay(options);
JSONObject response = efi.call("pixConfigWebhook", params, body);
System.out.println(response);
return response;

}catch (EfiPayException e){
System.out.println(e.getError());
System.out.println(e.getErrorDescription());
return null;
}

Avatar discord do usuario un0w.

un0w.

Ver no Discord

desativa o pulo da checagem mtls e tenta de novo