upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-11-23 15:30:42 +0000
committerPablo Fernandez <p@f7z.io>2023-11-23 15:30:42 +0000
commit470d656f984417e9068c12d88d662e44cf464cdf (patch)
tree186ee202c42d0d8b32d1d77bfded5a6bcb6d4111
parentc2278d4fcce6e4ff88ea0aa5ca37b51fe635c89e (diff)
start a verifying payment section
-rw-r--r--88.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/88.md b/88.md
index 236b786..28bed06 100644
--- a/88.md
+++ b/88.md
@@ -75,5 +75,13 @@ Clients supporting this NIP can check for zaps e-tagging the `kind:7001` event t
75 75
76The same `kind:7001` is re-zapped on a regular basis per the cadence specified in the event. 76The same `kind:7001` is re-zapped on a regular basis per the cadence specified in the event.
77 77
78## Verifying Payment
79The following conditions must be met to verify a payment:
80
81* Time between zap receipts should be equal or less than the cadence specified in the `kind:7001` event.
82* Amount of the zap receipt should be equal or greater than the amount specified in the `kind:7001` event. For currencies not directly supported by the zap spec, clients should do a best effort conversion to the currency specified in the `kind:7001` event at the time of zap receipt.
83* Zap-receipts should include a zap request `e`-tagging the `kind:7001` event. Zap-receipts might not include a signature (for NWC-automated payments where the subscriber is not present to sign the zap request).
84* Validations specified in [NIP-57](https://github.com/nostr-protocol/nips/blob/master/57.md).
85
78## Stopping a subscription 86## Stopping a subscription
79A user who wants to stop a subscription by publishing a `kind:5` deletion request of the `kind:7001` event. 87A user who wants to stop a subscription by publishing a `kind:5` deletion request of the `kind:7001` event.