@aifinpay/skill 2.12.0 → 2.12.2

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.12.0",
15
+ "version": "2.12.2",
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.12.0",
4
+ "version": "2.12.2",
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,14 @@
1
+ ## 2.12.2 — the smallest batch is $0.02
2
+
3
+ - Payer guide: the smallest batch is $0.02 plus gas (40 standard, 10 complex or
4
+ 4 premium requests); examples follow. Prices still come from AiFinPay.
5
+
6
+ ## 2.12.1 — capability rows without status fields
7
+
8
+ - Payer guide: `/api/payment-capabilities` lists only networks that take
9
+ payments, without `payment_supported` or other status fields; a row without
10
+ `native` is token-only. The dated 2026-10-29 network snapshot is removed.
11
+
1
12
  ## 2.12.0 — prices from AiFinPay; current cohort and networks
2
13
 
3
14
  - Payer guide: "Prices come from AiFinPay": how much to send is
@@ -6,7 +6,7 @@ description: Pay for x402-gated APIs and sites as an agent (AIFP-1 on an owner-s
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.12.0
9
+ version: 2.12.2
10
10
  author: AiFinPay Support
11
11
  metadata:
12
12
  hermes:
@@ -112,11 +112,11 @@ network set, verified payout, a served deployment and a working verifier/rate.
112
112
  If the backend refuses a network, retain the refusal and ask the owner to
113
113
  resolve readiness; do not switch networks or construct a manual payment.
114
114
  `@aifinpay/deployments` 2.1.0 (agent 2.10.0 and later) enables the Solana
115
- mainnet and devnet records; the backend must still serve the network. At the
116
- 2026-10-29 check `/api/payment-capabilities` reported `payment_supported:
117
- true` only for Polygon, Base and Amoy; Solana, Arc and the other networks
118
- returned `network_not_served`, BOT Chain `deployment_disabled`. Read it again
119
- before paying anywhere but Polygon. NEAR, Aptos and current Casper payment
115
+ mainnet and devnet records; the backend must still serve the network.
116
+ `/api/payment-capabilities` lists only the networks it takes payments on, with
117
+ no status fields: a network that is absent is not served, and a row without
118
+ `native` is paid in its listed tokens only. Read it again before paying
119
+ anywhere but Polygon. NEAR, Aptos and current Casper payment
120
120
  executors are outside this cohort.
121
121
  `botchain` is BOT Chain, not an alias for Robinhood. Wallet derivation on a
122
122
  network does not establish payment support.
@@ -288,9 +288,9 @@ into ratersapp.com", "купи доступ до цього сайту". Handle
288
288
  with "How to pay".
289
289
  3. **Say what the money buys, then wait for a yes.** One site-wide batch: the
290
290
  price (a standard resource's `unit_price_usd` × its `min_requests`, e.g.
291
- $0.10 for 200 standard requests), that it covers every path on the origin,
291
+ $0.02 for 40 standard requests), that it covers every path on the origin,
292
292
  and how it drains — each request costs its own listed `unit_price_usd`, so
293
- the same $0.10 is 200 standard or 20 premium requests in any mix. Gas is
293
+ the same $0.02 is 40 standard or 4 premium requests in any mix. Gas is
294
294
  separate, in the selected network's native currency. Use the display rules
295
295
  in "Transaction display" below.
296
296
  4. **Check readiness.** Call `payment_setup_status`. If it is not `ready`,
@@ -358,7 +358,7 @@ budgets. `AIFINPAY_GATEWAY_ORIGINS` narrows the sites to exact https origins;
358
358
  gateway.aifinpay.io, `direct` elsewhere) unless set. `AIFINPAY_PAYMENTS_ENABLED=0`
359
359
  switches payments off. Never ask the owner to add any of these to pay; only
360
360
  mention them when the owner asks for a different ceiling or a site allowlist.
361
- The smallest batch is **$0.10 plus gas** on **Polygon**;
361
+ The smallest batch is **$0.02 plus gas** on **Polygon**;
362
362
  `AIFINPAY_MAX_USD` only has to be at or above the batch. The gas cap has to cover the
363
363
  worst-case fee: at ~280 gwei that is about 0.10 POL for a POL payment and
364
364
  0.21 POL for USDC, and a lower cap refuses before anything is signed. The fee
@@ -522,7 +522,7 @@ price, AiFinPay takes **1 %** (100 bps) from it, and the merchant receives
522
522
  do not prove production activation; check issuer capabilities and merchant
523
523
  authorization. This source cohort adds a Solana v1.4 adapter with explicit
524
524
  network, asset and fee/rent limits; its published deployment records are
525
- enabled, but the backend did not serve Solana at that check. The smallest paid batch is $0.10, plus network fees and any
525
+ enabled, but the backend did not serve Solana at that check. The smallest paid batch is $0.02, plus network fees and any
526
526
  required account rent.
527
527
 
528
528
  (The older "98.99 / 1 / 0.01" figure was the v1.2 fee-on-top model.)
@@ -590,12 +590,12 @@ When asked to pay for a paid API or crawl a paywalled site:
590
590
  `SEED_HEX`/`AIFINPAY_AGENT_SECRET`, keystore JSON, or signing-secret
591
591
  inputs. Public addresses and transaction hashes only.
592
592
  - Before sending, show the payload summary and wait for approval: sender,
593
- recipient, amount (rounded, e.g. `1.055 POL`), amount (exact base units,
593
+ recipient, amount (rounded, e.g. `0.211 POL`), amount (exact base units,
594
594
  as a string), currency/token, network — plus the invoice as a table:
595
595
 
596
596
  | resource | qty | price | total |
597
597
  |---|---|---|---|
598
- | /api/agent/genres | 200 | $0.0005 | $0.10 |
598
+ | /api/agent/genres | 40 | $0.0005 | $0.02 |
599
599
 
600
600
  - After sending, show payment id, transaction hash, status, and the
601
601
  explorer link (from the quote/receipt `explorer_url`, or chain explorer +
@@ -644,7 +644,7 @@ so an agent (or a human watching it) sees what the money buys, not just a
644
644
  number:
645
645
 
646
646
  ```
647
- Pay 1.055375555391386 POL ($0.10) for 200 requests to /api/agent/genres
647
+ Pay 0.211075111078277 POL ($0.02) for 40 requests to /api/agent/genres
648
648
  (incl. 1.00% fee), valid until 2026-09-04T13:00:00Z.
649
649
  ```
650
650
 
@@ -4,7 +4,7 @@ description: Configure an HTTP 402 gate for agent access to a website or API,
4
4
  with owner-selected routes, verified payouts and explicitly accepted EVM
5
5
  networks. Agents settle from their own wallets; the merchant receives 99%.
6
6
  license: MIT
7
- version: 2.12.0
7
+ version: 2.12.2
8
8
  author: AiFinPay Support
9
9
  metadata:
10
10
  hermes:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aifinpay/skill",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
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": [