Get Epp Code
Get EppCode
Endpoint: /api/reseller/domain/get-epp-code
Method: POST
Request Parameters
Parameters | Type | Description |
---|---|---|
username | string | |
api_key | string | |
domain | string | |
testmode | string (on, off) | |
epp_code | string |
Response Parameters
Parameters | Type | Description |
---|---|---|
success | boolean (true, false) | |
message | string | |
errors | array | It will only be returned if success is false |
data | array | It will only be returned when success is true |
Example Request
{
"username" : "test@navicosoft.com",
"api_key" : "^H^HHGTG******)((",
"domain": "domain.com",
"epp_code": "epp*****"
"testmode" : "on",
}
Example Response
Success
If is true then the domain information is available and if it is false then it is domain information not found
{
"success": true,
"message": "EppCode updated",
"data": {
"epp_code": "*******"
}
}
Response code 200
Errors
{
"success": false,
"message": "The given data is invalid.",
"errors": [
"Domain name is required",
"Epp Code is required"
]
}
Response code 422