Calculate policy cost based on the full form
This method takes a complete form with information on the vehicle, drivers, owner, and policyholder.
When a request is generated, a request_hash
is created, which is a unique policy identifier used for data exchange during the integration.
POST /osago/policy/calculate
request
Name |
Type |
Required |
Description |
car |
|
true |
Vehicle information |
car.car_number |
|
true |
License plate number |
car.brand_id |
|
true |
Brand |
car.model_id |
|
true |
Model |
car.manufacture_year |
|
true |
Year of manufacture |
car.engine_power |
|
true |
Engine power, hp / kW |
car.car_identity_type |
|
true |
Vehicle ID |
car.chassis_number |
|
true |
Chassis number |
car.body_number |
|
true |
Body number |
car.vin_number |
|
true |
VIN |
document |
|
true |
Vehicle documents |
document.type |
|
true |
Type of document (STS, PTS, EPTS): [sts, pts, epts] |
document.number |
|
true |
Series and number of STS, PTS: [0–9]{10}, EPTS: [0–9] |
document.issue_date |
|
true |
Date of issue |
owner |
|
true |
Vehicle owner |
owner.full_name |
|
true |
Last name, first name, patronymic |
owner.birth_date |
|
true |
Date of birth |
owner.passport.series |
|
true |
Passport series |
owner.passport.number |
|
true |
Passport number |
owner.passport.issue_date |
|
true |
Passport issue date |
owner.registration_address |
|
true |
Registration address |
owner.flat_number |
|
true |
Apartment number |
drivers |
|
true |
Array of drivers |
driver.full_name |
|
true |
Last name, first name, patronymic |
driver.birth_date |
|
true |
Date of birth |
driver.drive_license.series |
|
true |
Series of active driver's license |
driver.drive_license.number |
|
true |
Driver's license number |
driver.expeience_start_date |
|
true |
Date the class B license was obtained |
insurer |
|
true |
Insurer |
insurer.full_name |
|
true |
Last name, first name, patronymic |
insurer.birth_date |
|
true |
Date of birth |
insurer.passport.series |
|
true |
Passport series |
insurer.passport.number |
|
true |
Passport number |
insurer.passport.issue_date |
|
true |
Passport issue date |
insurer.registration_address |
|
true |
Registration address |
insurer.flat_number |
|
true |
Apartment number |
policy |
|
true |
Insurance policy |
policy.start_date |
|
true |
Policy start date |
contacts |
|
true |
Insurer's contacts |
contacts.email |
|
true |
Email to receive the policy |
contacts.phone_number |
|
true |
Phone number |
request_hash |
|
true |
Request ID |
response
Name |
Type |
Required |
Description |
request_hash |
|
true |
Request ID |
status |
|
true |
Calculation status |
price |
|
true |
Cost |
start_date |
|
true |
Policy start date |
finish_date |
|
false |
Policy end date (1 year by default) |
draft_link |
|
true |
Link to policy draft in PDF |
additional_info |
|
false |
Additional information |
or (for asynchronous interaction)
Name |
Type |
Required |
Description |
request_hash |
|
true |
Request ID |
status |
|
true |
Calculation status |
additional_info |
|
false |
Additional information |