Manage saved credit cards on file for CleanCloud customers, including setting a default payment method.
domain: cleancloudapp.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
POST to https://cleancloudapp.com/api/getCards with api_token and customerID to list all saved cards for that customer.
Note each card's cardID and its processor type code (3 = Clearent, 5 = CleanCloud Pay, 6 = Amazon).
POST to https://cleancloudapp.com/api/setDefaultCard with customerID, cardID, and type to change which saved card is charged by default.
Re-fetch getCards after changes to confirm the default flag updated correctly.
Known gotchas
The type parameter must match the processor the card was actually saved under (Clearent vs. CleanCloud Pay vs. Amazon) — passing the wrong type code will not update the intended card.
setDefaultCard requires a cardID already confirmed via a prior getCards call for that customer; IDs cannot be guessed or reused across customers.
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?