Implement Google AP2 Checkout Mandates for recurring payment authorization

domain: developers.google.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Integrate the Google Pay API with the `PAYMENT_AUTHORIZATION` callback to capture payment credentials.
  2. When building the `PaymentDataRequest`, include a `recurringPaymentDetails` object containing a `managedRecurringPaymentInfo` block to declare the recurring terms.
  3. Use the v0.2 canonical term **Checkout Mandate** (not 'Cart Mandate') when labeling the mandate in your UI and in any support documentation — this is the official terminology as of the v0.2 spec.
  4. Display the mandate terms to the user before they authorize; the Google Pay sheet will show the recurring agreement summary.
  5. Store the returned `paymentMethodToken` for future charges; do not re-request a new mandate for each transaction.

Known gotchas

Related routes

Integrate Google AP2 (Agent Payments Protocol) mandates into a merchant checkout flow so agents can carry cryptographically-signed purchase authority
ap2-protocol.org · 6 steps · unrated
Implement Stripe mandate and mandate_data for recurring SCA compliance under EU PSD2 for subscription payments
Advanced auth · 6 steps · unrated
Implement AP2 Payment Mandate modality selection so a merchant requires real-time Cart Mandate authorization for human-present purchases but honors pre-signed Intent Mandate terms for human-not-present, delegated purchases
ap2-protocol.org · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans