mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Typos
This commit is contained in:
parent
54e8b3cf20
commit
5c5165c21b
10
88.md
10
88.md
|
@ -6,21 +6,21 @@ PAY Request
|
|||
|
||||
`draft` `optional`
|
||||
|
||||
At any point, the relay can send a `PAY` request to a client with a BOLT 11 invoice, a description of what the user is purchasing by paying the invoice and a url for other options or more information. The Lightning invoice is the id of the request.
|
||||
At any point, the relay can send a `PAY` request to a client with a BOLT 11 invoice, a description of what the user is purchasing by paying the invoice, and a URL for other options or more information. The Lightning invoice is the ID of the request.
|
||||
|
||||
```js
|
||||
[
|
||||
"PAY",
|
||||
"<BOLT 11 Invoice>",
|
||||
"<Description>"
|
||||
"<Description>"
|
||||
"<Url for other plan options>"
|
||||
]
|
||||
```
|
||||
|
||||
Supporting clients SHOULD display a popup or notification to describe the action needed and collect immediate response from the user: `pay` and keep using the relay, `dismiss` and stop using the relay or `more information` by navigating the user to the url. Clients SHOULD expect that the same request might be sent multiple times, if the user dismisses or pays the amount, the client SHOULD ignore following requests with the same invoice.
|
||||
Supporting clients SHOULD display a popup or notification to describe the action needed and collect immediate response from the user: `pay` and keep using the relay, `dismiss` and stop using the relay, or `more information` by navigating the user to the URL. Clients SHOULD expect that the same request might be sent multiple times, if the user dismisses or pays the amount, the client SHOULD ignore following requests with the same invoice.
|
||||
|
||||
Supporting relays SHOULD make sure the lightning invoice is the same for similar payment requests and minimize the number of times this request is sent to avoid annoying users with poorly-implemented clients.
|
||||
Supporting relays SHOULD make sure the lightning invoice is the same for similar payment requests and minimize the number of times this request is sent to avoid annoying users with multiple popups.
|
||||
|
||||
### Motivation
|
||||
|
||||
Paid relays often run into friction when renewing subscriptions or when upselling users to the next plan they have available. The API described here allows clie
|
||||
Paid relays often run into friction when renewing subscriptions or when upselling users to the next plan they have
|
Loading…
Reference in New Issue
Block a user