WebhookSubscriptionDeliverySummary
subscriptionIdstringobrigatório
Exemplo
sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5eventTypenotifications_WebhookEntity (string)obrigatório
Valores possíveis: [OPT_IN_CREATED, OPT_IN_RECURRENCE_UPDATED, SCHEDULE_ACCESS_REQUEST, COLLECTION_CONTRACT_CREATION, COLLECTION_CONTRACT, COLLATERALIZED_CREDIT_CONTRACT, COLLATERALIZED_CREDIT_ESCROW_ACCOUNT]
Exemplo
COLLECTION_CONTRACTwebhookUrlstring<uri>obrigatório
Exemplo
https://example.com/destrava/webhookstotalDeliveriesintegerobrigatório
Valores possíveis: >= 0
Exemplo
12statuses object[]obrigatório
Lista [
statusWebhookDeliveryStatus (string)obrigatório
Valores possíveis: [PENDING, IN_PROGRESS, DELIVERED, FAILED, CANCELLED]
Exemplo
FAILEDdeliveriesintegerobrigatório
Valores possíveis: >= 0
Exemplo
3]
WebhookSubscriptionDeliverySummary
{
"subscriptionId": "sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5",
"eventType": "COLLECTION_CONTRACT",
"webhookUrl": "https://example.com/destrava/webhooks",
"totalDeliveries": 12,
"statuses": [
{
"status": "FAILED",
"deliveries": 3
}
]
}