Built for APIs
Designed for Speed
Integrate payments into your app in minutes with our robust APIs and comprehensive documentation.
Write less code, launch faster
Our APIs are designed by developers to feel intuitive. From robust authentication to idempotent requests preventing accidental double charges, we have engineered an experience that makes testing and production deployment seamless.
// Initialize AltPaygate
import { AltPaygate } from '@altpay/node';
const client = new AltPaygate('sk_live_12345...');
// Create a payment intent
const intent = await client.paymentIntents.create({
amount: 2000,
currency: 'usd',
payment_method_types: ['card', 'mobile_money'],
metadata: { order_id: '6735' }
});
console.log(intent.client_secret);RESTful Architecture
Predictable, resource-oriented URLs. JSON-encoded request bodies and standard HTTP response codes.
Real-time Webhooks
Get instantly notified of asynchronous events like successful payments, refunds, or disputes.
Native SDKs
Drop-in libraries for Node, Python, Ruby, PHP, Java, Go, iOS, and Android to get you moving faster.
Comprehensive Logs
Complete visibility into every request within your dashboard to debug issues in seconds.
Bank-grade Security. natively.
Every API request is heavily encrypted and authenticated using API keys. Use scoping to assign granular permissions across testing and live modes without compromising your main account.
Test your integration securely in our sandbox environment before going live. Instant provisioning, zero friction.