Error
A valid request URL is required to generate request examples{
"id": "<string>",
"object": "web_domain",
"domain": "https://shop.example.com",
"livemode": true,
"apple_pay": {
"status": "not_registered",
"registered_at": 123,
"error": "<string>"
},
"created_at": 123
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Web domain endpoints
Register a domain for Apple Pay
Verifies the Apple Pay association file at
/.well-known/apple-developer-merchantid-domain-association, then
registers the domain. Expected validation or provider rejection is
returned as HTTP 200 with apple_pay.status set to failed and an
actionable apple_pay.error; inspect the resource state on every
response.
POST
/
web_domains
/
{id}
/
apple_pay
Error
A valid request URL is required to generate request examples{
"id": "<string>",
"object": "web_domain",
"domain": "https://shop.example.com",
"livemode": true,
"apple_pay": {
"status": "not_registered",
"registered_at": 123,
"error": "<string>"
},
"created_at": 123
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
An Account secret key (sk_…) sent as Authorization: Bearer <key>.
Path Parameters
Ionic web domain ID.
Pattern:
^wd_[0-9A-Za-z]{14}$Response
The web domain with its latest Apple Pay registration state.

