Multiple ways to integrate our core banking infrastructure into your applications. Choose the approach that fits your needs.
Choose the integration method that best suits your application architecture and development needs
Direct HTTP/JSON integration
Integrate directly with our RESTful API using any programming language. Full OpenAPI 3.0 specification available.
Language-specific libraries
Official SDKs for popular programming languages with idiomatic APIs and comprehensive type safety.
Native SDKs are planned for future development. Currently, use our REST API directly.
Connect to our AI-powered banking agents with simple API calls
const agent = new FinAegisAI({
apiKey: 'your-api-key'
});
// Send a message to the AI agent
const response = await agent.chat({
message: 'What is my account balance?',
context: { accountId: 'acc_123' }
});
console.log(response.message);
// "Your current balance is $12,456.78"
from finaegis import MCPClient
# Initialize MCP client
mcp = MCPClient(api_key='your-api-key')
# Use banking tools directly
balance = mcp.tools.get_account_balance(
account_id='acc_123',
currency='USD'
)
print(f"Balance: {balance.amount} {balance.currency}")
Standard protocol for AI model integration with banking tools
Account, transaction, compliance, and analytics tools
Authentication, authorization, and audit logging
Stream responses with WebSocket support
{
"name": "finaegis-mcp-server",
"version": "1.0.0",
"tools": [
"GetAccountBalance",
"TransferMoney",
"KycVerification",
"AmlScreening",
"SpendingAnalysis"
],
"capabilities": {
"streaming": true,
"authentication": "bearer",
"rateLimit": 1000
}
}
We're planning to build native SDKs for all major programming languages to make integration even easier.
Generate type-safe, versioned SDKs for your partner integration in TypeScript, Python, Java, Go, and PHP -- directly through the Partner API.
@finaegis/sdk
Availablefinaegis-sdk
Availablecom.finaegis:sdk
Availablefinaegis-go
Availablefinaegis/sdk
AvailableWhen you onboard as a BaaS partner, SDKs are automatically generated for your requested languages. You can also regenerate or request additional language SDKs at any time.
# Request SDK generation for your partner account curl -X POST https://api.finaegis.org/api/v1/partner/sdk/generate \ -H "Authorization: Bearer YOUR_PARTNER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "languages": ["typescript", "python", "java", "go", "php"], "api_version": "v5", "include_modules": ["accounts", "transfers", "crosschain", "defi", "compliance"], "options": { "include_types": true, "include_examples": true, "include_tests": true } }' # Response includes download URLs for each SDK { "data": { "generation_id": "sdkgen_abc123", "status": "completed", "packages": [ { "language": "typescript", "version": "5.0.0", "package_name": "@finaegis/sdk", "download_url": "https://sdk.finaegis.org/packages/typescript/finaegis-sdk-5.0.0.tgz", "install_command": "npm install @finaegis/sdk@5.0.0" }, { "language": "python", "version": "5.0.0", "package_name": "finaegis-sdk", "download_url": "https://sdk.finaegis.org/packages/python/finaegis-sdk-5.0.0.tar.gz", "install_command": "pip install finaegis-sdk==5.0.0" }, { "language": "java", "version": "5.0.0", "package_name": "com.finaegis:sdk", "download_url": "https://sdk.finaegis.org/packages/java/finaegis-sdk-5.0.0.jar", "install_command": "mvn install com.finaegis:sdk:5.0.0" }, { "language": "go", "version": "5.0.0", "package_name": "github.com/finaegis/sdk-go", "download_url": "https://sdk.finaegis.org/packages/go/finaegis-sdk-go-5.2.0.tar.gz", "install_command": "go get github.com/finaegis/sdk-go@v5.2.0" }, { "language": "php", "version": "5.0.0", "package_name": "finaegis/sdk", "download_url": "https://sdk.finaegis.org/packages/php/finaegis-sdk-5.0.0.zip", "install_command": "composer require finaegis/sdk:^5.0" } ] } }
TypeScript / JavaScript
npm install @finaegis/sdk@5.0.0
Python
pip install finaegis-sdk==5.0.0
Java (Maven)
mvn install com.finaegis:sdk:5.0.0
Go
go get github.com/finaegis/sdk-go@v5.2.0
PHP (Composer)
composer require finaegis/sdk:^5.0
Step-by-step guide to integrating the FinAegis BaaS SDK into your partner application, covering authentication, module access, and advanced features like Cross-Chain and DeFi.
Use the API key and partner ID from your onboarding response. The SDK auto-configures based on your enabled modules.
TypeScript
import { FinAegis } from '@finaegis/sdk';
const client = new FinAegis({
apiKey: process.env.FINAEGIS_PARTNER_KEY,
partnerId: 'partner_acme_abc123',
environment: 'production', // or 'sandbox'
modules: ['accounts', 'transfers',
'crosschain', 'defi', 'compliance']
});
Python
from finaegis import FinAegis
client = FinAegis(
api_key=os.environ['FINAEGIS_PARTNER_KEY'],
partner_id='partner_acme_abc123',
environment='production',
modules=['accounts', 'transfers',
'crosschain', 'defi', 'compliance']
)
The SDK provides typed interfaces for bridge operations (Wormhole, LayerZero, Axelar), DEX aggregation (Uniswap, Aave, Curve, Lido), cross-chain swaps, and multi-chain portfolio management.
// TypeScript -- Cross-Chain Bridge + DeFi Swap in one workflow async function crossChainSwapWorkflow() { // Bridge USDC from Ethereum to Polygon const bridgeQuote = await client.crosschain.bridge.quote({ source_chain: 'ethereum', destination_chain: 'polygon', token: 'USDC', amount: '5000.00' }); const bridgeTx = await client.crosschain.bridge.initiate({ quote_id: bridgeQuote.data.quote_id, sender_address: '0x1234...abcd', recipient_address: '0x1234...abcd' }); // Wait for bridge completion, then swap on Polygon await client.crosschain.bridge.waitForCompletion(bridgeTx.data.bridge_tx_id); const swapQuote = await client.defi.swap.quote({ chain: 'polygon', token_in: 'USDC', token_out: 'WMATIC', amount_in: '5000.00' }); const swap = await client.defi.swap.execute({ quote_id: swapQuote.data.quote_id, wallet_address: '0x1234...abcd' }); // Get multi-chain portfolio overview const portfolio = await client.crosschain.portfolio.get({ wallet_address: '0x1234...abcd', chains: ['ethereum', 'polygon', 'arbitrum'] }); console.log('Portfolio total value:', portfolio.data.total_value_usd); }
Built-in compliance modules for MiFID II reporting, MiCA compliance, and FATF Travel Rule -- automatically enforced based on your jurisdiction configuration.
// TypeScript -- Compliance-aware transfer async function compliantTransfer(transferParams) { // Travel Rule check is automatic for transfers above threshold const complianceResult = await client.regtech.travelRule.check({ transfer_id: transferParams.id, originator: transferParams.originator, beneficiary: transferParams.beneficiary, transfer_details: { amount: transferParams.amount, currency: transferParams.currency } }); if (!complianceResult.data.is_compliant) { throw new Error( `Compliance failed: ${complianceResult.data.compliance_issues .map(i => i.description).join(', ')}` ); } // MiCA compliance for crypto assets const micaCheck = await client.regtech.mica.validate({ asset_type: 'crypto', transaction_type: 'transfer', amount: transferParams.amount, jurisdiction: 'EU' }); // Proceed with transfer only if all checks pass return await client.transfers.create(transferParams); }
The SDK includes AI-powered transaction search that accepts natural language queries and returns structured, filterable results with risk scoring.
// TypeScript -- AI-powered transaction intelligence
const insights = await client.ai.transactions({
query: 'Large DeFi swaps on Ethereum this month with high slippage',
account_id: 'acct_primary',
options: {
include_analytics: true,
include_risk_scores: true
}
});
console.log('Interpreted as:', insights.data.interpreted_query);
console.log('Found:', insights.data.total_results, 'transactions');
console.log('Total volume:', insights.data.analytics.total_volume);
Each BaaS partner SDK includes the following modules, based on the modules enabled during onboarding.
Account creation, balances, transactions
v1.0+Payments, P2P transfers, bulk operations
v1.0+Blockchain wallets, hardware wallet support
v2.1+KYC/AML, sanctions screening
v1.0+MiFID II, MiCA, Travel Rule compliance
v2.8+Bridge protocols, multi-chain portfolio
v5.2+DEX aggregation, lending, staking, yield
v5.2+Transaction queries, spending insights
v2.8+SDK generation, tenant management, config
v2.9+Whether you're building a fintech app, marketplace, or enterprise platform, FinAegis provides the banking infrastructure you need
Create secure digital wallets with multi-currency support, instant transfers, and comprehensive transaction history.
Enable split payments, escrow services, and automated payouts for your marketplace platform.
Launch a complete digital banking solution with accounts, cards, and lending capabilities.
Streamline business banking with bulk payments, expense management, and team permissions.
Build lending products with automated underwriting, loan management, and repayment processing.
Enable investment accounts, portfolio management, and automated investing features.
Three simple steps to integrate FinAegis into your application
Create your free account and generate API keys from your dashboard. You'll get instant access to our sandbox environment.
Use our API to create customer accounts. Each account can hold multiple currencies and support various transaction types.
Start processing payments, transfers, and other transactions. Monitor everything in real-time through webhooks or API polling.
See full code examples with syntax highlighting for all operations
Choose your preferred language and start building with FinAegis today