Apple Pay for Web

Apple Pay Controller

Get details for a merchant registered with Apple Pay

get
Header parameters
api-keyanyRequired

Clearent-provided API Key

Responses
200

Successfully obtained Apple Pay merchant details.

application/json
get
/rest/v2/apple/merchants

Get currently-registered Merchant domains with Apple Pay

get
Header parameters
api-keyanyRequired

Clearent-provided API Key

Responses
200

Successfully obtained merchant's registered domains.

application/json
get
/rest/v2/apple/merchants/domains

Register Merchant domain(s) with Apple Pay

post
Header parameters
api-keyanyRequired

Clearent-provided API Key

Body
domainNamesstring[]Required

List of Merchant domains to register or de-register with Apple Pay

Example: ["example.com", "example.org"]
Responses
200

Successfully registered merchant domain(s).

application/json
post
/rest/v2/apple/merchants/domains

De-register Merchant domain(s) with Apple Pay

delete
Header parameters
api-keyanyRequired

Clearent-provided API Key

Body
domainNamesstring[]Required

List of Merchant domains to register or de-register with Apple Pay

Example: ["example.com", "example.org"]
Responses
200

Successfully registered merchant domain(s).

application/json
delete
/rest/v2/apple/merchants/domains

Get a validated Apple Merchant Session

post
Header parameters
public-keyanyRequired

Clearent-provided Public Key

Body
domainstringRequired

Merchant domain that is already registered with Apple Pay

Example: example.com
initiatedFromstringRequired

Apple Pay 'initiative' parameter that varies by platform

Example: web
validationURLstringRequired

Apple Pay environment-dependent URL for acquiring a merchant Apple Pay for Web session

Example: https://apple-pay-gateway.apple.com/paymentservices/startSession
Responses
200

Successfully obtained Apple Pay session from Apple.

application/json
post
/rest/v2/apple/merchants/validation

Last updated

Was this helpful?