Skip to main content

Unregister Domain

Important

If you pass a subset of the merchant’s registered domains, Apple Pay unregisters only those domains and the merchant remains active.

If you unregister a merchant’s last-remaining registered domain, Apple Pay deletes the merchant’s registration.

Request

The request is completed by a DELETE to the above URL's with these headers:

HTTP Header
Field NameStateData TypeDescription
Content-TypeMandatoryStringapplication/json
AuthorizationMandatoryStringBearer access_token

With this parameter:

HTTP Path Parameter
Field NameData TypeDescription
merchantIdStringDNA Payments merchant ID. E.g. 70407064-b70d-46a1-8aba-931c4891e25c

You can find this with a GET Merchants query to our separate Reporting API.

And the payload as shown here:

POST
Field NameData TypeStateDescription
domainNamesStringMandatoryAn array of objects, each one as below.

Items must be unique. The API is limited to 99 domain names per request.
stringStringMandatoryA fully qualified domain name/subdomain including the “www.” if applicable.

E.g. example.com, www.shop.example.com.

If successful, this method returns the 200 OK response code with an empty body.

Request Example


{
"domainNames": [
"www.shop.example.com",
"shop.example.com",
"example.com"
]
}