Create Cancellation Request
With this action, a cancellation request is created via API for the specified service.
Method / Endpoint
POST/ {{API_URL}} order/cancel
Request Parameters
Name | Requirement | Description |
---|---|---|
key | Yes | API Key |
id | Yes | Order ID Number |
reason | Optional | Reason for Cancellation |
urgency | Yes | Cancellation priority. Possible values: period-ending : The service is canceled upon expiration. now: The request is canceled as soon as approved. |
Sample cURL Request
curl --location 'https://example.com/api/reseller/order/cancel' \
--header 'Content-Type: application/json' \
--data '{
"key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
"id": 1,
"reason": "Testing",
"urgency": "now"
}'
Sample JSON Response
{
"status": "successful"
}