Base URLs
Kira serves two environments. The/sandbox prefix applies to every path in the sandbox environment.
For example, the users endpoint is
https://api.balampay.com/v1/users in production and https://api.balampay.com/sandbox/v1/users in sandbox.
Authentication
Every authenticated call carries two credentials:x-api-key: <api_key>— your API key, on every request.Authorization: Bearer <access_token>— a bearer token fromPOST /auth, valid for 3600 seconds.
POST /auth itself needs only the x-api-key header. Use the returned access_token as your bearer token on all other requests. See the Authentication guide for the full flow.
Response envelopes
Successful responses are wrapped in a consistent envelope:event instead of message:
{ message, data } and webhook payloads use { event, data }. See the Webhooks guide for delivery details and the event catalog.
Versioning
Before you debug
The sandbox has documented gotchas — casing inconsistencies, field renames between request and response, tenant-scoped seed IDs, and more. Read the Known limitations & quirks guide before you spend an hour debugging.Next steps
Quickstart
Authenticate, pin a version, and make your first call.
Authentication
The two-credential model and the token flow in depth.
Webhooks
Register an endpoint and handle event payloads.
API reference
Browse every endpoint interactively.