Payment Link Reader

v1.0.0

Fetch product info by payment link ID. Calls GStable API to get payment link details, returns product name, description, price, and supported payment tokens....

0· 147·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for tankscar/payment-link-reader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Payment Link Reader" (tankscar/payment-link-reader) from ClawHub.
Skill page: https://clawhub.ai/tankscar/payment-link-reader
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: node
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install payment-link-reader

ClawHub CLI

Package manager switcher

npx clawhub@latest install payment-link-reader
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the code and SKILL.md. The script calls the documented GStable endpoint and returns product/payment-token info. Required binary (node) is appropriate.
Instruction Scope
Runtime instructions are narrowly scoped: run npm install then execute the TypeScript script with a link_id or URL. The script only reads its CLI args and one optional env var (GSTABLE_API_BASE_URL) and performs a single HTTP GET to the API base URL.
Install Mechanism
No download-from-arbitrary-URL installs; install is via npm (package.json + devDependencies). The skill is instruction-first and includes source files. The shebang uses 'npx tsx' but package.json provides 'tsx' as a devDependency — running 'npm install' prevents npx from pulling packages at runtime.
Credentials
No required credentials or sensitive environment variables. Only an optional GSTABLE_API_BASE_URL is declared and used. No access to unrelated env vars or config paths.
Persistence & Privilege
Skill does not request persistent privileges (always is false). It does not modify other skills or system configuration.
Assessment
This skill appears internally consistent and limited to calling GStable's public API. Before installing: 1) Run npm install in the skill directory to ensure 'tsx' is local (so npx won't fetch packages at runtime). 2) Be aware the script issues network requests to https://aipay.gstable.io (or any GSTABLE_API_BASE_URL you set) — if you have privacy or network restrictions, review that endpoint. 3) If you need higher assurance, inspect the shipped script (scripts/getPaymentLink.ts) yourself — it only parses the link_id and issues a GET request and prints JSON.
scripts/getPaymentLink.ts:16
Environment variable access combined with network send.
Confirmed safe by external scanners
Static analysis detected API credential-access patterns, but both VirusTotal and OpenClaw confirmed this skill is safe. These patterns are common in legitimate API integration skills.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🔗 Clawdis
Binsnode
latestvk97dryj83v1w8mvfsmb23wxqcn8350kq
147downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Payment Link Reader

A skill that fetches product information from a GStable Payment Link. It calls the GStable API - Get Payment Link endpoint and returns product details and supported payment methods.

Flow

Call API (GET /payment/link/:linkId)
        ↓
Return product info (name, description, price, payment tokens)

Installation (OpenClaw)

clawhub install payment-link-reader
cd ~/.openclaw/skills/payment-link-reader
npm install

For manual installation, copy the payment-link-reader directory to ~/.openclaw/skills/ or ./skills/, then run npm install.

Usage

# Fetch product info by link_id
npm run get-link -- <link_id>

Example:

npm run get-link -- lnk_BUDBgiGTWejFs8v0FbdpR3iJ83CG1tua

Output format (JSON):

{
  "linkId": "lnk_xxx",
  "linkName": "Premium Membership",
  "products": [
    {
      "name": "Premium Plan",
      "description": "Unlock all features",
      "imageUrl": "https://example.com/image.png",
      "quantity": 1,
      "unitPriceUSD": "1.00",
      "attributes": [{ "name": "Duration", "value": "1 Month" }]
    }
  ],
  "supportedPaymentTokens": [
    {
      "symbol": "USDC",
      "chainName": "Polygon",
      "chainId": "137",
      "amountInUSD": "3.00"
    }
  ]
}

API Reference

FieldDescription
EndpointGET /payment/link/:linkId
Base URLhttps://aipay.gstable.io/api/v1 (override via GSTABLE_API_BASE_URL)
Parameterslink_id required, format lnk_xxx
Documentation[Get Payment Link

Agent Invocation Example

When the user provides a payment link or link_id, the Agent should run the following in the skill root directory:

npm run get-link -- <link_id>

Conversation example:

User: What's in this payment link lnk_BUDBgiGTWejFs8v0FbdpR3iJ83CG1tua?

Agent: [cd {baseDir} && npm run get-link -- lnk_BUDBgiGTWejFs8v0FbdpR3iJ83CG1tua]
       "This payment link contains: Premium Plan (1.00 USD each), supports USDC on Polygon, total 3.00 USD"

Note: {baseDir} is the skill directory path. Ensure npm install has been run before execution.

Environment Variables

VariableRequiredDescription
GSTABLE_API_BASE_URLNoAPI base URL, default https://aipay.gstable.io/api/v1

Response Format

When responding to the user, summarize the payment link information in a readable format including:

  • Product name
  • Product description
  • Unit price
  • Supported payment tokens
  • Blockchain network

Use Cases

  • AI assistant parsing user-shared payment links
  • Displaying product list from payment links
  • Fetching supported chains and token info
  • Validating link before payment

Comments

Loading comments...