Cancel Policy
V3
put /insurance/motor/v3/policies/{policy_id}/cancel?hash={hash}
This endpoint to cancel 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. |
policy_id | guid | Required | The policy id |
hash | string | Required | The hash value of the policy id. |
reason | string | Required |
Reason for cancellation
Max length: 500 |
transaction_by | guid | Required | Globally unique identifier value of the user id Provided by AXA |
Example request
Response
Name | Type | Description |
---|---|---|
trans_no | string | Unique string the client made the request |
status | string | Cancel status |
message | string |