Create Renewal
POST ?action=create_renewal
Renews an existing activation. The renewal product must have equal or greater connections than the product currently on the line. The one exception is when the current line is a free trial, which can be renewed to any product.
Only call this after payment has been confirmed on your end.
Request Parameters
activation_id — integer — Required. ID of the activation to renew.
product_id — integer — Required. Renewal product ID.
payment_method_id — integer — Required. Panelr payment method ID.
payment_transaction_id — string — Optional. Your order or transaction ID (e.g. WooCommerce order ID).
payment_amount — float — Optional. Amount paid.
is_free — boolean — Optional. Set true for free renewals.
notes — string — Optional. Internal admin notes.
Response
{
"success": true,
"data": {
"work_order_id": 43,
"reference_code": "WO-2026-12346",
"status": "queued"
},
"error": null
}Example
curl -X POST "https://YOUR_DOMAIN/api/api.php?action=create_renewal" \
-H "X-Panelr-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"activation_id": 321,
"product_id": 1,
"payment_method_id": 1,
"payment_transaction_id": "wc_order_xyz456",
"payment_amount": 9.99
}'