Digital wallets
New Apple Pay session
Initiates a new session with Apple Pay. This can be used when implementing Apple Pay without our SDK.
This endpoint returns an opaque object that can be directly passed to the Apple Pay SDK. The format of this object may change when the format returned by the Apple Pay API changes.
POST
/
digital-wallets
/
apple
/
session
This endpoint requires the digital-wallets.write
or embed
scope.
Authorizations
Authorization
string
headerrequiredBearer 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
requiredValidation URL obtained from the event passed to a
onvalidatemerchant
callback.
domain_name
string
requiredFully qualified domain name of the merchant.
Response
200 - application/json
The response is of type object
.
Was this page helpful?