Cancellations API
See also
See Cancellations and Reinstatements for an overview of Cancellations functionality. See Reinstatements API for information about using Reinstatements in the API.
Endpoint Index
| Action | Endpoint |
|---|---|
| Fetch a grace period | GET /gracePeriod/{gracePeriodLocator} |
| Update a grace period | PATCH /gracePeriod/{gracePeriodLocator} |
| Create a cancellation | POST /policies/{locator}/cancellations |
| Fetch a cancellation | GET /cancellations/{locator} |
| Update a cancellation | PATCH /cancellations/{locator} |
| Issue a cancellation | PATCH /cancellations/{locator}/issue |
| Rescind a cancellation | PATCH /cancellations/{locator}/rescind |
| Fetch Pricing for a cancellation | GET /cancellations/{locator}/price |
| Fetch cancellations for a policy | GET /policies/{locator}/cancellations |
| Fetch grace periods for a policy | GET /policy/{policyLocator}/gracePeriods |
Grace Periods
GET /gracePeriod/{gracePeriodLocator}| Name | Position | Type | Required |
|---|---|---|---|
| gracePeriodLocator | path | string | required |
GracePeriodResponserequiredlocator stringpolicyholderLocator stringpolicyLocator stringproductLocator stringstartTimestamp timestampendTimestamp timestampinvoiceLocator stringpolicyId string (deprecated)optionalcancellationLocator stringcancelEffectiveTimestamp timestampsettledTimestamp timestampdocument PolicyDocumentResponse
PATCH /gracePeriod/{gracePeriodLocator}| Name | Position | Type | Required |
|---|---|---|---|
| gracePeriodLocator | path | string | required |
| gracePeriodUpdateRequest | body | GracePeriodUpdateRequest | required |
GracePeriodResponseoptionalendTimestamp timestampcancelEffectiveTimestamp timestampresetCancelEffectiveTimestamp boolean
Important
Updating a grace period’s end timestamp controls when the policy will lapse if invoices remain past due. If set to the current time, the policy will lapse immediately.
Cancellation
POST /policies/{locator}/cancellations| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
| req | body | CancellationRequest | required |
CancellationResponserequiredname stringeffectiveTimestamp timestampoptionalcancellationCategory stringcancellationComments stringissue booleanconflictHandling string block | invalidate
GET /cancellations/{locator}| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
CancellationResponsePATCH /cancellations/{locator}| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
| req | body | CancellationUpdateRequest | required |
CancellationResponseoptionalname stringeffectiveTimestamp timestampcancellationCategory stringcancellationComments stringconflictHandling string block | invalidate
PATCH /cancellations/{locator}/issue| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
CancellationResponseIf there is an active grace period with cancellation effective time later than the effective time of an issued cancellation, it will be settled.
PATCH /cancellations/{locator}/rescind| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
CancellationResponserequiredlocator stringname stringtitle stringpolicyLocator stringstate string draft | issued | rescinded | reinstatedcreatedTimestamp timestampeffectiveTimestamp timestampdocuments [PolicyDocumentResponse]policyModificationLocator stringconflictHandling string block | invalidateoptionalissuedTimestamp timestampcancellationCategory stringcancellationComments stringinvoiceLocator stringreinstatement ReinstatementResponse
GET /cancellations/{locator}/price| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
PolicyPriceChangeResponseGET /policies/{locator}/cancellations| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | string | required |
[CancellationResponse]If there are no cancellations for the policy, an empty array will be returned.
GET /policy/{policyLocator}/gracePeriods| Name | Position | Type | Required |
|---|---|---|---|
| policyLocator | path | string | required |
[GracePeriodResponse]After a grace period expires, a cancellation named lapse will be created.
Legacy Lapsing and Reinstatement
See the Legacy Grace, Lapse & Reinstatement API guide for details about the previous version of this functionality.