This method is used to book an insurance.
If you are using this endpoint within a loop we highly recommend adding a gap/delay between each iteration.
| Method | URI | Headers |
|---|---|---|
| POST | insurances/{insurance_id}/book |
default |
Successful
{
"success": true,
"data": {
"id": 1234567891
},
"message": "Insurance has been booked"
}
Failed
{
"success": false,
"message": "This insurance already booked"
}
{
"success": false,
"message": "This insurance is already in progress"
}
{
"success": false,
"message": "There was an error in proceeding with this insurance"
}
{
"success": false,
"message": "Something went wrong. Please contact our support"
}