Endpoint: /api/calculate-refund

If a customer requests a refund after thirty days from the purchase date, we can deliver a prorated refund on the warranty. You are able to use this GET endpoint in order to inform the customer exactly how much will be refunded by passing in your order_id and the product id. The product_id is an optional parameter, if it is not included in the request we return the prorated refund for all the warranties that were a part of the specified order.

order_idThe order ID used when making the call to our /api/checkout endpointyesstring
product_idThe product ID passed in during checkout for which the warranty was issuednostring