post
/v1/policies/{id}/end
End an existing Policy early.
Use this endpoint when a transaction ends earlier than originally scheduled. A policy can be ended early at any time.
Authorization
bearer
Request Parameters
1 Path Parameter
Request Body
1 Example
Schema
end_time
string
The new end time of the policy.
2 validations + required
Responses
OK
Schema
id
integer
Unique id assigned by DigiSURE.
4 validations
partner_transaction_id
string
Your tracking id. Typically a reservation or trip id, but available for use at your discretion.
1 validation
quote_id
integer
id of quote that originated this policy.
4 validations + required
bind_time
string
Depracated
2 validations
custom_fields
object
status
string
Policy status describes the status of coverage.
‘bound’-coverage is in place.
‘unbound’-coverage is not in place
‘cancelled’- Policy no longer exists and cannot be bound.
1 validation
approval_status
string
Describes the current status in the approval process. In the development environment, the Value of approval_status in Policy object is always identical to the value in the primary Driver object for the same quote id.
1 validation
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
id
$$.env
1 variable not set
bearer_token