Tint API
Search…
POLICY:CANCELLED
This webhook is called as soon as a policy cancellation request has been received by the Tint platform. The payload is sent at the cancellation request, not at the effective cancellation date (ie after the cancellation notice or cancel at).
1
{
2
"trigger": {
3
"event": "POLICY:CANCELLED",
4
"payload": {
5
"cancelledAt": "2020-12-01T10:46:41.829Z"
6
}
7
},
8
"policy": {
9
"id": "080949ea-0de3-4690-8cb4-6f558118d7e5",
10
"session_identifier": {
11
"user_id": "unique-user-id"
12
},
13
"insurance_product_version": {
14
"id": "38855d0d-4305-468c-bde7-5246f82667bd",
15
"name": "+10 margin (Jan. 2021)",
16
"traffic_rate": 0.75
17
},
18
"policy_details": {
19
"custom_id": "P-7600BN1",
20
"start_date": "2019-10-30T12:00:00.00Z",
21
"end_date": "2019-11-02T12:00:00.00Z",
22
"asset": {
23
"custom_id": "T-09918",
24
"type": "car",
25
"vehicle_make": "Toyota",
26
"vehicle_model": "Camry",
27
"vehicle_year": 2018
28
},
29
"renter": {
30
"custom_id": "U-73610",
31
"email_address": "[email protected]"
32
},
33
"payment": {
34
"id": "P-VS84990",
35
"bank": "Bank of America",
36
"name_on_card": "John Doe",
37
"card_brand": "VISA",
38
"card_type": "credit",
39
"success": true,
40
"cvc_check_success": true,
41
"zip_check_success": true,
42
"extra": {}
43
}
44
},
45
"created_at": "2019-09-17T00:00:00.00Z",
46
"updated_at": "2019-09-18T00:00:00.00Z",
47
"confirmed_at": "2020-12-01T09:44:23.924Z",
48
"issued_at": "2020-12-01T09:44:23.924Z",
49
"subscribed_quote": {
50
"id": "797ea252-8ee1-4583-b166-7f4ff4a00776",
51
"end_user_written_premium": 49,
52
"insurance_plan": {
53
"id": "eb6d91f6-8ce7-4658-9c26-32ede3342618",
54
"name": "Peace of Mind",
55
"custom_attributes": {}
56
},
57
"coverages": {
58
"physical-damage": {
59
"name": "Physical Damage",
60
"description": null,
61
"premium": 59,
62
"limit": 1000000,
63
"deductible": 1500,
64
"security_deposit": 3000,
65
"custom_attributes": {}
66
}
67
}
68
},
69
"effective_date": "2020-05-01T12:00:00.000Z",
70
"term_end_date": "2020-05-09T12:00:00.000Z",
71
"cancelled_at": "2020-12-01T10:46:41.829Z"
72
}
73
}
Copied!
Copy link