Skip to main content
POST
New Apple Pay session
This endpoint requires the digital-wallets.write or embed scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Initiates a new session with Apple Pay.

validation_url
string<uri>
required

Validation URL obtained from the event passed to a onvalidatemerchant callback.

domain_name
string
required

Fully qualified domain name of the merchant.

Response

Returns an opaque Apple Pay session object.

The response is of type Apple Pay Session · object.