View Domains
Request
URL
The request is completed by a GET
to the above URL's with these headers:
HTTP Header | |||
---|---|---|---|
Field Name | State | Data Type | Description |
Content-Type | Mandatory | String | application/json |
Authorization | Mandatory | String | Bearer access_token |
With this parameter:
HTTP Path Parameter | |||
---|---|---|---|
Field Name | Data Type | Description | |
merchantId | String | DNA Payments merchant ID. E.g. 70407064-b70d-46a1-8aba-931c4891e25c You can find this with a GET Merchants query to our separate Reporting API. |
If successful, this method returns the 200 OK
response code with the below payload.
GET response | |||
---|---|---|---|
Field Name | Data Type | State | Description |
domainNames | String | Mandatory | An array of objects, each one as below. |
string | String | Mandatory | A fully qualified domain name/subdomain including the “www.” if applicable. E.g. example.com, www.shop.example.com. |
Response Example
{
"domainNames": [
"www.shop.example.com",
"shop.example.com",
"example.com"
]
}