x402 SIWX — manual test
Click a button to open the drop-in modal. When the endpoint advertises the
sign-in-with-x extension, the modal offers "Sign in with wallet"
as the primary action — the wallet signs a CAIP-122 message, the modal
retries the endpoint with a SIGN-IN-WITH-X header, and the
endpoint returns 200 without charging. Without the extension, the modal
runs the normal pay-with-USDC flow.
Event log
(no events yet — click a button above)
What to look for. First click on a paid endpoint runs the
x402:result event (pay flow). After paying once with a given
wallet, reload the page and click again — if the endpoint opts into SIWX,
the modal shows "Sign in with wallet". Approving the signature fires
x402:siwx-signed first, then x402:result, and the
network tab shows the request hitting the endpoint with a
SIGN-IN-WITH-X header (no X-PAYMENT).