Saltar al contenido principal

UpdateWebhookInput

Input for updateWebhook. Send every field: the values replace the stored ones.

input UpdateWebhookInput {
id: ID!
url: String!
eventTypes: [WebhookEventType!]!
enabled: Boolean!
}

Fields​

UpdateWebhookInput.id ● ID! non-null scalar​

ID of the webhook to update, from webhooks.

UpdateWebhookInput.url ● String! non-null scalar​

URL that receives the events. Must be a valid URL. MONEI delivers only to http:// and https:// URLs.

UpdateWebhookInput.eventTypes ● [WebhookEventType!]! non-null enum​

Event types the webhook receives. Replaces the stored list.

UpdateWebhookInput.enabled ● Boolean! non-null scalar​

Whether MONEI sends events to the webhook. When true, MONEI first sends a signed test request and saves nothing unless the URL answers with a 2xx status.

Member Of​

updateWebhook mutation