WebhookSubscriptionListResponse
subscriptions object[]obrigatório
Lista [
subscriptionIdstringobrigatório
Valores possíveis: não vazio
Exemplo
2w3Y2QeS0TtV3X9nZ5aBcD1eF6gentityWebhookEntity (string)obrigatório
Valores possíveis: [SCHEDULE_ACCESS_REQUEST, COLLECTION_CONTRACT_CREATION, COLLECTION_CONTRACT, COLLATERALIZED_CREDIT_CONTRACT, COLLATERALIZED_CREDIT_ESCROW_ACCOUNT, AGENDA_CONSOLIDATED, NUCLEA_CONTRACT, NUCLEA_SCHEDULE_QUERY]
Exemplo
COLLECTION_CONTRACTwebhookUrlstring<uri>obrigatório
Exemplo
https://example.com/destrava/webhooksactivebooleanobrigatório
Exemplo
truestatusWebhookSubscriptionStatus (string)obrigatório
Valores possíveis: [ACTIVE, PAUSED, DEACTIVATED]
Exemplo
ACTIVEsignatureSecretConfiguredbooleanobrigatório
Whether a signature secret is stored encrypted.
Exemplo
trueauth object
typeWebhookAuthType (string)obrigatório
Valores possíveis: [BASIC, BEARER, API_KEY]
Exemplo
BEARERloginstring
Exemplo
X-Client-Webhook-Keyconfiguredbooleanobrigatório
Whether an encrypted authentication secret is configured.
Exemplo
truecreatedAtstring<date-time>obrigatório
updatedAtstring<date-time>obrigatório
]
WebhookSubscriptionListResponse
{
"subscriptions": [
{
"subscriptionId": "2w3Y2QeS0TtV3X9nZ5aBcD1eF6g",
"entity": "COLLECTION_CONTRACT",
"webhookUrl": "https://example.com/destrava/webhooks",
"active": true,
"status": "ACTIVE",
"signatureSecretConfigured": true,
"auth": {
"type": "BEARER",
"login": "X-Client-Webhook-Key",
"configured": true
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
]
}