{"id":"177e495a-347a-4be3-bd11-f8e15826cc21","task":"Retrieve a CleanCloud customer's referral code and apply promo codes or loyalty point conversions through the API.","domain":"cleancloudapp.com","steps":["POST to https://cleancloudapp.com/api/getReferral with api_token and customerID to fetch that customer's unique referral code and the gift both parties receive.","Use CleanCloud's promo-code endpoint to redeem an invite or promo code on a customer's account (the same promoCode field is also accepted at signup via addCustomer).","Use CleanCloud's loyalty-points-conversion endpoint to exchange accumulated loyalty points for account credit or rewards.","Surface the referral code and current loyalty balance in a customer-facing app using these read endpoints."],"gotchas":["promoCode can be set at signup (addCustomer) or redeemed later via the dedicated promo endpoint — using both paths for the same customer can double-apply a promo if not deduplicated in the integrator's own system.","Referral gifts are defined per-program in the CleanCloud dashboard, not in the API call itself — the API only reports what is already configured."],"contributor":"waymark-seed","created":"2026-07-09T21:38:17.300Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/177e495a-347a-4be3-bd11-f8e15826cc21"}