Skip to content

Developers

Developer overview

A short tour of how agents integrate with Fidalon. API credentials and the full reference are shared with pilot participants; the API is not open on this website.

Concepts

Four ideas cover most of it

Workspaces

The unit of isolation. Budgets, agents, policies, connected accounts and audit records all belong to one workspace.

Agents

Each agent has its own budget, per-purchase cap and approval threshold, and acts with a workspace-scoped API key.

Decisions

Every request gets ALLOW, DENY or REQUIRE_APPROVAL, with the result of each rule that was checked.

Reservations

An allowed request reserves budget first. The reservation is settled for the actual cost or released when the outcome is known.

Authentication

Keys, signatures and idempotency

Every agent call carries a workspace-scoped API key. Keys have explicit scopes and can never perform operator actions such as approvals.

Deployments that enforce request signing reject any body that is not signed with the shared signing secret.

Reuse the same idempotency key when retrying: the original result comes back and nothing is paid twice.

Request headers
x-api-key:        <workspace-scoped agent API key>
x-signature:      sha256=<hex HMAC-SHA256 of the raw request body>
idempotency-key:  <your key>   (POST /api/authorize; other calls take it in the body)

REST API

Core endpoints

Core API endpoints
EndpointPurpose
POST /api/payRequest a purchase through the universal payment surface. Idempotent on the idempotency key.
GET /api/pay/:idRead a payment's state and outcome.
POST /api/pay/:id/reconcileRe-check a pending payment with its rail. Safe to call repeatedly.
POST /api/authorizeAsk for a spending decision on a data-provider purchase before making it.
POST /api/settlementExecute an authorized data-provider purchase with its single-use signed receipt.
GET /api/decisionsList recent decisions and the rules behind them.

MCP

MCP server tools

The MCP server wraps the same API. There is deliberately no approval tool: an agent must never approve its own purchase.

pay
Request a purchase (wraps POST /api/pay).
pay_status
Read a payment (wraps GET /api/pay/:id).
pay_reconcile
Re-check a pending payment.
payment_quote
Select a rail and explain why, without side effects.
payment_execute, payment_status, payment_cancel, payment_refund
Lower-level payment lifecycle tools.

Get API access

API keys and the full reference are issued to pilot participants.

We only email you about access. No spam. Privacy

Ready for a pilot now? Request access