ZPAY Logo
ZPAY Docs
DocsGetting StartedQuick Start Guide

Quick Start Guide

Set up your developer environment, initialize the ZPAY SDK, and broadcast your first autonomous transaction on the Stellar network in under 5 minutes.

quickstart.ts
import { ZPay } from '@zpay/sdk';

const client = new ZPay({
  apiKey: process.env.ZPAY_SECRET_KEY,
  network: 'mainnet'
});

// Broadcast instant payment
const payment = await client.payments.create({
  to: 'alice@zpay',
  amount: 25.50,
  currency: 'USDC',
  agentMemo: 'API compute micro-settlement'
});

console.log(`Payment settled! Hash: ${payment.hash}`);

1. Prerequisites

You need Node.js 18+ or Python 3.10+ installed. Obtain your API Key from the ZPAY developer dashboard under Settings > API Keys.

2. SDK Installation

Install the official ZPAY client library via npm (npm install @zpay/sdk) or pip (pip install zpay-python).

3. Verification

All payments instantly resolve to 64-character Stellar ledger sequence hashes with under 3-second settlement finality.

ZPAY Protocol Documentation v1.4Need help? Contact Developer Support