@aifinpay/skill 2.5.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  "name": "aifinpay",
13
13
  "source": "./",
14
14
  "description": "Payment rail skills for paying agents and API merchants.",
15
- "version": "2.5.1",
15
+ "version": "2.8.0",
16
16
  "author": {
17
17
  "name": "AiFinPay Support",
18
18
  "email": "contact@aifinpay.io"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aifinpay",
3
3
  "description": "Payment rail for AI agents: pay for x402 APIs or charge agents for yours.",
4
- "version": "2.5.1",
4
+ "version": "2.8.0",
5
5
  "author": { "name": "AiFinPay Support" },
6
6
  "homepage": "https://aifinpay.io",
7
7
  "repository": "https://github.com/AiFinPay/skill",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ ## 2.8.0 — source candidate
2
+
3
+ - Describe the MCP2.7 / Node and Python2.5 Solana source target with explicit
4
+ owner environment/network, local Ed25519 identity and lamport fee/rent cap.
5
+ - Keep current disabled Solana deployment, governance and paid-acceptance
6
+ gates explicit; no publication or activation claim.
7
+ - Explain native/classic SPL exact units, persistent prepare/recovery and
8
+ case-sensitive payer/program/mint bindings without a replacement payment.
9
+
10
+ ## 2.7.0 — release candidate
11
+
12
+ - Describe the coordinated MCP2.6.0 / Node and Python SDK2.4.0 target without
13
+ claiming publication or production activation; preserve dated baseline facts.
14
+ - List the nine owner-selectable EVM descriptors, exact pinned stablecoins,
15
+ 6/18-decimal token units and selected native gas currency. Explain OP extra
16
+ costs and Nitro's already-inclusive estimate.
17
+ - Require explicit merchant accepted networks, verified payout and backend
18
+ readiness; a shared EVM address is not network consent. No non-EVM executor
19
+ or BOT-to-Robinhood alias is implied.
20
+ - Explain non-expiring unknown reservations, once-only recovery, original
21
+ signed-byte network binding, local-process shared budget storage and safe
22
+ reconciliation before downgrade.
23
+ - Correct the moved canonical `agent/skills/` paths and coordinate the MCP
24
+ bundle's exact release-target/content guard with the canonical package.
25
+
26
+ ## 2.6.0
27
+
28
+ - Payer skill: Base. MCP 2.5 pays on the chain the owner sets in
29
+ `AIFINPAY_PAY_CHAIN` (`polygon` default, or `base`), with the gas cap in ETH
30
+ as `AIFINPAY_MAX_GAS`; `AIFINPAY_MAX_GAS_POL` is refused on Base. Fund the
31
+ same EVM address with ETH on Base. Node `v14.chain: "base"` and Python
32
+ `chain="base"` since SDK 2.3.0. Names MCP 2.5.0, SDK 2.3.0 and Python 2.3.0
33
+ as current.
34
+ - Merchant skill: `"settlement_chain": "base"` at registration makes agents
35
+ pay that merchant on Base.
36
+
1
37
  ## 2.5.1 — unreleased
2
38
 
3
39
  - Payer skill: a USDC payment needs POL for the worst-case gas (about 0.21 POL
package/README.md CHANGED
@@ -6,8 +6,16 @@ any client that loads `SKILL.md`).
6
6
 
7
7
  | Skill | Side | File |
8
8
  |---|---|---|
9
- | `aifinpay` | Paying — agent buys x402-gated API access | `skills/aifinpay/SKILL.md` |
10
- | `aifinpay-merchant` | Earning — merchant charges agents per request | `skills/aifinpay-merchant/SKILL.md` |
9
+ | `aifinpay` | Paying — agent buys x402-gated API access | `agent/skills/aifinpay/SKILL.md` |
10
+ | `aifinpay-merchant` | Earning — merchant charges agents per request | `agent/skills/aifinpay-merchant/SKILL.md` |
11
+
12
+ Version2.8.0 describes the coordinated MCP2.7.0 / Node and Python SDK2.5.0
13
+ release target, including the Solana source adapter. Canonical disabled Solana
14
+ records remain unavailable until accepted and served. Its nine EVM descriptors
15
+ require explicit owner and merchant
16
+ network consent plus backend readiness; installing instructions does not
17
+ activate networks. Historical published baselines are dated in the payer
18
+ guide and do not claim the target packages have already been published.
11
19
 
12
20
  Rule of thumb: if the user wants to **pay** for a paid API, load `aifinpay`.
13
21
  If they **own** a site/API agents visit, load `aifinpay-merchant` — and mention
@@ -154,12 +162,16 @@ Installed skills are available in new Aider sessions. Aider follows the same Age
154
162
 
155
163
  Skill markdown is authored once and mirrored:
156
164
 
157
- - Canonical source: `skills/` at the repo root.
158
- - This package: `skill/skills/` (shipped to npm).
159
- - MCP bundle: `mcp/skills/` (ships inside `@aifinpay/mcp`; payer side only).
165
+ - Canonical source and npm package: this repository's `agent/skills/`.
166
+ - MCP bundle: SDK repository `mcp/skills/SKILL.md`, copied from the installed
167
+ canonical package at build time (payer side only).
168
+ - The SDK repository's old `skill/README.md` only points here; it is not a
169
+ second skill package or authored mirror.
160
170
 
161
171
  If a CLI command, tool name, or settlement behavior changes, update all three
162
- in the same PR and bump this package's version + CHANGELOG together.
172
+ in coordinated PRs and bump this package's version + CHANGELOG together.
173
+ MCP verifies installed/bundled/served bytes and the exact release target;
174
+ publish this package before refreshing MCP's real registry dependency lock.
163
175
 
164
176
  ## Version gate
165
177
 
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: aifinpay
3
- description: Pay for x402-gated APIs and sites as an agent (AIFP-1 on Polygon,
3
+ description: Pay for x402-gated APIs and sites as an agent (AIFP-1 on an owner-selected EVM or accepted Solana network,
4
4
  within owner-set limits) — including when the owner just says "buy access for
5
5
  this site" — link the agent to its owner's AiFinPay dashboard, and read
6
6
  wallet, payment history, prepaid quotas and Agent Passport records through
7
7
  the AiFinPay MCP server or SDK.
8
8
  license: MIT
9
- version: 2.5.0
9
+ version: 2.8.0
10
10
  author: AiFinPay Support
11
11
  metadata:
12
12
  hermes:
@@ -61,20 +61,112 @@ your language. There is no "install together" scenario.
61
61
 
62
62
  ## Version and release status
63
63
 
64
- Released and current: MCP **2.4.0**, Node SDK **2.2.0**, Python **2.2.1**.
65
- Payments are released — `payable_fetch` has shipped since MCP 2.2.0. An older
66
- copy of this skill that calls MCP "read-only" or payments "release pending" is
67
- out of date; follow this one. Install the `latest` release.
64
+ Release target: MCP **2.7.0**, Node SDK **2.5.0**, Python **2.5.0**.
65
+ This skill describes that coordinated package cohort. Check the installed
66
+ versions before using its additional-network instructions; a release target
67
+ does not establish npm/PyPI publication or production network activation.
68
+ Published baseline checked 2026-10-04: MCP **2.5.0**, Node SDK **2.3.2**.
69
+ `payable_fetch` has shipped since MCP 2.2.0, and Base since MCP 2.5.0.
70
+ Published packages remain usable within their documented capabilities.
68
71
 
69
72
  | Surface | Can it pay? |
70
73
  |---|---|
71
- | MCP `@aifinpay/mcp` 2.4.x | Yes — `payable_fetch`, once the owner enables payments; POL, or USDC with `AIFINPAY_PAY_ASSET=USDC`; `scope: "merchant"` buys a whole site |
72
- | Node `@aifinpay/agent` 2.2.x | Yes — `fetchPaid` with a v14 journal and gas cap; POL (with your own POL/USD rate) or USDC (`v14.asset: "USDC"`) |
73
- | Python `aifinpay-agent` 2.2.x | Yes — `agent.fetch_paid(url, allowed_origins=…, max_amount_usd=…, daily_amount_usd=…)`; POL (priced independently) or USDC (`asset="USDC"`); recover an unconfirmed payment with `agent.recover_paid(journal_path)` |
74
+ | MCP `@aifinpay/mcp` 2.7.x | `payable_fetch`, only with a persistent wallet and every owner limit set. Polygon is the default; other networks require explicit `AIFINPAY_PAY_CHAIN`. The merchant and backend must authorize and serve that network. `scope: "merchant"` buys a site-wide batch. |
75
+ | Node `@aifinpay/agent` 2.5.x | `fetchPaid` with a v14 journal, gas cap and owner budgets. Select another network with `v14.chain`; select a pinned stablecoin with `v14.asset`. Native payments require an independent native/USD rate. |
76
+ | Python `aifinpay-agent` 2.5.x | `agent.fetch_paid(url, allowed_origins=…, max_amount_usd=…, daily_amount_usd=…)`; use explicit `chain` and the chain's native gas cap for another network, or a pinned stablecoin `asset`. `agent.recover_paid(journal_path)` recovers the original transaction. |
77
+
78
+ The client descriptors below are shared by the target cohort. They do not
79
+ activate a deployment, enroll a merchant or prove a completed payment.
80
+
81
+ | Owner chain name | Chain ID | Native payment and gas | Pinned stablecoin symbols |
82
+ |---|---|---|---|
83
+ | `polygon` | 137 | POL | `USDC`, `USDC.e` |
84
+ | `base` | 8453 | ETH | `USDC` |
85
+ | `optimism` | 10 | ETH | `USDC` |
86
+ | `arbitrum` | 42161 | ETH | `USDC` |
87
+ | `avalanche` | 43114 | AVAX | `USDC`, `USDT` |
88
+ | `bnb` | 56 | BNB | `USDC`, `USDT` |
89
+ | `unichain` | 130 | ETH | `USDC` |
90
+ | `xrplevm` | 1440000 | XRP | None |
91
+ | `robinhood` | 4663 | ETH | `USDe`, `USDG` |
92
+
93
+ Use the exact symbols and chain names. Token addresses and decimals are pinned
94
+ independently per network; a token with the same symbol at another address is
95
+ not accepted. BNB USDC/USDT and Robinhood USDe use 18 decimals; the other pinned
96
+ stablecoins use 6. USD micro-units remain 6 decimals. The SDK validates exact
97
+ integer `token_settlement` amounts, approval, signed gross and every split leg;
98
+ never scale, round or edit quote fields yourself.
99
+
100
+ Read the selected issuer's `/api/payment-capabilities` and the merchant's
101
+ discovery/quote. A new network also requires the merchant's explicit accepted
102
+ network set, verified payout, a served deployment and a working verifier/rate.
103
+ If the backend refuses a network, retain the refusal and ask the owner to
104
+ resolve readiness; do not switch networks or construct a manual payment.
105
+ The Solana source adapter in this target cohort remains unavailable while its
106
+ canonical deployment is disabled. NEAR, Aptos and current Casper payment
107
+ executors are outside this cohort.
108
+ Historical BOT is not an alias for Robinhood. Wallet derivation on a network
109
+ does not establish payment support.
110
+
111
+ ## Solana source integration and activation status
112
+
113
+ The target cohort adds native SOL and accepted classic SPL transaction, receipt
114
+ and recovery adapters using the existing v1.4 program/IDL. The checked
115
+ `@aifinpay/deployments@1.1.3` mainnet and devnet records are disabled. Installing
116
+ this cohort does not override that gate. Do not send a direct transaction to
117
+ work around a refused quote or unavailable payment capability. Mainnet also
118
+ requires governance acceptance; actual funded end-to-end acceptance remains
119
+ separate from source tests.
120
+
121
+ After a deployment is accepted and served, the owner explicitly selects Solana
122
+ and its network. The environment independently binds mainnet to live/prod and
123
+ devnet to dev; a quote cannot select the network. Example owner configuration
124
+ for that future accepted mainnet route (limits are examples, not permission):
125
+
126
+ ```json
127
+ {
128
+ "AIFINPAY_PAY_CHAIN": "solana",
129
+ "AIFINPAY_SOLANA_NETWORK": "mainnet",
130
+ "AIFINPAY_MODE": "live",
131
+ "AIFINPAY_PAY_ASSET": "SOL",
132
+ "AIFINPAY_MAX_FEE_LAMPORTS": "10000000"
133
+ }
134
+ ```
135
+
136
+ Keep the existing enabled-payments, origin, per-payment and daily USD limits.
137
+ Use the existing local Solana identity, not an EVM address. Configure an
138
+ owner-trusted Solana RPC with `AIFINPAY_RPC_URL`. The fee limit is an integer
139
+ number of lamports (1 SOL = 1,000,000,000 lamports) and covers transaction fees
140
+ and required nonce/token account rent; it is not a POL/ETH gas cap. Keep enough
141
+ SOL for these costs even when paying in an accepted SPL asset. The SDK refuses
142
+ missing fee/rent estimates and unsupported mints or decimals. Token2022 is not
143
+ supported by this program. Devnet assets require separate accepted mint pins.
144
+
145
+ Node selects the family with `solanaV14: { environment, network, asset,
146
+ maxFeeLamports, onPrepared }`, preserving the existing EVM `v14` options. Do not
147
+ provide both family options. Python uses `chain="solana"`, `environment`,
148
+ `solana_network` and `max_fee_lamports` alongside its existing allowed origins,
149
+ journal and USD caps. Maintain a private persistent journal and the SDK's
150
+ required prepared-transaction callback; do not remove persistence to make a
151
+ payment proceed.
152
+
153
+ Before requesting a Solana quote, the SDK durably retains the exact owner-signed
154
+ authorization and request identity. After a timeout or restart, resume that same
155
+ admission; do not generate a fresh nonce while its outcome is unknown. An expired
156
+ authorization can reconcile an existing admission but cannot authorize a new
157
+ one. Keep issued-quote evidence separate from a prepared transaction: quote
158
+ expiry alone does not prove a refund of a backend reservation.
159
+
160
+ The signed Solana transaction and its base58 signature are saved before
161
+ broadcast. A timeout, expired blockhash or missing RPC result does not permit
162
+ a second payment: retain the unresolved reservation and recover the same
163
+ transaction/receipt. Case-sensitive payer/mint/program/network identity must
164
+ match throughout quote, journal, receipt and history. An on-chain nonce marker
165
+ or event log alone does not prove a valid paid request.
74
166
 
75
167
  # AiFinPay agent workflow
76
168
 
77
- Use the tools actually returned by MCP tools/list. MCP 2.4.0 exposes
169
+ Use the tools actually returned by MCP tools/list. MCP 2.7.0 exposes
78
170
  agent_address, agent_reload, agent_claim_self, agent_history, agent_quota,
79
171
  agent_passport_resolve, settlement_routes, settlement_invoice and
80
172
  deployment_info; `payable_fetch` appears when the owner has enabled payments.
@@ -99,7 +191,8 @@ into ratersapp.com", "купи доступ до цього сайту". Handle
99
191
  $0.10 for 200 standard requests), that it covers every path on the origin,
100
192
  and how it drains — each request costs its own listed `unit_price_usd`, so
101
193
  the same $0.10 is 200 standard or 20 premium requests in any mix. Gas is
102
- separate, in POL. Use the display rules in "Transaction display" below.
194
+ separate, in the selected network's native currency. Use the display rules
195
+ in "Transaction display" below.
103
196
  4. **Check readiness.** `payable_fetch` must be in your tools and the origin
104
197
  must be in `AIFINPAY_GATEWAY_ORIGINS`; the tool names a refused origin. If
105
198
  either is missing, show the owner the exact change — the environment block
@@ -154,28 +247,57 @@ fund its EVM address on Polygon with POL, or with USDC plus some POL. Funding a
154
247
  unlimited spend authority. Use the owner's actual approved limits and origins,
155
248
  then call `payable_fetch({"url":"https://merchant.example/api/data"})`.
156
249
 
157
- It supports GET resources and Polygon AIFP-1 v1.4 payments in POL or USDC. It verifies
250
+ For another network, the owner sets `AIFINPAY_PAY_CHAIN` to an exact name in
251
+ the table and `AIFINPAY_MAX_GAS` in its native currency. For Base, for example,
252
+ the currency is ETH; the owner must choose a cap that covers the current
253
+ worst-case estimate. `AIFINPAY_MAX_GAS_POL` is refused outside Polygon rather
254
+ than interpreted as another currency. Fund the same EVM address **on the
255
+ selected network** with its native currency for gas and the selected asset
256
+ for the batch. A quote for another network is refused; only the owner changes
257
+ the network or limits.
258
+
259
+ Stablecoin payments budget approval and settlement together. Base, Optimism
260
+ and Unichain include L1 data and operator fees in the worst-case gas estimate;
261
+ an unavailable required fee read stops payment before signing. Arbitrum and
262
+ Robinhood use the Nitro estimate that already includes parent-chain data and
263
+ do not add that fee twice. A refusal never authorizes raising a gas cap.
264
+
265
+ It supports GET resources and authorized AIFP-1 v1.4 payments on the selected
266
+ supported EVM network. It verifies
158
267
  the quote, price, deployment, signer and receipt, saves the transaction before
159
268
  broadcasting, and reuses the purchased batch. No custom merchant script is
160
269
  needed. Other protocol/version/asset paths fail closed.
161
270
 
162
- A pending result retains the original transaction. Retrying recovers its receipt;
163
- do not delete its journal, create a replacement wallet or switch contract versions.
164
- Prepared-but-unbroadcast/reverted transactions and stale process locks require
165
- owner reconciliation. Raw transactions and receipt JWTs remain private.
271
+ A pending result retains the original signed transaction and network.
272
+ Retrying recovers its receipt without sending a replacement transaction.
273
+ Unknown broadcasts keep their budget reservation indefinitely; confirmed
274
+ spend is never refunded by a later receipt or HTTP failure. Daily confirmed
275
+ spend uses a rolling 24-hour window. Unresolved access stays guarded even if
276
+ the owner later changes networks. Use one shared local filesystem for the
277
+ wallet's ledger/journal across local processes; this is not a multi-host lock.
278
+ Do not delete journals, remove an unknown lock, replace a wallet, bypass a
279
+ reservation or downgrade with unresolved state. Reconcile with the original
280
+ transaction and verified receipt/revert evidence first. A legacy journal
281
+ without its network can be adopted only when actual signed bytes match the
282
+ owner-selected chain, payer, pinned target and exact call. Insufficient
283
+ evidence requires manual receipt reconciliation. Quote signing expiry does
284
+ not itself require a second settlement. Raw transactions and receipt JWTs
285
+ remain private.
166
286
 
167
287
  ### Network access
168
288
 
169
- In a sandbox that allowlists outbound hosts, allow `api.aifinpay.io` and a
170
- Polygon RPC. USDC payments need nothing else. For the independent POL/USD check
171
- on POL payments MCP 2.3.0 reads Chainlink on
172
- Polygon over that RPC, then `api.coinbase.com`, then `api.coingecko.com` — one
173
- is enough. (MCP 2.2.3 used only `api.coinbase.com`.) If no rate is available,
289
+ In a sandbox that allowlists outbound hosts, allow `api.aifinpay.io` and an RPC
290
+ for the owner-selected pay chain (`AIFINPAY_RPC_URL` overrides its default).
291
+ Stablecoin payments need the issuer, merchant and that RPC. For the independent
292
+ native/USD check MCP uses the pinned Chainlink feed on Polygon or Base, then
293
+ `api.coinbase.com`, then `api.coingecko.com`. Other networks use those independent
294
+ HTTP price sources. An implausible, stale or future-dated rate is refused. If no rate is available,
174
295
  `payable_fetch` stops before paying and nothing is spent; tell the owner which
175
296
  hosts to allow rather than inventing a workaround. With the Node SDK, pass your
176
297
  own `nativeUsdPrice`: Chainlink POL/USD on Polygon, Coinbase `POL-USD`, or
177
298
  CoinGecko `polygon-ecosystem-token` (never `matic-network`, frozen since
178
- February 2026).
299
+ February 2026); on Base, ETH/USD from Chainlink on Base, Coinbase `ETH-USD` or
300
+ CoinGecko `ethereum`.
179
301
 
180
302
  ## After creating a wallet: link it to the owner's dashboard
181
303
 
@@ -184,14 +306,19 @@ agent's balance, payments and receipts, and can set a daily-spend email alert,
184
306
  at https://dash.aifinpay.io → My Agents:
185
307
 
186
308
  - **MCP:** the owner clicks **Claim via MCP**, gets a one-time URL and gives it
187
- to you; call `agent_claim_self({"magic_link_url": "…"})`.
309
+ to you; call `agent_claim_self({"magic_link_url": "…"})`. The owner-selected
310
+ payment family must be bound successfully; the other wallet is best-effort.
311
+ Binding a wallet does not activate a disabled payment network. Use the
312
+ selected wallet's **Fund** panel for available networks and assets.
188
313
  - **Node / Python:** the owner uses **Add agent by address** and gives you the
189
314
  challenge; return `agent.signDashboardClaim(challenge)` (Node) or
190
315
  `agent.sign_dashboard_claim(challenge)` (Python). These sign only
191
316
  `AiFinPay-claim:polygon:<own address>:<nonce>`.
192
317
 
193
- Hard spending limits stay in the agent's own configuration (`AIFINPAY_MAX_USD`,
194
- `AIFINPAY_DAILY_USD`), not in the dashboard.
318
+ Keep local owner spending limits in the agent's configuration (`AIFINPAY_MAX_USD`,
319
+ `AIFINPAY_DAILY_USD`). Claimed-wallet controls in the dashboard are additional
320
+ backend restrictions on quotes and gateway access; they do not replace local
321
+ limits or control transactions sent directly outside AiFinPay.
195
322
 
196
323
  Discover routes on the exact requested origin: `/.well-known/x402.json` and any
197
324
  API catalog linked by that site. A dev hostname does not imply testnet. If a
@@ -253,17 +380,23 @@ Use agent_history. Do not guess /v1/history, /v1/payments or /v1/wallet/tx.
253
380
 
254
381
  Canonical AIFP-1 economics are gross-inclusive: the agent pays the quoted
255
382
  price, AiFinPay takes **1 %** (100 bps) from it, and the merchant receives
256
- **99 %**. No fixed fee is implied. AIFP-1 settles live
257
- on Polygon (splitter v1.4); Solana settlement is disabled. The smallest batch is
258
- $0.10 plus gas.
383
+ **99 %**. No fixed fee is implied. Production served Polygon and Base
384
+ (splitter v1.4) at the 2026-10-04 baseline check. Additional client descriptors
385
+ do not prove production activation; check issuer capabilities and merchant
386
+ authorization. This source cohort adds a Solana v1.4 adapter with explicit
387
+ network, asset and fee/rent limits; current published Solana deployment records
388
+ remain disabled. The smallest paid batch is $0.10, plus network fees and any
389
+ required account rent.
259
390
 
260
391
  (The older "98.99 / 1 / 0.01" figure was the v1.2 fee-on-top model.)
261
392
 
262
393
  Routes:
263
394
 
264
395
  - GET /v1/agents/:address/transactions?chain=polygon&limit=25&offset=0:
265
- public facts from indexed AiFinPay Polygon settlements in the durable
266
- ledger. Excludes arbitrary wallet transfers and may lag the chain.
396
+ public facts from indexed AiFinPay settlements in the durable ledger on
397
+ backends with that network's indexer. Select the configured network with
398
+ `chain`; a source descriptor does not prove indexing coverage. Excludes
399
+ arbitrary wallet transfers and may lag the chain.
267
400
  - GET /v1/agents/:address/receipts?limit=25&offset=0: retained prepaid-batch
268
401
  metadata, including test payments. Never includes the spendable receipt JWT.
269
402
  - GET /v1/agents/:address/statement?days=7: retained billing statement.
@@ -358,8 +491,9 @@ retype from memory:
358
491
  `setBudget({ per_call_usd, daily_usd })`, discovery + `fetchPaid`
359
492
  - `wallet-budget-paid.mjs` (JavaScript, ESM): same flow, no types
360
493
  - `wallet-budget-call.py` (Python): `from_seed(os.environ["SEED_HASH"])`,
361
- `call(provider, body, cost=…)` cap; fails closed on paid 402s — use Node
362
- `fetchPaid` for paid settlement
494
+ `call(provider, body, cost=…)` cap; this legacy snippet fails closed on paid
495
+ 402s. For a paid purchase use the current SDK `fetch_paid` guide or Node
496
+ `fetchPaid`, with explicit origin, amount and gas limits.
363
497
 
364
498
  Browse: `https://github.com/AiFinPay/sdk/tree/main/examples/agent-snippets`
365
499
 
@@ -413,8 +547,8 @@ terminal for that request: do not lower units below the server minimum, edit
413
547
  quotes, or construct a manual nonce, receipt or transaction workaround.
414
548
 
415
549
  This dev quote tool never broadcasts. The new low-level SDK executor supports
416
- native Amoy v1.4, while MCP/fetchPaid receipt purchases remain Polygon-only.
417
- A full paid testnet receipt flow is not yet claimed. A prepaid batch means one settlement funding
550
+ native Amoy v1.4; this MCP exposes no Amoy paid receipt executor.
551
+ A full paid testnet receipt flow is not claimed. A prepaid batch means one settlement funding
418
552
  multiple API calls, not an arbitrary batch of on-chain transfers.
419
553
 
420
554
  After any actual settlement, retain its quote and transaction reference.
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  name: aifinpay-merchant
3
- description: Turn any website or API into one that charges AI agents to access
4
- it. Agents scrape you for free today; with one middleware they pay per request
5
- in stablecoins or native tokens on Polygon and Solana. Non-custodial — you
6
- keep 99%.
3
+ description: Configure an HTTP 402 gate for agent access to a website or API,
4
+ with owner-selected routes, verified payouts and explicitly accepted EVM
5
+ networks. Agents settle from their own wallets; the merchant receives 99%.
7
6
  license: MIT
8
- version: 2.4.0
7
+ version: 2.8.0
9
8
  author: AiFinPay Support
10
9
  metadata:
11
10
  hermes:
@@ -156,10 +155,28 @@ Gate 0.3.3 source adds `instructions_url` (payer skill),
156
155
  links to maintained public instructions, not stored wallet or receipt data.
157
156
  Existing sites must upgrade/redeploy gate to emit those new fields.
158
157
 
159
- Agents using MCP `payable_fetch` or Node `fetchPaid` pay merchants registered
160
- for `settlement_version: "1.4"` on Polygon. Existing merchants keep their prior
161
- version until their owner updates it at registration or in the dashboard. Do not change the payout wallet
162
- or claim compatibility merely because discovery returns 200.
158
+ This skill's release target is MCP2.7.0 and Node/Python SDK2.5.0. Those clients
159
+ reuse the signed v1.4 payment kernel for nine EVM network descriptors; network
160
+ metadata does not activate a deployment or verifier. Production served Polygon
161
+ and Base at the 2026-10-04 baseline check. Additional networks require a ready
162
+ backend, pinned deployment/token metadata, a verifier and merchant consent.
163
+
164
+ The Solana adapter is a source capability in this target. Current
165
+ `deployments1.1.3` Solana records remain disabled. A Solana merchant needs an
166
+ explicit accepted network and verified Solana payout, an accepted program/IDL
167
+ and mint inventory, configured signer/RPC, finalized value verification and
168
+ funded end-to-end acceptance before payments are advertised. Native SOL and
169
+ classic SPL use exact lamport/token units; a balance or program address does
170
+ not establish payment readiness. Do not substitute historical Seat/receipt
171
+ flows for the v1.4 paid-access route.
172
+
173
+ Agents using MCP `payable_fetch`, Node `fetchPaid` or Python `fetch_paid` pay
174
+ merchants registered for `settlement_version: "1.4"` on an explicitly accepted
175
+ and served network. Existing merchants keep their prior version and default
176
+ network until their owner updates them. Read the selected issuer's
177
+ `/api/payment-capabilities`; discovery returning 200 alone does not establish
178
+ payment readiness. Do not change a payout wallet, accepted network set or
179
+ settlement version without the merchant owner's authorization.
163
180
 
164
181
  ## Register the site (get your merchant_id)
165
182
 
@@ -183,7 +200,15 @@ The gate needs a `merchant_id`. Two ways to get one:
183
200
  `{"name", "pay_to": {"evm": "0x…"}, "settlement_version": "1.4"}` returns the
184
201
  id and a `merchant_secret` shown once. Claim the merchant in the dashboard
185
202
  with that secret, or it belongs to no account. Send ONE `pay_to.evm` — it
186
- receives on every EVM chain; per-chain keys such as `base` are refused. To
203
+ is the EVM-family payout; per-chain keys such as `base` are refused. An EVM
204
+ address does not opt the merchant into every network. `settlement_chain`
205
+ remains the merchant's default (`polygon` unless configured otherwise).
206
+ Updated backends accept an explicit `settlement_chains` list, for example
207
+ `["polygon", "base"]`, with the default included. An agent's optional
208
+ quote `settlement_chain` is accepted only when it is in that merchant list,
209
+ has a verified payout and is served for the request's mode. Omitting it
210
+ preserves the merchant default. Never broaden consent just because two
211
+ networks share the same EVM address. To
187
212
  move the payout later, `PATCH /v1/merchants/{id}` with header
188
213
  `AIFP-Merchant-Secret` and `{"pay_to": {"evm": "0x…"}}`.
189
214
 
@@ -192,6 +217,7 @@ The gate needs a `merchant_id`. Two ways to get one:
192
217
  | decision | why it matters |
193
218
  |---|---|
194
219
  | **payout wallet** | where the 99% lands. EVM address (same on every EVM chain) and/or a Solana address. Set in the dashboard. |
220
+ | **accepted payment networks** | an explicit set plus a default; the backend intersects it with verified payouts and served deployments. A wallet address alone does not grant network consent. |
195
221
  | **which routes cost money** | gate the agent/data endpoints; leave human pages open. The gate only challenges agent-shaped requests, so humans are never blocked. |
196
222
  | **price per route** | a `tier` (standard / complex / premium) sets the per-request price. Change it in the dashboard without redeploying. |
197
223
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aifinpay/skill",
3
- "version": "2.5.1",
3
+ "version": "2.8.0",
4
4
  "description": "AiFinPay agent skills: pay for x402-gated APIs as an agent (aifinpay) and charge agents for your API as a merchant (aifinpay-merchant).",
5
5
  "type": "module",
6
6
  "files": [