UpdateWebhookDto
reset_secretbooleanRequired
subscribed_toenumRequired
Possible enum values
OnIgnoreOnOrderCompletedOnRefundOnChargebackOnDeliveryItemAddedOnDeliveryItemActivatedOnDeliveryItemUsedOnDeliveryItemRevokedOnSubscriptionActivatedOnSubscriptionRenewedOnSubscriptionCanceledOnDiscordOrderActionsQueuedOnConnectedUserRegisteredOnConnectedUserBecamePayableOnConnectedUserPayoutCreatedOnConnectedUserPayoutCompletedOnConnectedUserTransactionInsertedOnConnectedUserBecameUnpayableOnTrialActivatedOnTrialCompletedOnTrialCanceledOnPurchaseFollowUpAttemptEmailSentOnPurchaseFollowUpAttemptSucceededOnAbandonedCheckoutRecoveryAttemptEmailSentOnAbandonedCheckoutRecoveryAttemptSucceededOnChargebackClosedOnDeliveryItemExpiredOnDeliveryItemRenewedOnConnectedUserTrustStatusChangedOnPaymentCompletedOnPaymentFailed
urlstringRequired
discord_colorstringOptional
discord_description_templatestringOptional
discord_formatenumOptional
Specifies how a Discord webhook renders its message.
Possible enum values
InvalidNo format specified. This value is typically used as a default or uninitialized state.
EmbedThe message is sent as a rich embed with the configured title, colour and description.
TextThe message is sent as plain text rendered from the description template.
discord_titlestringOptional
Example
{
"reset_secret": true,
"subscribed_to": "OnIgnore",
"url": "string",
"discord_color": "string",
"discord_description_template": "string",
"discord_format": "Invalid",
"discord_title": "string"
}