mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-12 08:32:09 -05:00
Update changes for pay_invoice, multi_pay_invoice, multi_pay_keysend
pay_invoice: Request description grammar error multi_pay_invoice: Request description grammar error multi_pay_keysend: Response description grammar error
This commit is contained in:
parent
06dc14c9c1
commit
f1253c9746
8
47.md
8
47.md
|
@ -128,7 +128,7 @@ nostr+walletconnect://b889ff5b1513b641e2a139f661a661364979c5beee91842f8f0ef42ab5
|
||||||
|
|
||||||
### `pay_invoice`
|
### `pay_invoice`
|
||||||
|
|
||||||
Description: Requests payment of an invoice.
|
Description: Requests payment for an invoice.
|
||||||
|
|
||||||
Request:
|
Request:
|
||||||
```jsonc
|
```jsonc
|
||||||
|
@ -157,7 +157,7 @@ Errors:
|
||||||
|
|
||||||
### `multi_pay_invoice`
|
### `multi_pay_invoice`
|
||||||
|
|
||||||
Description: Requests payment of multiple invoices.
|
Description: Requests payment for multiple invoices.
|
||||||
|
|
||||||
Request:
|
Request:
|
||||||
```jsonc
|
```jsonc
|
||||||
|
@ -175,7 +175,7 @@ Request:
|
||||||
Response:
|
Response:
|
||||||
|
|
||||||
For every invoice in the request, a separate response event is sent. To differentiate between the responses, each
|
For every invoice in the request, a separate response event is sent. To differentiate between the responses, each
|
||||||
response event contains a `d` tag with the id of the invoice it is responding to, if no id was given, then the
|
response event contains an `d` tag with the id of the invoice it is responding to, if no id was given, then the
|
||||||
payment hash of the invoice should be used.
|
payment hash of the invoice should be used.
|
||||||
|
|
||||||
```jsonc
|
```jsonc
|
||||||
|
@ -247,7 +247,7 @@ Request:
|
||||||
Response:
|
Response:
|
||||||
|
|
||||||
For every keysend in the request, a separate response event is sent. To differentiate between the responses, each
|
For every keysend in the request, a separate response event is sent. To differentiate between the responses, each
|
||||||
response event contains an `d` tag with the id of the keysend it is responding to, if no id was given, then the
|
response event contains a `d` tag with the id of the keysend it is responding to, if no id was given, then the
|
||||||
pubkey should be used.
|
pubkey should be used.
|
||||||
|
|
||||||
```jsonc
|
```jsonc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user