# Method: projects.locations.registrations.retrieveTransferParameters

- [HTTP request](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.request_body)
- [Response body](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.RetrieveTransferParametersResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#body.aspect)
- [TransferParameters](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#TransferParameters)
  - [JSON representation](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#TransferParameters.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#try-it)

> [!WARNING]
> This item is deprecated!

Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations)

Gets parameters needed to transfer a domain name from another registrar to Cloud Domains. For domains already managed by [Google Domains](https://domains.google/), use `registrations.import` instead.

Use the returned values to call `registrations.transfer`.

### HTTP request

`GET https://domains.googleapis.com/v1beta1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `location` | `string` Required. The location. Must be in the format `projects/*/locations/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `location`: - `domains.registrations.list` |

### Query parameters

| Parameters ||
|---|---|
| `domainName` | `string` Required. The domain name. Unicode domain names must be expressed in Punycode format. |

### Request body

The request body must be empty.

### Response body

> [!WARNING]
> This item is deprecated!

Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `registrations.retrieveTransferParameters` method.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "transferParameters": { object (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#TransferParameters`) } } ``` |

| Fields ||
|---|---|
| `transferParameters` | ``object (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations/retrieveTransferParameters#TransferParameters`)`` Parameters to use when calling the `registrations.transfer` method. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).

## TransferParameters

> [!WARNING]
> This item is deprecated!

Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Parameters required to transfer a domain from another registrar.

| JSON representation |
|---|
| ``` { "domainName": string, "currentRegistrar": string, "currentRegistrarUri": string, "nameServers": [ string ], "transferLockState": enum (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations#TransferLockState`), "supportedPrivacy": [ enum (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations#ContactPrivacy`) ], "yearlyPrice": { object (`https://docs.cloud.google.com/domains/docs/reference/rest/Shared.Types/Money`) } } ``` |

| Fields ||
|---|---|
| `domainName` | `string` The domain name. Unicode domain names are expressed in Punycode format. |
| `currentRegistrar` | `string` The registrar that currently manages the domain. |
| `currentRegistrarUri` | `string` The URL of the registrar that currently manages the domain. |
| `nameServers[]` | `string` The name servers that currently store the configuration of the domain. |
| `transferLockState` | ``enum (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations#TransferLockState`)`` Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show `UNLOCKED`. To unlock a domain, go to its current registrar. |
| `supportedPrivacy[]` | ``enum (`https://docs.cloud.google.com/domains/docs/reference/rest/v1beta1/projects.locations.registrations#ContactPrivacy`)`` Contact privacy options that the domain supports. |
| `yearlyPrice` | ``object (`https://docs.cloud.google.com/domains/docs/reference/rest/Shared.Types/Money`)`` Price to transfer or renew the domain for one year. |