API Gateway · SDKs v1.1.0

Integrate Compense into your own systems

One server-to-server API that lets your family compensation fund (caja de compensación), cooperative, fintech or healthcare provider (IPS) run affiliates, credits, subsidies, wallet, loans, PQRS, health and its ERP from its own systems, with official SDKs in five languages.

What the API Gateway is #

The Compense API Gateway is the headless entry point to the platform: your system talks to it over HTTPS with an API key, and the gateway authenticates, validates, applies idempotency and limits, and routes each request to the Compense business engine. Everything lives under /v1/gateway/..., every write returns the same envelope, and every error follows RFC 9457.

Your first call
from compense_gateway import CompenseClient

client = CompenseClient(api_key="cmp_...", environment="sandbox")
print(client.system.health().tenant)

Start here #

Gateway modules #

ModuleWhat it solvesGuideReference
AffiliatesMatching and loading the entity’s affiliate base.Guideaffiliates
CreditsSubmit, decide and disburse applications in the decision engine.Guidecredits
Subsidies and monetary allowanceStatutory subsidies and each period’s monetary allowance.Guidesubsidies · monetary-allowance
WalletBalance, movements, P2P, Bre-B, bills, top-ups, accounts, cards and FX.Guidewallet
LoansInstallments, collections, partial payments, payoff and certificates for disbursed credits.Guideloans
PQRSPetitions, complaints, claims and suggestions from your CRM or call center.Guidepqrs
HealthScheduling and appointments, healthcare billing and vaccination for healthcare providers (IPS).Guidehealth
AdministrativeHuman resources, payroll, accounting and treasury.Guideadmin
WebhooksEndpoints, events, deliveries and redeliveries via the API.Guidewebhooks
SandboxTest clocks and simulators for sandbox keys.Guidesandbox
Transactions and systemTransaction status and key validation.Guidetransactions · system

How to choose an SDK #

Use the SDK for your system’s language: all five cover the same 115 operations with the same rules and pass the same parity tests against the contract. Pick your language in any code tab and the site will remember it on every page. If your language has no SDK, the API reference includes a curl for each operation. See the comparison in Official SDKs.

Operating the platform rather than integrating it?

The User guides explain, without code, how to use each module from the dashboard and the apps.