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