Developer Center

Renew Order

This action renews the duration of the order selected via the API.

Method / Endpoint

POST/ {{API_URL}} order/renewal

Request Parameters

Name Requirement Description
id Yes ID Number of the Order
period_type Yes Period Info. Possible values: year, month, week, day, hour
period_duration Yes Period Duration

Sample cURL Request

curl --location 'https://example.com/api/reseller/order/renewal' \
--header 'Content-Type: application/json' \
--data '{
	"key":"UzZBSlBWeWk0UEcrVWxlU0RjS1B1dz09",
	"id":3,
	"period_type":"month",
	"period_duration":1
}'

Sample JSON Response

{
    "status": "successful",
    "invoice_id": 5,
    "new_duedate": "2024-03-27 07:37:28",
    "fee": "24.0000",
    "fee_formatted": "$24"
}
View Order Details List Existing Orders

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top