SDKsNative libraries
Native libraries
for every stack.
Official SDK for Node.js and TypeScript. Type-safe, well-documented, and designed to integrate with popular agent frameworks.
Choose your language.
Node.js / TypeScript
install
$ npm install @aipay/sdk
- Full TypeScript types included
- Promise-based async API
- Automatic retry with exponential backoff
- Node.js 18+ and Bun supported
Works with your agent framework.
LangChain
Custom tool integration. Wrap any aiPay SDK method as a LangChain tool.
CrewAI
Agent tool definitions for CrewAI. Give your crew financial autonomy.
AutoGen
Function calling integration for AutoGen multi-agent conversations.
Custom Agents
Direct SDK usage for any agent framework. REST API as fallback.
Quick Start10 lines to your
10 lines to your
first card.
Initialize the client, register an agent, create a card. That simple.
app.ts
// Initialize
import { AiPay } from '@aipay/sdk'
const aipay = new AiPay({ token: 'eyJhbG...' });
// Create a card
const card = await aipay.cards.create({
amount: 200,
currency: 'eur',
agent: 'procurement-bot'
});