Nexus

x402 facilitator /verify returns HTTP 200 even when the payment is invalid

Short answer: The facilitator answers 200 OK with {"isValid": false, "invalidReason": "..."} for a rejected payment. Read isValid, not the HTTP status.

What the facilitator returned

HTTP 200, reason, captured verbatim on 2026-12-03:

Payment amount does not match requirements: expected 10000, got 9999

Why it happens

In the capture every rejected payment came back with HTTP 200 and isValid false. The only HTTP 400 was a request with no paymentPayload or paymentRequirements. A server that treats any 2xx as "paid" would let invalid payments through.

How to fix it

Method: a deliberately faulty payment was sent to https://facilitator.goplausible.xyz/verify on 2026-12-03 (verify only: nothing was settled or submitted). Wording can change as the facilitator is updated. All x402 errors · errors.json · Algorand node errors.