The UQPAY Go SDK provides typed access to the UQPAY API, including automatic OAuth2 authentication, automatic idempotency keys, and thread-safe credential management.Documentation Index
Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt
Use this file to discover all available pages before exploring further.
GitHub
github.com/uqpay/uqpay-sdk-go
The SDK requires Go 1.19 or higher. Current version: 1.0.3.
Installation
Quick start
Configuration
- Direct parameters
- Environment variables
- Custom endpoint
Authentication
The SDK handles OAuth2 authentication automatically:- Fetches access tokens using client credentials
- Caches tokens until expiration
- Automatically refreshes expired tokens
- Thread-safe token management
Idempotency
Every API request automatically includes a unique idempotency key to ensure safe retries and prevent duplicate operations. You do not need to set this manually.Error handling
The SDK returns detailed error information including HTTP status codes and API error details:API coverage
Banking API
| Resource | Operations |
|---|---|
| Balances | Get, List, ListTransactions |
| Transfers | Create, List, Get |
| Deposits | List, Get |
| Beneficiaries | Create, List, Get, Update, Delete, ListPaymentMethods, Check |
| Payouts | Create, List, Get |
| Virtual Accounts | Create, List |
| Conversions | CreateQuote, Create, List, Get, ListConversionDates |
| Exchange Rates | List |
Issuing API
| Resource | Operations |
|---|---|
| Cardholders | Create, Get, List |
| Cards | Create, Get, GetSecure, List, Recharge, Withdraw, UpdateStatus |
| Transactions | Get, List |
| Products | List |

