Pular para o conteúdo principal
POST
/
api
/
resend-webhook
/
{transactionIdentifier}
Reenviar webhook de transação
curl --request POST \
  --url https://api.public.firebanking.com.br/api/resend-webhook/{transactionIdentifier} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://meu-servidor.com/webhooks/avista"
}
'
{
  "message": "Webhook resent successfully",
  "webhookLogId": 12345,
  "sentAt": "2024-01-15T10:30:00.000Z",
  "statusCode": 200
}

Autorizações

Authorization
string
header
obrigatório

Enter JWT token

Parâmetros de caminho

transactionIdentifier
string
obrigatório

Identificador da transação (seu ID de referência ou o ID retornado pela Fire Banking)

Exemplo:

"abc123-def456-ghi789"

Corpo

application/json
url
string<uri>

URL temporária para este reenvio específico. Se não fornecida, usa a URL configurada no webhook da conta. A URL não é persistida.

Exemplo:

"https://meu-servidor.com/webhooks/avista"

Resposta

Webhook reenviado com sucesso

message
string
obrigatório

Mensagem descritiva do resultado

Exemplo:

"Webhook resent successfully"

webhookLogId
number

ID do log de webhook gerado para auditoria

Exemplo:

12345

sentAt
string

Data/hora do envio do webhook (ISO 8601)

Exemplo:

"2024-01-15T10:30:00.000Z"

statusCode
number

Código de status HTTP retornado pela URL de destino

Exemplo:

200