Skip to main content
POST
Validate before starting a payment

Headers

x-sign-verified-mid
string

Body

application/json
sessionId
string
required

Payment session id returned by the session create api.

Minimum string length: 1
payMethodType
string
required

Pay method type to validate. Only APPLEPAY needs pre-payment validation for now.

Minimum string length: 1
validationUrl
string
required

Validation url handed out by Apple Pay on the shopper browser.

Minimum string length: 1
merchantDomain
string
required

Domain of the merchant page showing the Apple Pay button; it must be registered for this merchant.

Minimum string length: 1

Response

200 - */*

OK

response data

code
string
Example:

0

msg
string
Example:

"success"

data
string