PayAiML Documentation

Everything you need to integrate PayAiML into your application. Get started in minutes with our comprehensive guides and API reference.

Quick Start

Get up and running in 5 minutes

API Reference

Complete API documentation

Guides

Step-by-step tutorials

Get started in minutes

Follow these simple steps to start accepting payments with PayAiML.

1

Create your account

Sign up for a PayAiML account and get your API keys instantly. No approval process required for testing.

2

Install the SDK

Install our SDK for your preferred programming language. We support Node.js, Python, PHP, Ruby, and more.

3

Create a payment

Use our simple API to create payment intents and start accepting payments from your customers.

Node.js Example
Create your first payment intent
// Install the PayAiML SDK
npm install @payaiml/node

// Initialize PayAiML
const payaiml = require('@payaiml/node')('sk_test_...');

// Create a payment intent
const paymentIntent = await payaiml.paymentIntents.create({
  amount: 2000,
  currency: 'usd',
  automatic_payment_methods: {
    enabled: true,
  },
});