2 min read
Drop in the option
Because the product list and quote are public, the whole funding block is a self-contained snippet. Pre-set a sensible amount for the sector and let the reader adjust:
<div id="cc-finance"></div>
<script>
(async () => {
const base = 'https://api.credicorp.co.uk/public/v1';
const res = await fetch(base + '/quote', {
method: 'POST', headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ amount: 25000, term_months: 6 }),
});
const q = await res.json();
document.getElementById('cc-finance').innerHTML =
`<p>Borrow \u00a325,000 from \u00a3${q.repayment}/month</p>` +
`<a href="https://clients.credicorp.co.uk/register">Apply \u2192</a>`;
})();
</script>
Make it sector-relevant
Fund tanks, kegs and a duty deferment buffer without tying up cash. Frame the copy around that need, and link readers who want the full picture to the brewery funding guide and to business loans.
Keep it honest and robust
Label the figure as illustrative and wrap the fetch in a try/catch so a blip shows a plain apply link, never an empty box. Credicorp lends to UK limited companies with no personal guarantee.
Frequently asked questions
Does a brewery need to be a limited company?
Credicorp lends to UK limited companies, so the embed suits incorporated brewery businesses. Sole traders are directed to the eligibility guidance before applying.
Do I need a backend for this embed?
No. The product list and quote are on the unauthenticated public ring with CORS, so the whole block runs client-side.
Where can readers learn more about funding for this sector?
Link them to the brewery sector guide on the Credicorp sectors hub, which covers the typical cash-flow needs and the facilities that tend to fit.
Related reading

Quickstart: embed a product picker with the public API
A product picker is the simplest high-value embed: fetch the catalogue, render options, link to apply…
Read →
Quickstart: get an indicative loan quote from the public API
POST /public/v1/quote turns an amount and term into an illustrative repayment. Send the requested amount and…
Read →
Quickstart: Credicorp public API for a digital agency building for clients
You are an agency building sites for business clients and want a reusable funding widget. This quickstart…
Read →
Business finance for breweries & craft producers
Brewing locks cash in a long production cycle and ingredient buys while trade customers pay on terms…
Read on Sectors →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.