Unregister Merchant
Unregister one or more domains associated with a previously registered merchant.
URL
POST https://apple-pay-gateway.apple.com/paymentservices/unregisterMerchantResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 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
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.
HTTP Body
The request body for unregistering merchants.