linkfox-shopee-store-payment

linkfox-shopee-store-payment is a skill for Claude Code, Codex from linkfox-ai/linkfox-skills. It costs 160 tokens per session (2,219 once invoked), scanned A, original, MIT.

A set of Shopee Open Platform APIs for shop payments and financial records. It covers money held by Shopee before payout, transfers to the seller, wallet transactions, and income reports.

In plain words
What is it for?
Use it to retrieve escrow and payout details, wallet transaction lists, income overviews, and income reports.
Why use it?
It removes the need to manage separate requests for payment and settlement information. It helps applications access financial details for an authorized shop.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to retrieve escrow and payout details, wallet transaction lists, income overviews, and income reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linkfox-ai/linkfox-skills --skill linkfox-shopee-store-payment
Clone the repo
git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linkfox-shopee-store-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment/github.svg)](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment)
Your own site
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for linkfox-shopee-store-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-shopee-store-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00160 $0.02219
Opus 5 $0.00080 $0.01110
Sonnet 5 $0.00032 $0.00444
Haiku 4.5 $0.00016 $0.00222

Measured 9d ago against content hash e227d1469bd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

linkfox-shopee-store-payment scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 24 executable files (scripts/_payment_api_runner.py, scripts/_payment_endpoints.py, scripts/_shopee_payment_common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/linkfox-shopee-store-payment/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shopee 店铺 Payment

Shopee Open Platform Payment 模块(18 个 API)。依赖 linkfox-shopee-store-auth 选店;经 POST /shopee/developerProxy 传入 shopId(或 merchantId),由服务端解析 token 转发(pathapi/v2/payment/...)。

调用方式

  • API 端点POST /shopee/developerProxy(不同操作通过请求体区分;完整参数/响应/错误码见 references/api.md
  • Python 脚本python scripts/<脚本名>.py '<JSON 参数>' [--inline](可用脚本见上文脚本一览)
  • 成本约束:本工具会消耗积分;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为)

  • 始终将完整响应写入 <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json<cwd> 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<session> 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本)
  • --inline 强制全量打印到 stdout(同样落盘)

读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jqConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和积分问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

异常情况

  • 未配置API Key:环境变量未配置 LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

官方参考

Payment 模块索引:v2.payment.get_escrow_detail


Prerequisites(必须先读)

  1. 运行 python scripts/check_auth_dependency.py;exit code 42 → 先安装 linkfox-shopee-store-auth 并授权店铺。
  2. 不要在本 skill 内实现授权/令牌逻辑。

Core Concepts

  • 转发链路developerProxyshopId/merchantId 选店,服务端注入 token)→ 紫鸟 shopee-proxy → Shopee API
  • Escrow:订单托管/结算明细 → get_escrow_detail(需 order_sn
  • Payout:打款 → get_payout_detailget_payout_info
  • 钱包get_wallet_transaction_list
  • 收入报表generate_income_* 异步生成 → get_income_* 获取结果
  • 订单查询linkfox-shopee-store-orders;本 skill 负责资金/结算

可用脚本(Payment 模块 18 个 API)

分组 脚本
托管/结算 get_escrow_detail.pyget_escrow_list.pyget_escrow_detail_batch.py
打款/钱包 get_payout_detail.pyget_payout_info.pyget_wallet_transaction_list.pyget_billing_transaction_info.py
分期 get_shop_installment_status.pyset_shop_installment_status.pyget_item_installment_status.pyset_item_installment_status.py
收入报表 generate_income_statement.pyget_income_statement.pygenerate_income_report.pyget_income_report.pyget_income_overview.pyget_income_detail.py
其他 get_payment_method_list.py
通用入口 payment_api.py(JSON 含 api 字段)

Read the full file on GitHub · 138 lines

Files

What ships with it

44 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 138 lines · 160 tokens per session scan A e227d1469bd7

Subscribe to this mod's changes

linkfox-shopee-store-payment is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 22d ago), licensed MIT. It adds 160 tokens to every session and 2,219 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

etsy-pricing-strategy

Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.

nexscope-ai/eCommerce-Skills · 26 tokens

amazon-wholesale-sourcing

Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.

nexscope-ai/Amazon-Skills · 20 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

payment-processor

Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.

Signal-Execution-Labs/forex-trading-ai-agent · 0 tokens