Skip to main content
Coming Soon: The Developers section is under active development. Documentation will be available soon.

Overview

The Credit Kit API enables partners to integrate Centuari’s fixed-rate lending into their applications.

Full API Reference

See complete endpoint documentation

Quick Integration

// Server-side integration
const response = await fetch('https://api.centuari.io/v1/lend', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    userId: 'user_123',
    asset: 'USDC',
    amount: '10000',
    mode: 'easy'
  })
});

const position = await response.json();

Authentication

All requests require API key:
curl -H "Authorization: Bearer ck_live_..." https://api.centuari.io/v1/...

Core Endpoints

EndpointMethodDescription
/lendPOSTCreate lending position
/borrowPOSTCreate borrowing position
/positionsGETList positions
/positions/:idGETGet position details
/withdrawPOSTWithdraw funds
/markets/ratesGETCurrent market rates

Webhooks

Receive real-time updates:
{
  "event": "position.matched",
  "data": {
    "positionId": "pos_123",
    "rate": 0.078
  }
}

SDK Guide

Use the TypeScript SDK for easier integration