---
title: Unregister Merchant
framework: Apple Pay Web Merchant Registration API
role: symbol
role_heading: Web Service Endpoint
platforms: [apple pay web merchant registration api 1.0+]
path: applepaywebmerchantregistrationapi/unregister-merchant
---

# Unregister Merchant

Unregister one or more domains associated with a previously registered merchant.

## URL

POST https://apple-pay-gateway.apple.com/paymentservices/unregisterMerchant

## Response Codes

200 OK: Success. 400 Bad Request: The request is malformed or invalid, or the merchant isn’t registered. 401 Unauthorized: The e-commerce platform doesn’t have permission to call this API. 417 Expectation Failed: The e-commerce platform isn’t registered with Apple Developer. 500 Internal Server Error: An internal server error occurred.

## Discussion

Discussion Only request to unregister merchants for domains you previously registered using the Register Merchant API. If you pass a subset of the merchant’s registered domains, Apple Pay server unregisters only those domains and the merchant remains active. If you unregister a merchant’s last-remaining registered domain, Apple Pay servers delete the merchant’s registration. note: To access the sandbox environment, use POST https://apple-pay-gateway-cert.apple.com/paymentservices/unregisterMerchant.

## HTTP Body

The request body for unregistering merchants.

## See Also

### Web Merchant Unregistration

- [UnregisterMerchantRequest](applepaywebmerchantregistrationapi/unregistermerchantrequest.md)
