Documentation
Everything you need to integrate machpay into your AI agents and services
Getting Started
Quick start guide to integrate machpay into your application
API Reference
Complete API documentation with examples
SDK Documentation
TypeScript, Python, and Go SDKs
Code Examples
Real-world integration examples
Deployment Guide
Deploy machpay-enabled services
GitHub Repository
Browse source code and contribute
Quick Start
1. Install the SDK
npm install @machpay/sdk
2. Initialize the Client
import { MachPayClient } from '@machpay/sdk';
const client = new MachPayClient({
wallet: yourWalletInstance,
network: 'base', // or 'arbitrum', 'ethereum'
});3. Make a Payment Request
const response = await client.request({
url: 'https://api.example.com/resource',
method: 'GET',
});
// Resource is returned immediately
console.log(response.data);
// Payment settles in background
console.log(response.receipt);📚 Complete Documentation: Detailed guides, API references, and advanced integration patterns are coming soon. Join our Discord for early access and support.