@cloudpayx/x402-pay 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/README.md +35 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -67,6 +67,39 @@ The public SDK exposes `createCpXAgentEarn()` for configuring a protected XRPL p
67
67
  - **Settlement verification:** Reconciliation against validated XRPL transaction evidence.
68
68
  - **Protected resource access:** HTTPS validation, anti-SSRF protections, and redirect restrictions.
69
69
 
70
+ ## Optional cloudpayX paid APIs
71
+
72
+ The cpX x402 Pay + Earn SDK is free. Developers and autonomous agents can optionally use cloudpayX-hosted services on a pay-per-call basis, without a monthly subscription.
73
+
74
+ These services are hosted APIs, not local SDK exports.
75
+
76
+ ### Agent intelligence APIs
77
+
78
+ | Service | Endpoint | Price |
79
+ | --- | --- | ---: |
80
+ | Arbitrage Check | /agent/v3/arbitrage-check | $0.01 |
81
+ | Risk Check | /agent/risk-check | $0.02 |
82
+ | Ledger Status | /agent/ledger-status | $0.005 |
83
+ | Token Analysis | /agent/token-analysis | $0.005 |
84
+ | Asset Analysis | /agent/v3/asset-analysis | $0.005 |
85
+ | Stablecoin Route | /agent/v3/stablecoin-route | $0.01 |
86
+ | Wallet Vibe Check | /agent/v3/wallet-vibe-check | $0.01 |
87
+ | Transaction Repair | /agent/repair | $0.10 |
88
+
89
+ ### Connector-backed business APIs
90
+
91
+ | Capability | Endpoint | Price |
92
+ | --- | --- | ---: |
93
+ | availability.check | /agent/v3/availability-check | $0.01 |
94
+ | price.quote | /agent/v3/price-quote | $0.01 |
95
+ | order.prepare | /agent/v3/order-prepare | $0.01 |
96
+
97
+ Business APIs use configured HTTP providers for authorized inventory, pricing, and order data. If no matching provider is available, the API returns an explicit unavailable-provider response. Order preparation does not commit a purchase or authorize payment.
98
+
99
+ API host: https://api.cloudpayxagent.xyz
100
+
101
+ Paid endpoints use x402 payment requirements. Inspect the payment challenge for current settlement options. The hosted API payment options are separate from the XRPL-only cpX x402 Pay SDK.
102
+
70
103
  ## Public SDK API
71
104
 
72
105
  Import the guarded payment operations from `@cloudpayx/x402-pay`.
@@ -117,3 +150,5 @@ Issued-token payments require applicable trustlines, sufficient balances, and XR
117
150
  - XRPL x402 specification: https://github.com/x402-foundation/x402/blob/main/specs/schemes/exact/scheme_exact_xrpl.md
118
151
 
119
152
  **cloudpayX | Infrastructure for the autonomous economy**
153
+
154
+ Agent discovery: https://cloudpayx.com/agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudpayx/x402-pay",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "description": "XRPL-native x402 Pay + Earn SDK for autonomous AI agents. Purchase and monetize services using XRP, RLUSD, and Circle USDC with guarded payments and verified XRPL settlement.",
6
6
  "dependencies": {