Before you begin
You’ll need:- A Clarivo tenant account
- OAuth2 client credentials (
client_idandclient_secret) from app.clarivo.co - The base URL for your environment:
https://ledger.clarivo.co/v1(production) orhttps://ledger.staging.clarivo.co/v1(staging)
Step 1: Get an access token
Exchange your client credentials for a bearer token using the OAuth2 client credentials flow.Response
Step 2: Verify connectivity
Check that the service is live and your network can reach it — no authentication required.Response
Step 3: Post your first payment
Record a loan payment. Every POST requires anIdempotency-Key — choose a deterministic key that is unique per event.
Response (201 Created)
amount_minor is always expressed in the currency’s minor unit as a string (e.g. cents for USD) to avoid floating-point precision issues.Step 4: Read the loan balance
Response
Next steps
API Reference
Full reference for all endpoints with request/response schemas.
Idempotency
Learn the idempotency contract and recommended key formats.
Error handling
All errors follow RFC 7807 Problem Details format.
Local development
Run these docs locally to contribute or preview changes.
