Histórico de mensagens sobre pix

EXIBINDO CONVERSAS RECENTES:

Texto: pix
Data: 10/03/2025
# pix
Avatar discord do usuario gov.mx

gov.mx

alguem de vcs ja instalaram a api pix pelo bolt.new

# pix
Avatar discord do usuario rfr0120

rfr0120

public void attachOurServerWebhookToEfiPayToReceivePaymentNotifications(String webhookUrl, String pixPaymentKey) {
HttpHeaders headers = new HttpHeaders();
String accessToken = authenticate().getAccessToken();
headers.setBearerAuth(accessToken);
headers.set("x-skip-mtls-checking", "true");

WebhookRequest webhookRequest = new WebhookRequest(webhookUrl);

try {
String jsonBody = objectMapper.writeValueAsString(webhookRequest);
ResponseEntity response = restTemplate.exchange(URL + "/v2/webhook/" + pixPaymentKey,
HttpMethod.PUT, new HttpEntity<>(jsonBody, headers), String.class);
LOGGER.info("Resposta do EfiPay: {}", response.getBody());

} catch (Exception e) {
LOGGER.error(e.getMessage());
}
}

# pix
Avatar discord do usuario joaolucas_efi

joaolucas_efi

Ver Respostas

@rfr0120 no caso você esta enviando o body da requisição vazio.
O body deve ter algo como:

{
"webhookUrl": "https://exemplo-pix/webhook"
}

# pix
Avatar discord do usuario rfr0120

rfr0120

Ver Respostas

public void attachOurServerWebhookToEfiPayToReceivePaymentNotifications(String webhookUrl, String pixPaymentKey) {
HttpHeaders headers = new HttpHeaders();
String accessToken = authenticate().getAccessToken();
headers.setBearerAuth(accessToken);
headers.set("x-skip-mtls-checking", "true");

Map body = new HashMap();
body.put("webhookUrl", webhookUrl);

try {
Map response = restTemplate.exchange(URL + "/v2/webhook/" + pixPaymentKey, HttpMethod.PUT,
new HttpEntity<>(body, headers), new ParameterizedTypeReference>() {
}).getBody();
LOGGER.info(response.toString());

} catch (Exception e) {
LOGGER.error(e.getMessage());
}
}

# pagamento-contas
Avatar discord do usuario batmanmovel

batmanmovel

Ver Respostas

Olá bom dia, como podemos negociar as taxas de API de PIX tenho um volumetria interessante

# pix
Avatar discord do usuario jessica_efi

jessica_efi

Ver Respostas

Você esta tratando o /pix que é acrescido ao enviarmos a notificação via POST ​/pix ?
Exemplo: Você configurou o webhook https://seudominio.com/webhook, a notificação vai para https://seudominio.com/webhook/pix