Skip to main content
POST
Validar sessão Apple Pay (web)

Authorizations

client-id
string
header
required
client-secret
string
header
required

Headers

client-secret
string
required

Secret da credencial do merchant

client-id
string
required

ID público da credencial do merchant

Body

application/json
validationUrl
string
required

validationURL emitida pelo Safari no evento onvalidatemerchant (o host é validado contra o gateway Apple Pay no servidor)

Example:

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

domain
string
required

Domínio da página onde o botão está (window.location.hostname) — precisa estar registrado e verificado em /v1/payment-method-domains

Maximum string length: 255
Example:

"checkout.minhaloja.com.br"

Response

Merchant session opaco da Apple — repasse ao ApplePaySession.completeMerchantValidation

The response is of type object.