Skip to main content
Mutation

startSpaceApplePaySession

Validate the merchant for an Apple Pay sheet on the payment page. Returns Apple's session as JSON, for completeMerchantValidation.

Arguments

  • spaceIdID!

    The space's identifier.

  • validationUrlString!

    The validationURL from the sheet's onvalidatemerchant event.

Returns

String!

Example

mutation StartSpaceApplePaySession($spaceId: ID!, $validationUrl: String!) {
  startSpaceApplePaySession(spaceId: $spaceId, validationUrl: $validationUrl)
}