Skip to main content
The UQPAY CLI provides command-line access to Account Center, Global Account, Global Acquiring, Card Issuance, Supporting Services, and sandbox simulation. It supports more than 100 commands across these domains.

GitHub

Source code and issues
The CLI is open source (MIT) and works on macOS, Linux, and Windows (amd64 and arm64). Version 1.2.0 is its first release in the coordinated client release line.

Installation

The npm installer requires Node.js 22 or later. The installed uqpay binary does not require Node.js at runtime.
You can also download release archives and checksums from GitHub Releases.

Build from source

Requires Go 1.21 or higher:

Shell completion

Configuration

Before you begin, create a sandbox account and create API keys. Run these once to set your credentials:
You can also pass credentials inline per command:
Or use environment variables:

Quick start

Output formats

Sub-account operations

Execute commands on behalf of a connected account:

Debugging

Use the --debug flag to display full HTTP request and response details:

Retries

The CLI automatically retries rate limits (429) and server errors (5xx) up to two times. It honors the server’s Retry-After header when present.

AI agent skills

The CLI ships with six structured skills in the skills/ directory, enabling AI agents to operate UQPAY APIs without additional configuration: Install skills alongside the CLI: