POST /v1/payment_intents with payment_method_types=["afterpay_clearpay"], amount, currency (supported currencies include aud, cad, gbp, nzd, usd depending on market), and capture_method=automatic
Create the PaymentMethod with type=afterpay_clearpay and billing_details including name and email (required by Afterpay)
Confirm the PaymentIntent with the PaymentMethod id and return_url; Afterpay requires an HTTPS return_url and will redirect the customer to their checkout flow
The next_action.type=redirect_to_url; redirect the customer to complete the Afterpay installment agreement in their account
On return, retrieve the PaymentIntent; status=succeeded means Afterpay has approved the installment arrangement and funds are guaranteed; do not ship before confirming succeeded status
Known gotchas
Afterpay/Clearpay has order minimum and maximum amounts that vary by market; transactions outside those limits are declined at the PaymentMethod level
Partial refunds are supported but may affect the customer's installment schedule in Afterpay's system; full refunds cancel the installment plan
Afterpay is called Afterpay in AU/NZ/US/CA and Clearpay in GB; the Stripe payment method type is afterpay_clearpay for both; the appropriate branding is determined by the currency
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp