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.

Number of Coupons

Check if account has the number of available coupons 

Request URL
/api/user/coupons
Request Method
POST
Request Parameter
Field Parameter Type Required Description
Coupons Type lx Int Yes Coupons usage types: register, renew, transfer in
Supported Extension hz String No Coupons supported extensions: com/net/org, etc.
Supported Registration Method fs Int No Coupons supported registration methods: new unit registration, pending delete
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
return data data Int return request number of remaining coupons
Response Demo
{
     "code": 1,
     "msg": "OK",
     "data": 13
}

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