Build with stablecoins
RESTful APIs, sandbox environments, and comprehensive documentation. Go from API key to live payment in under an hour.
Simple, powerful APIs
Initiate payments, manage wallets, and handle compliance with a few lines of code. TypeScript-first with full type coverage.
RESTful API design with predictable resource URLs
Comprehensive TypeScript types
Built-in retry logic and idempotency
Detailed error codes and messages
payment.ts
import { StablecoinRoadmap } from '@stablecoinroadmap/sdk';
const client = new StablecoinRoadmap({
apiKey: process.env.SCR_API_KEY,
});
// Send USDC on Base
const payment = await client.payments.create({
amount: '1000.00',
stablecoin: 'USDC',
toAddress: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18',
chain: 'base',
metadata: { orderId: 'order_123' },
});
console.log(payment.id, payment.status);SDKs & Libraries
The JavaScript/TypeScript SDK is available now. Python, Go, and Ruby SDKs are in development.
JS
JavaScript / TypeScript
Availablenpm install @stablecoinroadmap/sdkAPI Endpoints
Full referencePOST/v1/payments
POST/v1/agent-payments/requests
POST/v1/agent-payments/execute
GET/v1/payments/:id
POST/v1/payouts
GET/v1/wallets
POST/v1/compliance/screen
GET/v1/rates
Ready to start building?
Get your API keys and run your first test payment in the sandbox.