WebhookSubscriptionResponse
sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5Valores possíveis: [OPT_IN_CREATED, OPT_IN_RECURRENCE_UPDATED, SCHEDULE_ACCESS_REQUEST, COLLECTION_CONTRACT_CREATION, COLLECTION_CONTRACT, COLLATERALIZED_CREDIT_CONTRACT, COLLATERALIZED_CREDIT_ESCROW_ACCOUNT]
COLLECTION_CONTRACThttps://example.com/destrava/webhooksIndicador de compatibilidade para elegibilidade da entrega. Prefira status para representar o estado na interface.
trueEntregas ACTIVE são elegíveis, PAUSED mantém a configuração sem novas entregas e DEACTIVATED representa a remoção lógica com o histórico preservado.
Valores possíveis: [ACTIVE, PAUSED, DEACTIVATED]
ACTIVEVerdadeiro quando há um segredo de assinatura HMAC configurado; o segredo original nunca é retornado.
true2026-06-17T12:00:00Z2026-06-17T12:10:00Zauth object
Valores possíveis: [BASIC, BEARER, API_KEY]
API_KEYIdentificador público de autenticação. O valor secreto nunca é retornado.
X-Webhook-KeyVerdadeiro quando há um segredo de autenticação de saída configurado.
true{
"subscriptionId": "sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5",
"entity": "COLLECTION_CONTRACT",
"webhookUrl": "https://example.com/destrava/webhooks",
"active": true,
"status": "ACTIVE",
"signatureSecretConfigured": true,
"createdAt": "2026-06-17T12:00:00Z",
"updatedAt": "2026-06-17T12:10:00Z",
"auth": {
"type": "API_KEY",
"login": "X-Webhook-Key",
"configured": true
}
}