Skip to main content
POST
Validate Apple Pay session

Authorizations

Authorization
string
header
required

JWT bearer token obtained via the OAuth2 client-credentials grant from the platform Authentication API. The token's scopes gate the endpoints it may call, and its audience names the Guardian instance. This is the standard way to authenticate to Guardian.

Body

application/json
domain_name
string
required

The fully-qualified merchant domain to validate. Must be verified.

Example:

"pay.example.com"

Response

Apple Pay merchant session, returned verbatim from Apple.

Apple Pay merchant session JSON, returned verbatim from Apple. Treat it as opaque — pass it straight to session.completeMerchantValidation(...) without parsing or modifying it. The fields shown are illustrative; Apple controls the payload and may change it.