Pular para o conteúdo principal

WebhookDeliverySummaryResponse

totalDeliveriesintegerobrigatório

Valores possíveis: >= 0

Exemplo 12
subscriptions object[]obrigatório
  • Lista [
  • subscriptionIdstringobrigatório
    Exemplo sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5
    eventTypenotifications_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_CONTRACT
    webhookUrlstring<uri>obrigatório
    Exemplo https://example.com/destrava/webhooks
    totalDeliveriesintegerobrigatório

    Valores possíveis: >= 0

    Exemplo 12
    statuses object[]obrigatório
  • Lista [
  • statusWebhookDeliveryStatus (string)obrigatório

    Valores possíveis: [PENDING, IN_PROGRESS, DELIVERED, FAILED, CANCELLED]

    Exemplo FAILED
    deliveriesintegerobrigatório

    Valores possíveis: >= 0

    Exemplo 3
  • ]
  • ]
  • WebhookDeliverySummaryResponse
    {
    "totalDeliveries": 12,
    "subscriptions": [
    {
    "subscriptionId": "sub_01HZY7E6R4G7Z2M6D3T0Q9X4K5",
    "eventType": "COLLECTION_CONTRACT",
    "webhookUrl": "https://example.com/destrava/webhooks",
    "totalDeliveries": 12,
    "statuses": [
    {
    "status": "FAILED",
    "deliveries": 3
    }
    ]
    }
    ]
    }