OBJECT

WebhookEvent

Returns the webhooks event linked to a webhook.

link GraphQL Schema definition

  • type WebhookEvent implements Node {
  • createdAt: ISO8601DateTime!
  • # The name of the event executed
  • eventName: String
  • id: ID!
  • # Invoice
  • invoice: Invoice
  • # Payload supplied as JSON that can be used to access further information of the
  • # event
  • payload: JSON
  • # Refund Request
  • refundRequest: RefundRequest
  • # Webhook event responses
  • responses: [WebhookEventResponse!]
  • # Sent At
  • sentAt: ISO8601DateTime!
  • # Shipment
  • shipment: Shipment
  • # Whether this event was skipped (only relevant if webhook has "allowSkip" set
  • # true)
  • skipped: Boolean
  • }