Create an Apple Pay merchant session

Direct Payment access must be enabled for your merchant in both live and sandbox. If access is denied, this endpoint returns HTTP 400 with OPERATION_DENIED; contact Breeze support.

Create the Apple Pay merchant session for a Web checkout that submits an encrypted APPLE_PAY token on POST /v1/gateway/payments. Call it from your server when Apple Pay JS fires onvalidatemerchant, forwarding the event's validationURL, and pass the response unchanged to ApplePaySession.completeMerchantValidation.

  • Registration: registrationId must belong to your merchant in the same environment, be registered for Web and hold an active merchant identity certificate.
  • Domain: domain must be one of the domains verified on that registration; an unregistered domain is rejected.
  • iOS: native apps do not use merchant sessions and do not call this endpoint.

Base URL — call this on the default api.breeze.cash host.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Breeze Apple Pay registration ID.

uri
required

validationURL from Apple's onvalidatemerchant event.

string
required

Fully qualified domain name of the page showing the Apple Pay button.

string
length ≤ 64

Name shown on the Apple Pay sheet. Defaults to the merchant name.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json