This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Validates an authorization code for transferring a domain to Wix.
Checks with the domain's current registrar whether the authorization code is valid for the specified domain. Call this method before starting a transfer to catch invalid or expired codes early.
Validation problems are returned in validationResult.violations, not as errors. If the code isn't valid, the list includes DOMAIN_TRANSFER_IN_AUTHORIZATION_CODE_NOT_VALID.
To check whether the domain itself can be transferred, call Validate Domain Transferability.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.