Set up recurring subscription billing for CleanCloud customers, including 3D Secure authentication handling.
domain: cleancloudapp.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Create the recurring plan in Clearent or Stripe first, then reference its plan ID as subscriptionID.
POST to https://cleancloudapp.com/api/addSubscription with api_token, customerID, and subscriptionID to subscribe the customer and begin charging them.
If the response returns a '3D Secure Authentication required' error, prompt the customer to complete 3D Secure, then resend the same call with subscriptionConfirmed=1.
Use https://cleancloudapp.com/api/getSubscription to check a customer's current subscription status, and deleteSubscription to cancel it.
Known gotchas
Skipping the subscriptionConfirmed=1 resubmission after a 3D Secure challenge leaves the customer without an active subscription even though they completed authentication.
The subscription plan itself must already exist in Clearent or Stripe — CleanCloud's API only attaches an existing plan ID to a customer, it does not create billing plans.
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?