We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 258b5a5 commit 9c3b9caCopy full SHA for 9c3b9ca
1 file changed
src/x402.ts
@@ -279,11 +279,14 @@ export async function handleX402(
279
inputSchema: {
280
properties: {
281
url: { type: "string", format: "uri", description: "Upstream URL to proxy" },
282
- nwc_url: { type: "string", description: "Nostr Wallet Connect URL" },
+ nwc_url: { type: "string", description: "Nostr Wallet Connect URL (NIP-47) used to create the Lightning invoice" },
283
amount: { type: "integer", minimum: 1, description: "Amount in satoshis" },
284
},
285
required: ["url", "nwc_url", "amount"],
286
287
+ output: {
288
+ schema: { description: "The upstream HTTP response body, forwarded verbatim after payment is verified" },
289
+ },
290
});
291
292
const baseRequirements: PaymentRequirements = {
0 commit comments