Skip to content

docs(x402): clarify the payment signature is reusable until balance runs out#2618

Open
MQ37 wants to merge 1 commit into
masterfrom
docs/x402-reuse-signature
Open

docs(x402): clarify the payment signature is reusable until balance runs out#2618
MQ37 wants to merge 1 commit into
masterfrom
docs/x402-reuse-signature

Conversation

@MQ37
Copy link
Copy Markdown
Contributor

@MQ37 MQ37 commented Jun 4, 2026

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.

@MQ37 MQ37 requested a review from marcel-rbro as a code owner June 4, 2026 13:36
@github-actions github-actions Bot added the t-ai Issues owned by the AI team. label Jun 4, 2026
@apify-service-account
Copy link
Copy Markdown
Contributor

apify-service-account commented Jun 4, 2026

✅ Preview for this PR (commit 93b8974) is ready at https://pr-2618.preview.docs.apify.com (see action run).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants