Function /check/domain/renew
Function invocation
https://json.aftermarket.pl/check/domain/renew
Function description
Cost of renew domain.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
name | string | YES | Domain name to renew | |
period | integer | 1 | Time period in years, default 1 year | |
useCode | boolean | false | Use bonus code |
Return value
Cost result (structure with the following fields):
Field name | Type | Description |
---|---|---|
cost | float | Cost in main currency |
currency | string | Main currency |