Glossary

Event envelope

The event envelope is the consistent outer JSON every webhook shares — id, type, created, livemode, api_version and the data payload — so one handler can route on type.

2 min read

Definition

The event envelope is the fixed wrapper around every Credicorp webhook. Its metadata identifies the event and its version; the resource itself lives under data.object. Because the envelope shape never varies across event types, you can write one dispatcher that reads type and hands data.object to the right handler. See the envelope reference.

Frequently asked questions

What is the difference between the envelope and the payload?

The envelope is the metadata wrapper (id, type, created…); the payload is the resource under data.object. See event payload.

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.