Developer Center

modifyAuthCode() - Update Transfer Code

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

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

    $modify         = $this->api->modify_AuthCode($domain,$authCode);
    if(!$modify){
        $this->error = $this->api->error;
        return false;
    }

    return true;
}

Parameters;

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

Retrieval Value;

Boolean (true or false)

getAuthCode() - Get Transfer Code sync() , transfer_sync() - Domain Name Synchronization

Do you have any questions?

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