Developer Center

getAuthCode() - Get Transfer Code

It is used to view the transfer code of the domain name.

public function getAuthCode($params=[]){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);

    $details    = $this->api->get_details($domain);
        $this->error = $this->api->error;
        return false;

    $authCode   = $details["AuthCode"];

    return $authCode;


  • $params Provides the value of [options] index in the $order variable in the class.

Retrieval Value;

Transfer code of the domain name should be transmitted.

suspend() , unsuspend() , terminate() modifyAuthCode() - Update Transfer Code

Do you have any questions?

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