npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@uqpay/cli

v0.3.1

Published

UQPAY command-line tool for banking, issuing, and payment APIs

Readme

uqpay-cli

License: MIT Go Version npm version

The official UQPAY CLI tool — built for humans and AI Agents. Covers Banking, Card Issuing, and Payment APIs with 100+ commands and 6 AI Agent Skills.

Install · Quick Start · AI Agent Skills · Commands · Advanced · Contributing

Why uqpay-cli?

  • Agent-Native Design — 6 structured Skills out of the box, AI Agents can operate UQPAY APIs with zero extra setup
  • Wide Coverage — 3 business domains (Banking, Issuing, Payment), 100+ commands, Connect & Simulator included
  • Zero Type Hassle — All values default to strings, number fields auto-converted per API spec — just type -d amount=100 and it works
  • Open Source — MIT license, npm install and go
  • Up and Running in 1 Minute — Set credentials, start calling APIs
  • Cross-Platform — macOS, Linux, Windows (amd64 & arm64)

Features

| Domain | Capabilities | |--------|-------------| | 🏦 Banking | Balances, transfers, deposits, payouts, beneficiaries, FX conversions, exchange rates, virtual accounts | | 💳 Issuing | Card products, cardholders, virtual/physical cards, recharge/withdraw, transactions, spending controls, reports | | 💰 Payment | Payment intents, attempts, refunds, settlements, bank accounts, payouts | | 🔗 Connect | Connected accounts, sub-account onboarding (COMPANY/INDIVIDUAL), KYC document upload | | 🧪 Simulator | Sandbox-only: simulate deposits, card authorizations, reversals | | 📁 File | Upload files, get download links |

Installation

From npm (recommended)

# Install CLI
npm install -g @uqpay/cli

# Install AI Agent Skills (required for AI Agent usage)
npx skills add uqpay/uqpay-cli -y -g

From source

Requires Go 1.21+.

git clone https://github.com/uqpay/uqpay-cli.git
cd uqpay-cli
make install

# Install AI Agent Skills (required for AI Agent usage)
npx skills add uqpay/uqpay-cli -y -g

Enable tab completion (optional)

uqpay setup-completion
source ~/.zshrc  # or ~/.bashrc

Quick Start

# 1. Configure credentials (one-time)
uqpay config set client-id YOUR_CLIENT_ID
uqpay config set api-key YOUR_API_KEY
uqpay config set env sandbox

# 2. Start using
uqpay banking balance list
uqpay issuing card list
uqpay payment intent list

Or inline without config file:

uqpay --env sandbox --client-id ID --api-key KEY banking balance list

Quick Start (AI Agent)

# Step 1 — Install
npm install -g @uqpay/cli
npx skills add uqpay/uqpay-cli -y -g

# Step 2 — Configure (provide credentials from UQPAY dashboard)
uqpay config set client-id <CLIENT_ID>
uqpay config set api-key <API_KEY>
uqpay config set env sandbox

# Step 3 — Verify
uqpay banking balance list

Agent Skills

Located in skills/, these provide structured guides for AI Agents to operate UQPAY APIs correctly.

| Skill | Description | |-------|-------------| | uqpay-shared | Configuration, authentication, global flags, data conventions, auto number coercion | | uqpay-banking | Balances, beneficiaries, payouts, conversions, transfers, deposits, virtual accounts | | uqpay-issuing | Cards, cardholders, products, transactions, transfers, reports | | uqpay-payment | Payment intents, attempts, refunds, settlements, bank accounts, payouts | | uqpay-connect | Connected accounts, sub-account onboarding, --on-behalf-of operations | | uqpay-simulate | Sandbox testing: deposits, authorizations, reversals |

Command Structure

uqpay <domain> <resource> <action> [flags]

Domains

uqpay banking balance list           # Banking API
uqpay issuing card list              # Issuing API
uqpay payment intent list            # Payment API

Other Commands

uqpay account list                   # Connected accounts (Connect API)
uqpay config get                     # CLI configuration
uqpay file upload ./doc.pdf          # File upload
uqpay simulate deposit -d ...        # Sandbox simulator
uqpay setup-completion               # Install shell tab-completion

Shortcuts

Top-level aliases for common resources:

uqpay beneficiary list               # = uqpay banking beneficiary list
uqpay card list                      # = uqpay issuing card list
uqpay payout list                    # = uqpay banking payout list
uqpay conversion list                # = uqpay banking conversion list
uqpay cardholder list                # = uqpay issuing cardholder list
uqpay exchange-rate list             # = uqpay banking exchange-rate list

Data Passing

Read operations use flags, write operations use -d key=value:

# Read (GET)
uqpay banking beneficiary list --page-num 2 --page-size 20

# Write (POST) — dot notation for nested objects
uqpay banking beneficiary create \
  -d entity_type=INDIVIDUAL \
  -d first_name=John \
  -d last_name=Doe \
  -d bank_details.swift_code=DBSSSGSG \
  -d bank_details.account_number=1234567890

All values are strings by default. Number fields (like amount in card recharge) are auto-converted — no prefix needed.

Advanced Usage

Output Formats

uqpay banking balance list              # table (default)
uqpay banking balance list -o json      # JSON
uqpay banking balance list -o yaml      # YAML

Debug Mode

uqpay --debug banking balance list      # Print HTTP request/response details

Sub-Account Operations

uqpay --on-behalf-of <account-id> banking balance list

File Encoding

# Pure base64 (issuing identity documents)
-d identity.front_file=@./passport.jpg

# Data URI (connect account documents)
-d "certification[0]=@+./cert.png"

Environment Variables

| Variable | Description | |----------|-------------| | UQPAY_CLIENT_ID | Override client ID | | UQPAY_API_KEY | Override API key | | UQPAY_ENV | Override environment (sandbox/production) | | UQPAY_OUTPUT | Override output format |

Contributing

Contributions welcome! Please submit an Issue or Pull Request.

License

MIT