GuidesReference Endpoints
Guides

Policy Void

The Policy Void endpoint is used when you need to cancel a customer's refund policy. Depending on the look period of the refund policy, the policy may not be eligible to be voided.

šŸ“˜

Authenticating This Request

To properly make this API call, the request needs to be authorized by generating a JWT Token sourced from the Authentication API Call using the relevant Client's Public and Secret Key.


Try it out!

If you'd like to see a working example of our Policy Void API calls, follow this link to our API Reference Guide ! Feel free to swap out the values and see what a proper request and response call looks like.

Example Request:

curl -X PUT \
  https://api.sandbox.protecht.com/api/v2/policies/:policy_id \
  -H 'Authorization: JWT xxx.yyy.zzz'

Example Response:

{
	"status": "Voided",
	"void_date": "2024-03-05T21:30:26.757759Z"
}