Skip to main content
The UQPAY Python SDK provides typed access to Account Center, Global Account, Global Acquiring, Card Issuance, and Supporting Services. It includes automatic authentication, request retries, webhook verification, PGP authorization decisions, and sandbox transaction simulation.

PyPI

uqpay
The SDK requires Python 3.11 or later. Version 1.2.0 is its first release in the coordinated client release line.

Installation

Quick start

Before you begin, create a sandbox account and create API keys.

Configuration

You can also provide credentials through environment variables:

Authentication

The SDK uses your client_id and api_key to retrieve a UQPAY Access Token, caches it, and retrieves a new Token before the current one expires. You do not need to manage Tokens manually.
Stablecoin Account (Ramp) is not included in the current SDK product scope.

Per-request options

Set idempotency, sub-account, timeout, and retry behavior for an individual request:

Pagination

All list methods accept page_number and page_size:

Resources

Explore the available API namespaces.

Webhooks

Verify incoming webhook signatures.

Authorization decision

Handle PGP-encrypted card authorization decisions.

Error handling

Handle typed SDK errors and retries.