Quickstart

Start integrating AirPay to accept stablecoins. Follow this brief guide to configure credentials, call client APIs, and check balance states.

1. Install SDK Client

npm install @airpay/sdk

2. Initialize and Query

Provide your private sandbox key to retrieve account objects. Sandbox keys are generated inside the developer dashboard.

Non-custodial Settle Vaults

Ensure your destination settlement address is configured correctly in the dashboard settings before processing sandbox requests.

Request Sample
import AirPay from '@airpay/sdk';
const airpay = new AirPay('sk_test_51P8...');
Response JSON (200 OK)
{
  "object": "balance",
  "available": [
    {
      "amount": 145000,
      "currency": "usdc",
      "network": "solana"
    }
  ]
}
Server Response finalitySandbox Up