applePayPaymentValidate
Validate an Apple Pay session and retrieve the merchant session Used for Apple Pay payment processing integration
Arguments
| Argument | Type | Description |
|---|---|---|
paymentContext | ApplePayPaymentContextInput! |
Returns
ApplePayPaymentValidateResponse!
| Field | Type | Description |
|---|---|---|
merchantSession | String | Opaque merchant session returned by Apple, to hand to the Apple Pay SDK |
paymentErrors | [ApplePayPaymentValidateError!] | Error details if validation failed |
Example
mutation { applePayPaymentValidate(paymentContext: { merchantIdentifier: "merchant.com.mystore" domainName: "mystore.com" displayName: "My Store Purchase" }) { merchantSession paymentErrors { ... on ValidationError { message } } }}{ "data": { "applePayPaymentValidate": { "merchantSession": "Example", "paymentErrors": [ { "message": "Example" } ] } }}The query is the example the schema documents. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Stub: answers Not implemented |
| @evolve-framework/sfcc | Stub: answers Not implemented |

