Skip to content

18. Wallet Api

Vincent Kok edited this page Dec 4, 2023 · 1 revision

Request Apple Pay Payment Session

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);
Clone this wiki locally