cURL
curl --request POST \ --url https://rdp.sh/api/v1/servers/{server}/renew \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "duration": 1 }'
{ "status": true, "message": "<string>", "invoice_id": 123, "amount_charged": 123, "new_expiry_date": "<string>", "server": { "id": 123, "ip_address": "<string>", "expiry_date": "<string>", "suspended": true } }
Renew a server using your account balance. The cost is calculated based on the server’s plan price multiplied by the duration. A 10% surcharge applies to suspended servers.
Number of months to renew (1-12)
1 <= x <= 12
Server renewed successfully.
true
"Server renewed for 1 month(s)"
123
10
"2026-02-16T00:00:00.000Z"
Show child attributes