Glossary

Content-Type

Content-Type — a term used across the Credicorp developer documentation, defined here for engineers integrating the public /public/v1 API.

2 min read

application/jsonFor JSON bodies
POSTWhen to set it

What it is

The Content-Type header tells the server what format a request body is in. For JSON payloads it is application/json.

In the Credicorp API

When you POST to a Credicorp public endpoint, set Content-Type: application/json so the body parses correctly. The API returns JSON too — you can send Accept: application/json to make that explicit, though it is the default.

Frequently asked questions

What happens if I forget the Content-Type?

The server may fail to parse your body, returning a 400. Always send Content-Type: application/json when posting JSON.

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.