This is a series of articles dedicated to demonstrating how to get acquainted with Openprovider SSL API methods. If you want to go the beginning of this guide, please navigate to the article "1 How to choose a product".
To get more information about our API in general, please use our documentation portal as your reference.
After we moved through a process of creating, renewing, modifying and reissuing certificate time has come to check how cancellation can be processed.
Please note cancellation is fully refunded if processed within 30 days after the certificate became "ACT".
POST {base_url}/ssl/orders/{id}/cancel
REQUEST VALUES↓
Name |
Type |
Values |
Description |
---|---|---|---|
id | string | numeric value |
REQUEST EXAMPLE↓
curl -X POST \
https://api.cte.openprovider.eu/v1beta/ssl/orders/1/cancel \
-H 'Authorization: Bearer deb4bf804928981b018caf45c3c4142b' \
-H 'Content-Type: application/json' \
-d '{
"id": "1"
}'
RESPONSE EXAMPLE↓
{
"code": 0,
"data": {
"id": 1
},
"desc": ""
}
RESPONSE VALUES↓
Name |
Values |
Description |
---|---|---|
code |
numeric |
API Result with code returned. |
1. data | set of values | Cancel Order Response Data. |
1.1 id | integer | Returns Openprovider order ID that been processed. |
desc | string | Description (if available). |
maintenance | True or False | The Maintenance: True or False. |
2. warnings | An array of elements. | An array of boolean and string data returned if Openprovider is under maintenance mode. |
2.1 code | digits | Warning code digits. |
2.2 data | string | Data value returned. |
2.3 desc | string | The description value returned. |
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" status and cannot be reactivated.
(new order creation and confirmation required even you want to protect same domain as before).