post /insurance/motor/v1/renewals
This endpoint to renew policy.
Request Header
Name |
Type |
Required |
Description |
authorization |
string |
Required |
Bearer token |
content-type |
string |
Required |
application/json |
Request Body
Name |
Type |
Required |
Description |
trans_no |
string |
Required |
Unique string that the client can create to track the current request call. |
sale_channel |
string |
Required |
Sales channel code to collect transactions.
|
renewal_id |
guid |
Required |
The renewal notice id |
total_premium |
decimal(18,2) |
Required |
Total premium according to quotation |
transaction_by |
guid |
Required |
Globally unique identifier value of the user id Provided by AXA |
delivery_options |
object |
Optional |
Option to send policy-related attachments via email.
Json object containing details of the Delivery Options |
Example request
Response
Name |
Type |
Description |
trans_no |
string |
Unique string the client made the request |
status |
string |
Renew status
|
message |
string |
|
policy_id |
string |
Unique Policy id |
policy_no |
string |
Policy number |
policy_type |
string |
Type of policy
|
package_key |
string |
Package key |
package_name |
string |
Package name |
downloads |
array[object] |
Array of Download |
Example response
Download Reference
Name |
Type |
Description |
type |
string |
Type of download
- Schedule
- Taxinvoice
- KnockForKnock
- Natcat
- Accessory
- PolicyWording
|
layer |
string |
Type of layer
|
link |
string |
Hyperlink points to a whole document |
header |
bool |
With document header
|