This is a demo. Its data may be reset from time to time.
Sandbox
REST API v2 Cross-Chain and Decentralised Finance Partner SDK Generator Reporting Modules AI Transaction Query

SDKs and Integration

You can connect your application through the REST API or through an official SDK. Pick the approach that suits your project.

The FinAegis SDKs are published to public registries. You can install them from npm, Packagist or PyPI with the commands below. You can also build them from the source in the main repository.

Integration Approaches

Both approaches use the same API. The SDKs save you from writing the HTTP calls yourself.

Available Now

REST API

Direct HTTP and JSON calls

You can call the REST API from any programming language. An OpenAPI 3.0 specification describes every documented endpoint.

Standard HTTP methods and status codes
API documentation for every endpoint
A public demo environment with test data
Postman collection available
Available

Native SDKs

Language-specific libraries

Official SDKs exist for JavaScript and TypeScript, Python and PHP. They cover accounts, transactions, transfers, assets, exchange rates, baskets, the GCU demo and webhooks.

JavaScript/TypeScript
Python
PHP
Go (soon)
Ruby (soon)
Java (soon)
npm install @finaegis/sdk
pip install finaegis
composer require finaegis/php-sdk

Each SDK installs with one command from its public registry.

AI Agent Integration

The AI endpoints are part of the REST API. The official SDKs do not wrap them yet, so you call them over HTTP.

AI Agent API

JavaScript Example
// Send a message to the AI agent
const response = await fetch('https://finaegis.org/api/ai/chat', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer your-api-token',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ message: 'What is my account balance?' })
});

console.log(await response.json());

MCP Tool Integration

Claude Desktop configuration
{
  "mcpServers": {
    "zelta": {
      "url": "https://mcp.zelta.app/mcp"
    }
  }
}

An AI client connects to the Model Context Protocol server and calls its tools. You do not need an SDK for this.

Model Context Protocol

The Model Context Protocol is an open standard that lets AI models use outside tools. The public server offers banking tools to any client that follows it.

14 Banking Tools

The tools read balances and transactions, send payments, quote exchange rates and start on-ramp sessions.

OAuth and Audit Log

The user approves each connection with OAuth. The server records every tool call.

Spending Limits

Each token has a daily spending limit for the payment tools. The user sets it on the consent screen.

Tool names
{
  "server": "https://mcp.zelta.app/mcp",
  "tools": [
    "account.balance",
    "account.create",
    "payment.status",
    "payment.transfer",
    "transactions.query",
    "spending.analysis",
    "exchange.quote",
    "exchange.trade",
    "ramp.start",
    "ramp.status",
    "mpp.discovery",
    "sms.send",
    "wallet.addresses",
    "wallet.activity"
  ]
}

The MCP tools reference lists the scope and the type of each tool.

Official SDKs

Official SDKs are available for JavaScript and TypeScript, Python and PHP. SDKs for more languages are planned. A separate PHP package, finaegis/payment-sdk, pays for x402 and Machine Payments Protocol requests automatically.

JavaScript/TypeScript Python PHP Java (planned) Go (planned) Ruby (planned)
Partner API

Partner SDK Generator

Partners on the Growth or Enterprise tier can ask the Partner API for a starter client. Today the generator builds it from templates, one language per request. The result has a README, a client class, an authentication helper and a package file.

TypeScript

typescript

Starter client

Python

python

Starter client

Java

java

Starter client

Go

go

Starter client

PHP

php

Starter client

Ask the Partner API for a Starter Client

Send one request for each language you need. The generator also supports C# and .NET. The Partner API signs you in with your partner client ID and client secret.

# Ask for a starter client in one language
curl -X POST https://finaegis.org/api/partner/v1/sdk/generate \
  -H "X-Partner-Client-Id: YOUR_CLIENT_ID" \
  -H "X-Partner-Client-Secret: YOUR_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"language": "typescript"}'

# List the supported languages
curl https://finaegis.org/api/partner/v1/sdk/languages \
  -H "X-Partner-Client-Id: YOUR_CLIENT_ID" \
  -H "X-Partner-Client-Secret: YOUR_CLIENT_SECRET"

Quick Install

The official SDKs install from Packagist, npm and PyPI.

PHP (Composer)

composer require finaegis/php-sdk

JavaScript (npm)

npm install @finaegis/sdk

Python (pip)

pip install finaegis

SDK Integration Guide

This guide starts with the official SDK. It then shows the REST calls for the modules the SDK does not cover yet, such as cross-chain transfers, decentralised finance, the Travel Rule check and AI queries.

1

Set Up the SDK with Your API Key

Create an API token in your dashboard. Point the SDK at the server you want to use.

TypeScript

// Install: npm install @finaegis/sdk
import { FinAegis } from '@finaegis/sdk';

const client = new FinAegis({
  apiKey: process.env.FINAEGIS_API_KEY,
  baseURL: 'https://finaegis.org/api/v2'
});

const accounts = await client.accounts.list();

Python

# Install: pip install finaegis
import os
from finaegis import FinAegis

client = FinAegis(
    api_key=os.environ['FINAEGIS_API_KEY'],
    base_url='https://finaegis.org/api/v2'
)

accounts = client.accounts.list()
2

Call the Cross-Chain and Decentralised Finance Endpoints

The cross-chain endpoints quote and start bridge transfers through adapters for Wormhole, LayerZero and Axelar. The decentralised finance endpoints quote swaps through adapters for Uniswap, Aave, Curve and Lido. Integration adapters for third-party APIs; no partnership or endorsement implied.

# Quote a bridge transfer of USDC from Ethereum to Polygon
curl -X POST https://finaegis.org/api/v1/crosschain/bridge/quote \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"from_chain": "ethereum", "to_chain": "polygon", "token": "USDC", "amount": "5000.00"}'

# Quote a swap on Polygon
curl -X POST https://finaegis.org/api/v1/defi/swap/quote \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"chain": "polygon", "from_token": "USDC", "to_token": "WETH", "amount": "5000.00"}'
3

Run a Travel Rule Check

The reporting modules are modelled on European markets and crypto-asset rules and on the Travel Rule. The Travel Rule check tells you which sender and recipient details a transfer needs. These modules do not by themselves make a deployment compliant.

curl -X POST https://finaegis.org/api/regtech/travel-rule/check \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 2500,
    "currency": "EUR",
    "originator": {"name": "Alice Example", "account_number": "LT00 0000 0000 0000 0000"},
    "beneficiary": {"name": "Bob Example", "account_number": "DE00 0000 0000 0000 0000 00"}
  }'
4

Ask About Transactions in Plain Language

The AI query endpoint turns a question in plain language into transaction filters. It returns the matching transactions.

curl -X POST https://finaegis.org/api/ai/query/transactions \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "Payments over 500 euros last month"}'

SDK Module Reference

The official SDKs have these modules. The names are the same in JavaScript, Python and PHP, written in each language's style.

client.accounts

Accounts, balances, deposits, withdrawals, freeze and unfreeze

client.transactions

Transaction lists and details

client.transfers

Transfers between accounts

client.assets

Supported assets

client.exchangeRates

Exchange rates and conversions

client.baskets

Currency baskets

client.gcu

The GCU software demo

client.webhooks

Webhook setup and deliveries

Built for Your Use Case

These are examples of products you can model with the FinAegis modules. Each one still needs your own licences, partners and compliance work before it serves real customers.

Digital Wallets

You can build a wallet with accounts in several currencies. It can move money between users and keep a full transaction history.

  • Multi-currency accounts
  • Peer-to-peer transfers
  • QR code payments

Marketplace Banking

You can model payments between buyers, sellers and AI agents. The agent protocol module covers split payments, escrow and disputes.

  • Split payments
  • Escrow
  • Dispute handling

Neobanking

You can prototype a digital bank with accounts, cards and loans. Card issuing runs through adapters for third-party card issuers.

  • Digital account opening
  • Card-issuing integration adapter
  • Spending analysis

Corporate Banking

You can model business banking with bulk payments and team permissions.

  • Bulk payments
  • Multi-user permissions
  • Batch jobs

Lending Platform

You can model loan products. The lending module covers applications, credit scoring, disbursement and repayments.

  • Credit scoring
  • Disbursements
  • Repayment tracking

Investment Platform

You can model portfolio tracking. The treasury module manages portfolios and rebalances them to target weights.

  • Net asset value calculation
  • Portfolio tracking
  • Automated rebalancing

Getting Started

These three steps connect your application to FinAegis.

1

Sign Up and Create an API Key

Create a free account and create an API key in your dashboard. The demo environment uses test data only.

2

Create Your First Account

Use the API to create an account. Each account can hold balances in several currencies.

3

Process Transactions

Send deposits, withdrawals and transfers. Follow their status through webhooks or by asking the API.

View Code Examples

The examples page has code for the common operations.

Start building

Pick your language and connect to FinAegis.