-
-
Notifications
You must be signed in to change notification settings - Fork 85
18. Wallet Api
Vincent Kok edited this page Dec 4, 2023
·
1 revision
For integrating Apple Pay in your own checkout on the web, you need to provide merchant validation. For more information on this topic, read the Mollie documentation on Apple Pay Payment sessions.
var request = new ApplePayPaymentSessionRequest() {
Domain = "pay.mywebshop.com",
ValidationUrl = "https://apple-pay-gateway-cert.apple.com/paymentservices/paymentSession"
};
using var walletClient = new WalletClient({yourApiClient});
ApplePayPaymentSessionResponse response = await walletClient.RequestApplePayPaymentSessionAsync(request);