2 min read
Step 1 — fetch the tiers
curl -sS https://hub.credicorp.co.uk/public/v1/loyalty/tiers
Step 2 — render in order
The tiers array is already in Bronze→Platinum order — render it as-is. For each tier show the name, the qualification thresholds, and the arrangement_fee_discount_pct. That figure is in percent units, so print it with a % sign directly; do not multiply by 100.
Step 3 — cache it
The ladder rarely changes. Cache the response for around five minutes keyed on the generated timestamp; see Cache the loyalty ladder.
Doing it via MCP instead
If an AI agent is your consumer, the same data is available as the LoyaltyTiers MCP tool.
Frequently asked questions
How do I display the discount figure?
As a percent, directly. arrangement_fee_discount_pct is already in percent units, so 0.5 renders as “0.5%”. Multiplying by 100 would be wrong.
What order are the tiers in?
Bronze → Silver → Gold → Platinum. The array is pre-sorted, so render it in the order you receive it.
Funding for UK limited companies
Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.
