Apply API

Gname API is available for domain drop catch, account management, domain query, registration, renewal, deletion, using for apps and servers etc. You are able to easily set domain servers, choose renewal and create folder.

Domain Renewal

Users renew domain

Request URL
http://api.gname.net/api/renew/add
Request Method
POST
Request Parameter
Field Parameter Type Required Description
domain ym String Yes domains which need to renew
year nian Int Yes domains which need to renew
Response Data
Field Parameter Type Description
return code code Int 1:return successfully -1:return failed
return description msg String description of the return request operation result
return data data Object return the requested operation result data
Return Data
Field Parameter Description
renewal record ID id 59
renewal amount qian 9.52
Response Demo
{
	"code": 1,
	"msg": "submit renewal domain(gname.com) successfully,please wait for system to process[frozen $9.52]",
	"data": {
		"id": 59,
		"qian": 9.52
	}
}

Copyright© 2021 GNAME.COM. All rights reserved. Legal Statement | Privacy Policy