WebhookSubscriptionUpdateRequest
entityWebhookEntity (string)
Possible values: [OPT_IN_CREATED, OPT_IN_RECURRENCE_UPDATED, SCHEDULE_ACCESS_REQUEST, COLLECTION_CONTRACT_CREATION, COLLECTION_CONTRACT, COLLATERALIZED_CREDIT_CONTRACT, COLLATERALIZED_CREDIT_ESCROW_ACCOUNT]
Example:
COLLECTION_CONTRACTwebhookUrlstring<uri>
Replacement public HTTPS callback URL for future deliveries.
Example:
https://example.com/destrava/webhooks/updatedauth object
Optional outbound authentication configuration sent with webhook deliveries.
typeWebhookAuthType (string)required
Possible values: [BASIC, BEARER, API_KEY]
Example:
API_KEYloginstring
Username, API-key header name, or other public auth identifier. Required for BASIC and API_KEY.
Example:
X-Webhook-KeyWebhookSubscriptionUpdateRequest
{
"entity": "COLLECTION_CONTRACT",
"webhookUrl": "https://example.com/destrava/webhooks/updated",
"auth": {
"type": "API_KEY",
"login": "X-Webhook-Key"
}
}