---
name: AltLLM Portal Payments
slug: altllm-portal-payments
category: Automation
description: AltLLM Portal Payments creates NOWPayments crypto payment links, polls settlement status, and sends direct wallet payments through the local altllm CLI. Use it when you need to handle crypto top-ups or direct payment flows outside x402 credit top-ups.
github: "https://github.com/internet-court/internet-court-skill/tree/main/vendored/altlayer/altllm-portal-payments"
language: TypeScript
stars: 2969
forks: 68
install: "npx degit https://github.com/internet-court/internet-court-skill/tree/main/vendored/altlayer/altllm-portal-payments ~/.claude/skills/altllm-portal-payments"
installs_to: ~/.claude/skills/altllm-portal-payments
source_path: vendored/altlayer/altllm-portal-payments/SKILL.md
collection_size: 25
category_size: 1523
collection_url: "https://dirskills.com/collections/internet-court/internet-court-skill"
added: 2026-08-17T07:09:49.564Z
last_synced: 2026-08-17T07:09:49.564Z
canonical_url: "https://dirskills.com/skills/altllm-portal-payments"
---

# AltLLM Portal Payments

AltLLM Portal Payments creates NOWPayments crypto payment links, polls settlement status, and sends direct wallet payments through the local altllm CLI. Use it when you need to handle crypto top-ups or direct payment flows outside x402 credit top-ups.

**Install:**

```bash
npx degit https://github.com/internet-court/internet-court-skill/tree/main/vendored/altlayer/altllm-portal-payments ~/.claude/skills/altllm-portal-payments
```

## README

# AltLLM Portal Payments

NOWPayments payment-link creation, settlement polling, and direct wallet payment flows for the local `altllm` CLI.

These payment links are separate from AltLLM Portal x402 credit top-ups. Use `altllm-x402` for `/api/billing/x402/quote` and `/settle` flows.

## Shared Setup

> Before the first `altllm` command in a fresh checkout, read and follow:
> - `../_shared/preflight.md`
> - `../_shared/session-and-target.md`

## Command Index

| Command | Purpose |
|---|---|
| `topup-crypto` | Create a hosted or direct crypto payment link |
| `payment-status` | Inspect or poll an existing payment link |
| `pay-payment-link` | Send a direct on-chain payment for an existing link |

## Guardrails

- Unsupported `pay_currency` values must fail fast.
- `pay-payment-link` must not pay terminal links (`completed`, `expired`, `failed`, `deactivated`).
- Do not silently downgrade from direct payment to hosted checkout.
- `topup-crypto --discount-code <code>` is for discounted credit top-up invoices, not subscriptions.
- Discount-code top-ups should be previewed before payment-link creation so a single allowed token can be selected automatically.
- Token-scoped discount codes must respect Portal-returned `allowedPayCurrencies`.
- Payment command JSON should surface discount metadata returned by the Portal API.
- `pay-payment-link --wait` should emit one final JSON document.
- `payment-status` and `pay-payment-link` currently depend on the newest `100` records from `GET /api/billing/payment-links?limit=100`.
- Older payment links are not reachable from these CLI flows until the backend exposes per-link lookup or older-page pagination.
- Supported automatic direct-payment currencies are:
  - `eth`
  - `usdterc20`
  - `usdcerc20`
  - `usdcbase`
  - `usdtbase`

## Reference

See [references/cli-reference.md](references/cli-reference.md) for workflows and representative outputs.
