Docs

Docs

  • Support

›Notifications

Ticket Cancellation SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase
  • Example

Ticket Cancellation API

  • Quote
  • Policy

Device SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Device API

  • Quote
  • Policy

Home SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Home API

  • Quote
  • Policy

Travel SDK

  • Introduction
  • Configuration
  • Insurance Recommendation
  • Finalise Purchase

Travel API

  • Configuration Params
  • Quote
  • Quote by Product
  • Policy

Authentication

  • Authentication

Support

  • Support

Notifications

  • Get notified

Get notified

Webhooks

The API also exposes number of events to your own API webhook endpoint.

The webhooks are following a pattern of [resource].[action], eg: insurance.claimed.

The currently available events can be seen below:

insurance.created event

{
  "event": "insurance.created",
  "insurance": {
    "id": "INS_a4f05a54a184",
    "tickets": [
      "ticket-id-1",
      "ticket-id-2",
    ],
    "createdAt": 1559391792
  }
}

insurance.claimed event

{
  "event": "insurance.claimed",
  "insurance": {
    "id": "INS_a4f05a54a184",
    "tickets": [
      "ticket-id-1",
      "ticket-id-2"
    ],
    "createdAt": 1559391792
  },
  "ticket": "ticket-id-1"
}
← Support
  • Webhooks
  • insurance.created event
  • insurance.claimed event
Docs
Docs
SDK
Copyright © 2019 Vernsurance