Global
1 reply
⚙️
Login
jb55's avatar
jb55 _@jb55.com 8 months ago
can the payment request be static or is it always interactive?
↑ Parent
Login to reply

Replies (1)

Egge's avatar
Egge egge@npub.cash 8 months ago
It can be static. Here is the base spec:
GitHub
nuts/18.md at main · cashubtc/nuts
Cashu protocol specifications https://cashubtc.github.io/nuts/ - cashubtc/nuts
Here is the PR that extends NUT-18 for HTTP402 and defines the protocol:
GitHub
NUT-24: HTTP Payment required by hzrd149 · Pull Request #239 · cashubtc/nuts
This PR adds NUT-24 that describes how the HTTP 402 status code + an X-Cashu header can be used to require payment for http resources readable vers...

Generated: 22:26:48 · Zero-JS Hypermedia Browser

↑