Function /transfer/in/add
Function invocation
https://json.aftermarket.pl/transfer/in/add
Function description
Order domain transfer into your account. If correct authinfo code passed for domain, then transfer to your account will be ordered. If domain owner confirms the transfer, then domain transfer is performed. If paid transfer required and olnyFreeTransfer parameter is set to true, then error will be thrown. Please set onlyFreeTransfer parameter to false if you allow to start payable transfer.
Input parameters
This function takes the following input parameters:
Parameter | Type | Required | Default value | Description |
---|---|---|---|---|
authinfo | string | "" | Authinfo code for domain | |
contactId | string | YES | Domain contact id | |
name | string | YES | Domain name to transfer | |
ns | string[] | [] | Nameservers | |
onlyFreeTransfer | boolean | true | Start transfer only if transfer process doesn't require any payment, otherwise one error will be thrown. | |
useCode | boolean | false | Use bonus code |
Return value
Transfer identifier (integer value).