# VNT Individual One-time Card CLI

This CLI is a thin client for the VNT server API. It does not store provider
credentials and it never calls card processor or payment provider APIs directly.

## Setup

```bash
export VNT_SERVER_URL="https://your-vnt-server.example"
```

For local almost-live testing:

```bash
export VNT_SERVER_URL="http://localhost:3000"
```

## Commands

Create a quote:

```bash
node instant-card-cli.mjs quote 100
```

Create checkout:

```bash
node instant-card-cli.mjs checkout 100
```

Check order status:

```bash
node instant-card-cli.mjs status ioc_example
```

Mock-confirm payment in almost-live mode:

```bash
node instant-card-cli.mjs mock-confirm ioc_example
```

## Security Boundary

- Do not put Slash, NihaoPay, treasury, webhook, or job secrets in this CLI.
- The CLI sends only product-level inputs such as amount or order id.
- The CLI returns payment, status, and claim links.
- The CLI must not print PAN or CVV. Card details belong on the claim page.
