Skip to main content
The payment method domains API (/api/v1/payment_method_domains) is deprecated and stops working after December 23, 2026. The domains API replaces it: every domain has an apple_pay capability that you add, check, and remove on the domain itself. If your integration registers checkout domains for Apple Pay and Google Pay, switch it to the domains API.
Your domains have already moved. Each payment method domain is a domain with the same ID, so you don’t need to copy anything. The IDs you already stored work with /domains/{id}.

Switch to the domains API

1

Add the domain permissions to your API key

The payment method domains API needed company:manage_checkout. The domains API needs domain:read to list and retrieve domains, and domain:manage to add, check, update, and remove them. Add both in Developer → API keys, or request them in your app’s permissions. Without them, listing, adding, checking, and updating domains return 403. Retrieving a domain still returns it, but with apple_pay: null, which looks the same as a domain without Apple Pay.
2

Find your payment method domains calls

Every response from /payment_method_domains carries a Deprecation header, a Sunset header with the shutdown date, and a Link header with rel="successor-version". The Link URL is the domains API request that replaces it. Log responses with Deprecation to find every call your integration still makes.
3

Replace each call

Use the request map to swap each request, then read what changed for the differences in fields and timing.

Request map

Don’t replace DELETE /payment_method_domains/{id} with DELETE /domains/{id}. Deleting a domain removes the whole domain, including any website on it, not only Apple Pay.

Examples

Add Apple Pay to a domain

Host the Apple Pay verification file on the domain first, then add the domain with an empty apple_pay object.
If the call returns 409 because the account already has checkout.example.com, find it with GET /domains?domain=checkout.example.com and add Apple Pay with PATCH /domains/{id} and apple_pay: {}.

List your Apple Pay domains

Without account_id, the list covers your account and its subaccounts, like GET /payment_method_domains did.

Check a domain again

After you fix the verification file, register the domain with Apple again:

Remove Apple Pay from a domain

What changed

List filters

GET /domains filters Apple Pay with apple_pay, which takes one state at a time.
Don’t carry status over. GET /domains also has a status filter, but it filters the domain’s own status, not Apple Pay, so status=pending returns different domains without an error.

Status is apple_pay.state

A payment method domain had status and provider. A domain has apple_pay.state instead, and apple_pay is null on a domain without Apple Pay. provider is gone. Apple is the only provider, and a domain with Apple Pay ready also clears Google Pay.

Registration runs in the background

Creating a domain or checking it returns right away with apple_pay.state: "pending". Retrieve the domain until apple_pay.state is ready or action_required.

Field names

A domain also has fields the payment method domain didn’t, such as issues, website, and metadata. The domain object lists them all.

Next steps

Enable Apple Pay and Google Pay

Host the verification file and register your domain.

Domains API

Every field and request on a domain.