What is SuperAPI?
SuperAPI acts as your single point of integration to the entire U.S. financial system. We've built direct relationships with sponsor banks, payment networks, and infrastructure providers—so you don't have to.
import { OmniWire } from '@omniwire/sdk';
const client = new OmniWire({ apiKey: process.env.OMNIWIRE_API_KEY });
// ACH Payment - 1-2 business days
await client.payments.create({
rail: 'ach',
amount: 100000,
destination: { accountNumber: '***1234', routingNumber: '021000021' }
});
// Wire Transfer - Same day
await client.payments.create({
rail: 'wire',
amount: 250000,
destination: { accountNumber: '***5678', routingNumber: '026009593' }
});
// Real-Time Payment - Instant
await client.payments.create({
rail: 'rtp',
amount: 5000,
recipient: { phoneNumber: '+1-555-0123' }
});
// Stablecoin - Instant + 4.1% rewards
await client.crypto.convert({
from: 'USD',
to: 'USDC',
amount: 100000
});
// Same API. Different rails. One integration.const achPayment = await client.payments.create({
rail: 'ach',
type: 'debit',
amount: 50000, // $500.00
currency: 'USD',
source: {
accountNumber: '***1234',
routingNumber: '021000021'
},
speed: 'same_day' // or 'standard'
});const wirePayment = await client.payments.create({
rail: 'wire',
type: 'domestic', // or 'international'
amount: 250000, // $2,500.00
currency: 'USD',
beneficiary: {
name: 'Acme Corp',
accountNumber: '987654321',
routingNumber: '026009593'
}
});const rtpPayment = await client.payments.create({
rail: 'rtp',
amount: 5000, // $50.00
currency: 'USD',
recipient: {
phoneNumber: '+1-555-0123',
// or email, debit card, etc.
},
message: 'Payment for services'
});const conversion = await client.crypto.convert({
from: 'USD',
to: 'USDC',
amount: 100000, // $1,000
sourceAccount: 'acct_123',
destinationWallet: '0x742d35Cc...'
});
// Check rewards
const balance = await client.crypto.getBalance({
currency: 'USDC'
});
console.log(balance.apy); // "4.1%"