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:
Jesus Christ 2024-11-27 15:24:51 +00:00 committed by GitHub
parent 06dc14c9c1
commit f1253c9746
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

8
47.md
View File

@ -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