Guide for developers

Build on top of Chronosfy

REST API with OpenAPI 3.1, MCP server for AI agents, webhook subscriptions and API keys. Everything wey you need to connect billing wey dey repeat to your system.

Checkout sessions

Collect one payment, schedule payments wey go repeat or save one card. Open di URL wey you get back or put di checkout inside your store. Use di result wey di server confirm before you fulfil di order.

POST /api/checkout/sessionsGET /api/checkout/sessions/:idcreate_checkout_sessionget_checkout_sessionGET /api/docs/quickstart/checkout

REST API

87+ endpoints for CRM, schedules wey dey repeat, actions, payments, events and webhooks. Interactive docs with Scalar and full OpenAPI 3.1 specification.

GET /api/crm/personsPOST /api/recurrencesPOST /api/actions/:id/test-sendGET /api/payment/chargesPOST /api/events/webhooks

MCP Server (Model Context Protocol)

Check di current tool schemas for /api/mcp/tools. Agents wey support MCP dey use di same tenant permissions and business rules as di REST API.

list_personscreate_personlist_recurrencespause_recurrencetrigger_recurrenceexecute_actionlist_charges

Webhook Subscriptions

Subscribe to any system event. We dey try deliveries again automatically and sign payloads with HMAC-SHA256. Track each delivery and check di full audit history.

recurrence.completedpayment.succeededpayment.failedaction.deliveredperson.created

Authentication

JWT authentication with access tokens (15min) and refresh tokens (7d). For connections between servers, API keys fit get specific permissions.

POST /api/auth/loginPOST /api/auth/registerPOST /api/auth/refreshPOST /api/settings/api-keys