POST
Create an Apple Pay merchant session

Body

application/json

The validation URL from the Apple Pay session

validationURL
string
required

The validationURL of the onvalidatemerchant event that the Apple Pay session fired. Only its host is used, and it must be an Apple Pay gateway.

Minimum string length: 1
Example:

"https://apple-pay-gateway.apple.com/paymentservices/startSession"

Response

Merchant session for the Apple Pay payment sheet

The opaque merchant session from Apple. Pass it unchanged to completeMerchantValidation.

{key}
unknown