Commit 5db51ea
authored
docs(x402): clarify the payment signature is reusable until balance runs out (#2618)
## Context
The x402 page doesn't state that the signed `PAYMENT-SIGNATURE` can be
reused across calls. A reader following the direct-API steps may assume
each call needs a fresh signature and a new on-chain settlement.
## Solution
- Add a `:::note` in the direct-API section: the same
`PAYMENT-SIGNATURE` stays valid while the prepaid balance lasts; resend
it on every call with no re-signing or new settlement, and only sign
again when the API returns `402` (balance exhausted) — the manual
equivalent of what `mcpc` does automatically on the MCP path.
- Tighten the prepaid-balance bullet to say subsequent calls reuse the
same signature.1 parent 48e3a8c commit 5db51ea
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
120 | | - | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments