# 12 Cancelling SSL Order

<div id="bkmrk-this-is-a-series-of-">*This is a series of articles dedicated to demonstrating how to get acquainted with[Openprovider SSL API methods](https://openprovider.help/books/api-integrations/chapter/api-guides-ssl-module). If you want to go the beginning of this guide, please navigate to the article "[1 How to choose a product](https://openprovider.help/books/api-plugins/page/1-choosing-a-product)".*

<div>*To get more information about our API in general, please[use our documentation portal](https://docs.openprovider.com/doc/all#operation/CancelOrder)as your reference.*

</div><div><div><span>Using the previous method "[12 Open an access to end user](https://openprovider.help/books/api-plugins/page/11-open-an-access-to-an-end-user)" we shared an access to order for end user.  
After we moved through a process of [creating](https://openprovider.help/books/api-plugins/page/4-creating-ssl-order), [renewing](https://openprovider.help/books/api-plugins/page/10-renewing-ssl-certificate), modifying and [reissuing](https://openprovider.help/books/api-plugins/page/9-reissuing-ssl-certificate) certificate time has come to check how [cancellation](https://openprovider.help/books/api-plugins/page/12-cancelling-ssl-order) can be processed.  
</span></div></div></div><div id="bkmrk-cancellation-is-the-"><span><span>Cancellation is the process of voiding your SSL order request, no matter whether it's active or not. Certificate will pass revocation at [CA](https://openprovider.help/books/api-plugins/page/api-guides-glossary#ca) side and resource used certificate will no longer be protected.  
</span></span><span><span>Please note cancellation is fully refunded if processed within 30 days after the certificate became "[ACT](https://openprovider.help/books/api-plugins/page/api-guides-glossary#order_status_list)".</span></span></div><div id="bkmrk-use-endpoint-path-be"><div>![Entering Geo Fence icon](https://openprovider.help/uploads/images/gallery/2026-08/embedded-image-3kzoadzt.png)Use endpoint path below. Base URL is determined by both the target environment and API version.</div><div>```
<span><strong>POST <a href="https://docs.openprovider.com/doc/all#operation/CancelOrder">{base_url}</a></strong></span>/ssl/orders/<strong><a href="https://openprovider.help/books/api-plugins/page/api-guides-glossary#op_order_id">{id}</a></strong>/cancel 
```

</div><span><span>  
</span></span><div><div id="bkmrk-request-values-name-"><details><summary>REQUEST VALUES</summary>

<div><table><tbody><tr><th>### **Name**

</th><th>### **Type**

</th><th>### **Values**

</th><th>### **Description**

</th></tr><tr><td>id</td><td> string</td><td>numeric value</td><td>[Openprovider Order ID.](https://openprovider.help/books/api-plugins/page/api-guides-glossary#op_order_id)

</td></tr></tbody></table>

  
</div></details><details><summary>REQUEST EXAMPLE</summary>

<div>```
curl -X POST \<br></br> https://api.cte.openprovider.eu/v1beta/ssl/orders/1/cancel \<br></br> -H 'Authorization: Bearer deb4bf804928981b018caf45c3c4142b' \<br></br> -H 'Content-Type: application/json' \<br></br> -d '{<br></br> "id": "1"<br></br>}'
```

</div></details><details><summary>RESPONSE EXAMPLE</summary>

<div>```
{<br></br> "code": 0,<br></br> "data": {<br></br> "id": 1<br></br> },<br></br> "desc": ""<br></br>}
```

</div></details><details><summary>RESPONSE VALUES</summary>

<div><table><tbody><tr><th>### **Name**

</th><th>### **Values**

</th><th>### **Description**

</th></tr><tr><td>code

</td><td>numeric

</td><td>[API Result with code returned](https://openprovider.help/books/api-plugins/page/api-error-codes)<span>.</span>  
<span>0 = Success with no errors.</span>

</td></tr><tr><td>**1. data**</td><td>**set of values**</td><td>**Cancel Order Response Data.**</td></tr><tr><td>1.1 id</td><td><span>integer</span></td><td><span>Returns Openprovider order ID that been processed. </span></td></tr><tr><td>desc</td><td>string</td><td><span>Description (if available).</span></td></tr><tr><td>maintenance</td><td><span>True or False</span></td><td>T<span>he Maintenance: True or False.</span></td></tr><tr><td>**2. warnings**</td><td>**An array of elements.**</td><td>****An array of boolean and string data returned** <span>if Openprovider is under maintenance mode.</span>**</td></tr><tr><td>2.1 code</td><td><span>digits</span></td><td><span>Warning code digits.</span></td></tr><tr><td>2.2 data</td><td>string</td><td><span>Data value returned.</span></td></tr><tr><td>2.3 desc</td><td>string</td><td><span>The description value returned.</span></td></tr></tbody></table>

</div></details></div></div></div><div id="bkmrk-please-note-order-ch"><div><div>**Please note order changes status from "Active" to "Cancelled" within 24 hrs.  
Code "0" indicated that we've successfully canceled an order.  
Canceled order remains in "[FAI](https://openprovider.help/books/api-plugins/page/api-guides-glossary#op_order_status)" status and cannot be reactivated.  
([new order creation](https://openprovider.help/books/api-plugins/page/4-creating-ssl-order) and confirmation required even you want to protect same domain as before).**

</div></div></div>