• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
Register domain

Activates a domain for use with Web Apple Pay and Square.

A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain.

This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform.

To learn more about Apple Pay on Web see the Apple Pay section in the Square Payment Form Walkthrough.

Request Body

Name Description


A domain name as described in RFC-1034 that will be registered with ApplePay

Max Length 255 Min Length 1

Response Fields

Name Description
Error [ ]

Any errors that occurred during the request.


Status of the domain registration.


You are viewing an old version of the API
POST /v2/apple-pay/domains
  • cURL
  • Ruby
  • Python
  • C#
  • Java
  • PHP
curl https://connect.squareup.com/v2/apple-pay/domains \
  -X POST \
  -H 'Square-Version: 2020-06-25' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "domain_name": "example.com"
Response JSON
  "status": "VERIFIED"

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?