π¦ ClawHub
Payment Link Reader
by @tankscar
Fetch product info by payment link ID. Calls GStable API to get payment link details, returns product name, description, price, and supported payment tokens....
β‘ When to Use
π‘ Examples
# Fetch product info by link_id
npm run get-link --
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"
}
]
}
TERMINAL
clawhub install payment-link-reader