> ## Documentation Index
> Fetch the complete documentation index at: https://developers.uqpay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> Reference for all UQPAY CLI commands, including domain resources, data operations, and quick aliases.

## Command structure

All commands follow the pattern:

```bash theme={null}
uqpay <domain> <resource> <action> [flags]
```

## Domains

| Domain     | Resources                                                                            |
| ---------- | ------------------------------------------------------------------------------------ |
| `banking`  | Balances, transfers, deposits, payouts, beneficiaries, conversions, virtual accounts |
| `issuing`  | Cards, cardholders, transactions, spending controls, reports                         |
| `payment`  | Intents, attempts, refunds, settlements, bank accounts                               |
| `connect`  | Connected accounts, sub-account onboarding, KYC uploads                              |
| `simulate` | Sandbox testing — deposits, authorizations, reversals                                |
| `file`     | Document uploads and retrieval links                                                 |

## Quick aliases

Common resources have top-level shortcuts so you can skip the domain name:

| Alias                    | Equivalent                       |
| ------------------------ | -------------------------------- |
| `uqpay beneficiary list` | `uqpay banking beneficiary list` |
| `uqpay card list`        | `uqpay issuing card list`        |
| `uqpay payout list`      | `uqpay banking payout list`      |

## Read operations

Use flags to pass query parameters:

```bash theme={null}
uqpay banking beneficiary list --page-num 2 --page-size 20
```

## Write operations

Use `-d key=value` to pass request body fields. Dot notation creates nested objects:

```bash theme={null}
uqpay banking beneficiary create \
  -d entity_type=INDIVIDUAL \
  -d first_name=John \
  -d bank_details.swift_code=DBSSSGSG
```

<Tip>
  Values default to strings with automatic number conversion per the API spec. You can pass `-d amount=100` without worrying about type declarations.
</Tip>

## File encoding

### Base64 encoding

Prefix the file path with `@` to base64-encode a local file:

```bash theme={null}
-d identity.front_file=@./passport.jpg
```

### Data URI format

For Connect document uploads, use `@+` to encode as a data URI:

```bash theme={null}
-d "certification[0]=@+./cert.png"
```
