Cashu for agents: NUT-24: HTTP 402 Payment Required
YESThe spec that defines the flow: server replies 402 with X-Cashu payment request, client retries with a cashuB token in X-Cashu.
Proof
“HTTP servers may respond with the HTTP status code 402 and an X-Cashu header containing a payment request”
Details
- Verdict
- Yes: the source states it and, where a live endpoint exists, our free unpaid probe agrees.
- Category
- Cashu specification
- Rails
- cashu, x-cashu, nut-24
- Last checked
- 2026-10-18