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);
    if(!$details){
        $this->error = $this->api->error;
        return false;
    }

    $authCode   = $details["AuthCode"];

    return $authCode;
}

Parameters;

  • $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
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024