Test Google Pay and Apple Pay end-to-end via server-side proxy to MyWell Platform API
Calls your server's POST /api/wallet/googlepay/token which proxies to the Platform API.
Uses the JWT from Step 1 to render a walletjs.GooglePay button.
Click the button to open the Google Pay payment sheet.
Register your domain for Apple Pay. The .well-known/apple-developer-merchantid-domain-association
file must be accessible at your domain's root.
Uses the merchant ID from registration to initialize walletjs.ApplePay.
After obtaining a wallet token from Google Pay or Apple Pay, use these actions to test creating transactions, customers, and subscriptions.
POST /api/transaction → proxied to Platform API. Requires a Customer ID.
POST /api/customer → proxied to Platform API. Vaults the wallet token.
POST /api/customer/{id}/paymentMethod → proxied to Platform API.
POST /api/subscription → proxied to Platform API.