years (default 1). Optionally pass expectedPrice (from GET /domains/{id}/renewal-preview, for the same years) as a price guard - if the live price has drifted past tolerance, the request fails with 409 instead of silently charging the new price.Idempotency-Key header - a timeout or dropped connection otherwise gives you no safe way to retry without risking a duplicate renewal charge.curl --location 'https://api.resellerstack.ai/api/v1/domains//renew' \
--header 'idempotency-key;' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"years": 1,
"expectedPrice": 16.79
}'{
"status": 200,
"message": "string",
"data": {
"queued": true,
"years": -9007199254740991
}
}