Create an Apple Pay session
Apple Pay requires a server-side merchant validation step before the browser can open the payment sheet. Call this when the shopper taps the Apple Pay button, then pass the returned merchantSession unchanged to ApplePaySession.completeMerchantValidation. Sessions are short-lived, so mint one per payment attempt rather than caching. The Origin request header must carry the domain the shopper is paying on, and that domain must be registered with Apple Pay. Google Pay needs no equivalent — it initializes client-side. When the shopper is paying for a cart, use POST /api/v3/carts/{cartId}/apple-pay-sessions instead: a shopper can pay in a currency other than the event’s, and the order is charged through the merchant account for the event’s currency.