Subscribed Quote
SubscribedQuote is very similar to the Quote, but with a single difference: the calculated_premium is replaced by the charged_premium:
1
{
2
"id": "797ea252-8ee1-4583-b166-7f4ff4a00776",
3
"charged_premium": 49,
4
"insurance_plan": {
5
"id": "eb6d91f6-8ce7-4658-9c26-32ede3342618",
6
"name": "Peace of Mind",
7
"custom_attributes": {}
8
},
9
"coverages": {
10
"physical-damage": {
11
"name": "Physical Damage",
12
"description": null,
13
"premium": 59,
14
"limit": 1000000,
15
"deductible": 1500,
16
"security_deposit": 3000,
17
"custom_attributes": {}
18
}
19
}
20
}
Copied!
It is represented by a JSON object with the following attributes:
Field
Type
Description
id
UUID v4
Tint quote ID
charged_premium
Float
Charged premium for the subscription
insurance_plan
Plan attached to the current quote
coverages
Map of coverages
Coverage details attached to the quote, indexed by coverage slugs.
Charged and calculated premiums may differ. The calculated premium is the premium the underlying model has calculated. This is the theoretic premium. The charged premium is the amount you practically charged to your end user.
Last modified 1mo ago
Copy link