With this action, a cancellation request is created via API for the specified service.
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. |
curl --location 'https://example.com/api/reseller/order/cancel' \
--header 'Content-Type: application/json' \
--data '{
"key": "UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
"id": 1,
"reason": "Testing",
"urgency": "now"
}'
{
"status": "successful"
}