Skip to main content

Installation

Install the Package

Requirements

  • Node.js 18 or later
  • TypeScript 5.0 or later (recommended)

Basic Setup

1. Create a Client Instance

2. Make Your First API Call

Configuration Options

Environment Variables

We recommend storing your API key in environment variables:

Using with React

For React applications, import hooks directly:

Sandbox Mode

Use the sandbox environment for testing:
Sandbox invoices use test data and do not trigger real blockchain settlements.
Get a sandbox API key from the Dashboard by toggling to “Test Mode”.